<%! from crab import CrabEvent, CrabStatus from crab.util.web import abbr %> <%inherit file="base.html"/> <%block name="links"> ${info['host'] | h} ${info['user'] | h} % if info['jobid'] is not None: ${info['jobid'] | h} % else: ${info['command'] | abbr} % endif

Job Information

% if info["jobid"] != None: % endif % if info["time"] != None: % else: % endif % if info["timezone"] != None: % endif % if info["installed"] != None: % endif % if info["deleted"] != None: % endif % if config is not None: % if config['graceperiod'] is not None: % endif % if config['timeout'] is not None: % endif % endif % if notification is not None and len(notification): % endif
Job ID ${info["jobid"] | h}
Command ${info["command"] | h}
Schedule${info["time"] | h}Unknown
Time zone ${info["timezone"] | h}
Installed ${info["installed"] | h}
Deleted ${info["deleted"] | h}
Grace period ${config["graceperiod"] | h} minutes
Time-out ${config["timeout"] | h} minutes
Notifications ${len(notification)} explicit % if len(notification) == 1: notification % else: notifications % endif

Edit configuration. Edit notifications.

Job History

% for event in events: % if event["type"] == 1: % elif event["type"] == 2: % elif event["type"] == 3: % else: % endif % if event["status"] is None: % else: <% if CrabStatus.is_ok(event['status']): cell_class = 'status_ok' elif CrabStatus.is_warning(event['status']): cell_class = 'status_warn' elif CrabStatus.is_error(event['status']): cell_class = 'status_fail' else: cell_class = 'status_warn' if event['type'] == CrabEvent.FINISH: cell_link = '/job/' + str(id) + '/output/' + str(event['eventid']) else: cell_link = None cell_text = CrabStatus.get_name(event['status']) %> % if cell_link is None: % else: % endif % endif % if event["command"] is not None: % else: % endif % if event.get('duration') is None: % else: % endif % endfor
Status Date and Time Command Duration
${CrabEvent.get_name(event['type']) | h}${cell_text | h} ${cell_text | h} ${event["datetime"] | h}${event["command"] | h}  ${event['duration'] | h}