ATLAS Offline Software
Loading...
Searching...
No Matches
FileBrowser.py
Go to the documentation of this file.
1# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
2
3"""
4ATLAS beam spot web page for browsing directories with beam spot job data.
5"""
6
7__author__ = 'Juerg Beringer'
8__version__ = 'FileBrowser.py atlas/athena'
9
10from BeamSpotWebPage import BeamSpotWebPage
11
12fileBrowser = """
13<iframe src="%s">
14<p>Your browser does not support iFrames.</p>
15</iFrame>
16"""
17
18
20
21 def __init__(self,baseUrl):
22 BeamSpotWebPage.__init__(self)
23 self.pageConfig['pageTitle'] = 'ATLAS Beam Spot Job File Browser'
24 self.baseUrl = baseUrl
25
26 def content(self,**args):
27 url=self.baseUrl
28 if 'u' in args:
29 url += '/'+args['u']
30 return fileBrowser % (url)
content(self, **args)
__init__(self, baseUrl)