%! 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 %block>
Job ID | ${info["jobid"] | h} | |
---|---|---|
Command | ${info["command"] | h} | |
Schedule | % if info["time"] != None:${info["time"] | h} | % else:Unknown | % endif
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.
Status | Date and Time | Command | Duration | ||||
---|---|---|---|---|---|---|---|
${CrabEvent.get_name(event['type']) | h} | % 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:${cell_text | h} | % else:${cell_text | h} | % endif % endif${event["datetime"] | h} | % if event["command"] is not None:${event["command"] | h} | % else:% endif % if event.get('duration') is None: | % else: | ${event['duration'] | h} | % endif