Пример #1
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        HTMLMixin.__init__(self, 'Suspended file transfers',
                           'transfers/held.html')

        self.stylesheets = ['/css/transfers/held.css']
        self.scripts = ['/js/utils.js', '/js/transfers/held.js']
Пример #2
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        HTMLMixin.__init__(self, 'Current file transfers',
                           'transfers/monitor.html')

        self.stylesheets = ['/css/transfers/monitor.css']
        self.scripts = ['/js/utils.js', '/js/transfers/monitor.js']
Пример #3
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        HTMLMixin.__init__(self, 'Current file transfers', 'transfers/monitor_static.html')

        self.stylesheets = ['/css/transfers/monitor.css']

        # Instantiate the JSON producer
        self.current = CurrentFileTransfers(config)
Пример #4
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        HTMLMixin.__init__(self, 'Transfer Activity', 'transfers/activity.html')

        self.stylesheets = ['/css/transfers/monitor.css']
        self.scripts = ['/js/plotly-jan2018.min.js',
                        '/js/utils.js',
                        '/js/transfers/activity.js']
Пример #5
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        HTMLMixin.__init__(self, 'Historic file transfers (only 100)', 'transfers/history_list.html')

        self.stylesheets = ['/css/transfers/monitor.css']

        # Instantiate the JSON producer
        self.history = FileTransferHistory(config)
Пример #6
0
    def __init__(self, config):
        WebModule.__init__(self, config) 
        HTMLMixin.__init__(self, 'Dynamo inventory statistics', 'inventory/stats.html')

        self.stylesheets = ['/css/inventory/stats.css']
        self.scripts = ['/js/utils.js', '/js/inventory/stats.js']

        self.default_constraints = config.inventory.stats.default_constraints
Пример #7
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        HTMLMixin.__init__(self, 'Current file transfers',
                           'transfers/monitor_static.html')

        self.stylesheets = ['/css/transfers/monitor.css']

        # Instantiate the JSON producer
        self.current = CurrentFileTransfers(config)
Пример #8
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        HTMLMixin.__init__(self, 'Historic file transfers (only 100)',
                           'transfers/history_list.html')

        self.stylesheets = ['/css/transfers/monitor.css']

        # Instantiate the JSON producer
        self.history = FileTransferHistory(config)
Пример #9
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        HTMLMixin.__init__(self, 'Dynamo inventory statistics',
                           'inventory/stats.html')

        self.stylesheets = ['/css/inventory/stats.css']
        self.scripts = ['/js/utils.js', '/js/inventory/stats.js']

        self.default_constraints = config.inventory.stats.default_constraints
Пример #10
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        HTMLMixin.__init__(self, 'Deletion Activity',
                           'deletions/activity.html')

        self.stylesheets = ['/css/deletions/monitor.css']
        self.scripts = [
            '/js/plotly-jan2018.min.js', '/js/utils.js',
            '/js/deletions/activity.js'
        ]
Пример #11
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        HTMLMixin.__init__(self, 'Current file transfers',
                           'transfers/queue.html')

        self.stylesheets = ['/css/transfers/monitor.css']
        self.scripts = [
            '/js/utils.js', '/js/transfers/queue.js',
            '/js/plotly-jan2018.min.js'
        ]
        self.header_script = '$(document).ready(function() { initPage(); });'
Пример #12
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        HTMLMixin.__init__(self, 'Detox deletion results', 'detox/monitor.html')

        self.history = HistoryDatabase()

        self.stylesheets = ['/css/detox/monitor.css']
        self.scripts = ['/js/utils.js', '/js/detox/monitor.js']
        
        with open(HTMLMixin.contents_path + '/html/detox/monitor_titleblock.html') as source:
            self.titleblock = source.read()

        self.default_partition = config.detox.default_partition
        self.test_cycle = False
Пример #13
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        HTMLMixin.__init__(self, 'Detox deletion results',
                           'detox/monitor.html')

        self.history = HistoryDatabase()

        self.stylesheets = ['/css/detox/monitor.css']
        self.scripts = ['/js/utils.js', '/js/detox/monitor.js']

        with open(HTMLMixin.contents_path +
                  '/html/detox/monitor_titleblock.html') as source:
            self.titleblock = source.read()

        self.default_partition = config.detox.default_partition
        self.test_cycle = False
Пример #14
0
 def __init__(self, config):
     WebModule.__init__(self, config) 
     HTMLMixin.__init__(self, 'Dynamo Detox locks API', 'detox/locks_help.html')
Пример #15
0
 def __init__(self, config):
     WebModule.__init__(self, config) 
     HTMLMixin.__init__(self, 'Dynamo application locks API', 'applock/help.html')
Пример #16
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        HTMLMixin.__init__(self, 'Suspended file transfers', 'transfers/held.html')

        self.stylesheets = ['/css/transfers/held.css']
        self.scripts = ['/js/utils.js', '/js/transfers/held.js']
Пример #17
0
    def __init__(self, config):
        WebModule.__init__(self, config)
        HTMLMixin.__init__(self, 'Current file transfers', 'transfers/monitor.html')

        self.stylesheets = ['/css/transfers/monitor.css']
        self.scripts = ['/js/utils.js', '/js/transfers/monitor.js']
Пример #18
0
 def __init__(self, config):
     WebModule.__init__(self, config)
     HTMLMixin.__init__(self, 'Dynamo Detox locks API',
                        'detox/locks_help.html')