ATLAS Offline Software
InnerDetector
InDetExample
InDetBeamSpotExample
www
FileBrowser.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
2
3
"""
4
ATLAS 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
10
from
BeamSpotWebPage
import
BeamSpotWebPage
11
12
fileBrowser =
"""
13
<iframe src="%s">
14
<p>Your browser does not support iFrames.</p>
15
</iFrame>
16
"""
17
18
19
class
FileBrowser
(
BeamSpotWebPage
):
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)
FileBrowser.FileBrowser.content
def content(self, **args)
Definition:
FileBrowser.py:26
FileBrowser.FileBrowser.baseUrl
baseUrl
Definition:
FileBrowser.py:24
FileBrowser.FileBrowser.__init__
def __init__(self, baseUrl)
Definition:
FileBrowser.py:21
FileBrowser.FileBrowser
Definition:
FileBrowser.py:19
WebPage.WebPage.pageConfig
pageConfig
Definition:
WebPage.py:273
BeamSpotWebPage.BeamSpotWebPage
Definition:
BeamSpotWebPage.py:47
Generated on Thu Nov 7 2024 21:15:15 for ATLAS Offline Software by
1.8.18