diff options
Diffstat (limited to 'deprecated/automation/server/monitor/templates')
9 files changed, 0 insertions, 252 deletions
diff --git a/deprecated/automation/server/monitor/templates/base.html b/deprecated/automation/server/monitor/templates/base.html deleted file mode 100644 index 95ffc222..00000000 --- a/deprecated/automation/server/monitor/templates/base.html +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" -"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> - <head> - <link rel="stylesheet" href="/static/style.css" /> - <title>{% block title %}Automation Dashboard{% endblock %}</title> - </head> - - <body> - <div class="header"> - {% block header %} - <p class="title">Automation Dashboard</p> - {% endblock %} - </div> - - <div class="links"> - <span>Subpages:</span> - {% block links %} - {% for link in links %} - <a class="button" href="{{ link.href }}">{{ link.name }}</a> - {% endfor %} - {% endblock %} - </div> - - <div class="content"> - {% block content %} - {% endblock %} - </div> - </body> -</html> diff --git a/deprecated/automation/server/monitor/templates/job.html b/deprecated/automation/server/monitor/templates/job.html deleted file mode 100644 index 90acd969..00000000 --- a/deprecated/automation/server/monitor/templates/job.html +++ /dev/null @@ -1,29 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -<h1 class="title">Job {{ job_id }}</h1> - -<h2 class="title">General information</h2> -{% include "snippet_attribute_table.html" %} - -<h2 class="title">Timeline of status events</h2> -<table class="list"> - <tbody> - <tr> - <th>Started</th> - <th>From State</th> - <th>To State</th> - <th>Elapsed</th> - </tr> - {% for entry in timeline %} - <tr> - <td>{{ entry.started }}</td> - <td>{{ entry.state_from }}</td> - <td>{{ entry.state_to }}</td> - <td>{{ entry.elapsed }}</td> - </tr> - {% endfor %} - </tbody> -</table> - -{% endblock %} diff --git a/deprecated/automation/server/monitor/templates/job_group.html b/deprecated/automation/server/monitor/templates/job_group.html deleted file mode 100644 index b6ed8ea8..00000000 --- a/deprecated/automation/server/monitor/templates/job_group.html +++ /dev/null @@ -1,46 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -<h1 class="title">Job Group {{ group_id }}</h1> - -<h2 class="title">General information</h2> -{% include "snippet_attribute_table.html" %} - -<h2 class="title">Job Listing</h2> -<table class="list"> - <tbody> - <tr> - <th>Job ID</th> - <th>Label</th> - <th>Turnaround Time</th> - <th>State</th> - </tr> - {% for job in job_list %} - <tr> - <td> - <a class="button column" href="/job/{{ job.id }}">{{ job.id }}</a> - </td> - <td>{{ job.label }}</td> - <td>{{ job.elapsed }}</td> - {% if job.status %} - <td class="{{ job.status }}">{{ job.state }}</td> - {% else %} - <td>{{ job.state }}</td> - {% endif %} - </tr> - {% endfor %} - </tbody> -</table> - -<h2 class="title">Report</h2> -{% if reports %} -{% autoescape off %} -{% for report in reports %} -{{ report }} -{% endfor %} -{% endautoescape %} -{% else %} -<div class="warning">No reports found!</div> -{% endif %} - -{% endblock %} diff --git a/deprecated/automation/server/monitor/templates/job_group_list.html b/deprecated/automation/server/monitor/templates/job_group_list.html deleted file mode 100644 index b82fa730..00000000 --- a/deprecated/automation/server/monitor/templates/job_group_list.html +++ /dev/null @@ -1,35 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -<p class="title">Job Groups</p> - -<form action="/job-group" method="post"> -{{ filter.as_p }} -<p><input type="submit" value="Filter!" /></p> -</form> - -<table class="list"> - <tbody> - <tr> - <th>Group ID</th> - <th>Label</th> - <th>Time Submitted</th> - <th>Status</th> - </tr> - {% for group in groups %} - <tr> - <td> - <a class="button column" href="/job-group/{{ group.id }}">{{ group.id }}</a> - </td> - <td>{{ group.label }}</td> - <td>{{ group.submitted }}</td> - {% if group.status %} - <td class="{{ group.status }}">{{ group.state }}</td> - {% else %} - <td>{{ group.state }}</td> - {% endif %} - </tr> - {% endfor %} - </tbody> -</table> -{% endblock %} diff --git a/deprecated/automation/server/monitor/templates/job_log.html b/deprecated/automation/server/monitor/templates/job_log.html deleted file mode 100644 index 937b21b0..00000000 --- a/deprecated/automation/server/monitor/templates/job_log.html +++ /dev/null @@ -1,20 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -<h1 class="title">Job {{ job_id }}</h1> - -<h2 class="title">Command output:</h2> - -<table class="raw"> -<tbody> -{% for datetime, stream, line in log_lines %} -<tr class="{% cycle 'line1' 'line2' %}"> - <td>{{ datetime }}</td> - <td>{{ stream }}</td> - <td><pre class="code">{{ line|wordwrap:80 }}</pre></td> -</tr> -{% endfor %} -</tbody> -</table> - -{% endblock %} diff --git a/deprecated/automation/server/monitor/templates/machine_list.html b/deprecated/automation/server/monitor/templates/machine_list.html deleted file mode 100644 index f81422d3..00000000 --- a/deprecated/automation/server/monitor/templates/machine_list.html +++ /dev/null @@ -1,39 +0,0 @@ -{% extends "base.html" %} - -{% block content %} -<p class="title">Machines</p> - -<table class="list"> -<tbody> -<tr> - <th>Hostname</th> - <th>Label</th> - <th>CPU</th> - <th>Cores</th> - <th>Operating System</th> - <th>Jobs Running</th> - <th>Locked</th> -</tr> -{% for machine in machines %} -<tr> - <td> - <a class="button column" href="/machine/{{ machine.hostname }}"> - {{ machine.hostname }} - </a> - </td> - <td>{{ machine.label }}</td> - <td>{{ machine.cpu }}</td> - <td>{{ machine.cores }}</td> - <td>{{ machine.os }}</td> - <td>{{ machine.uses }}</td> - {% if machine.locked %} - <td class="failure">Yes</td> - {% else %} - <td class="success">No</td> - {% endif %} -</tr> -{% endfor %} -</tbody> -</table> - -{% endblock %} diff --git a/deprecated/automation/server/monitor/templates/snippet_attribute_table.html b/deprecated/automation/server/monitor/templates/snippet_attribute_table.html deleted file mode 100644 index 24bacc17..00000000 --- a/deprecated/automation/server/monitor/templates/snippet_attribute_table.html +++ /dev/null @@ -1,36 +0,0 @@ -<table class="list attributes"> - <tbody> - <tr> - <th>Attribute</th> - <th>Value</th> - </tr> - {% for name, value in attributes.text %} - <tr> - <td>{{ name }}</td> - <td>{{ value }}</td> - </tr> - {% endfor %} - - {% for name, links in attributes.link %} - <tr> - <td>{{ name }}</td> - <td> - {% if links %} - {% for link in links %} - <a class="button small" href="{{ link.href }}">{{ link.name }}</a> - {% endfor %} - {% else %} - None - {% endif %} - </td> - </tr> - {% endfor %} - - {% for name, code in attributes.code %} - <tr> - <td>{{ name }}</td> - <td>{% include "snippet_code.html" %}</td> - </tr> - {% endfor %} - </tbody> -</table> diff --git a/deprecated/automation/server/monitor/templates/snippet_code.html b/deprecated/automation/server/monitor/templates/snippet_code.html deleted file mode 100644 index 281754d6..00000000 --- a/deprecated/automation/server/monitor/templates/snippet_code.html +++ /dev/null @@ -1,10 +0,0 @@ -<table class="raw"> -<tbody> -{% for num, line in code %} -<tr class="{% cycle 'line1' 'line2' %}"> - <td>{{ num }}</td> - <td><pre class="code">{{ line|wordwrap:120 }}</pre></td> -</tr> -{% endfor %} -</tbody> -</table> diff --git a/deprecated/automation/server/monitor/templates/snippet_links.html b/deprecated/automation/server/monitor/templates/snippet_links.html deleted file mode 100644 index f19fa6e5..00000000 --- a/deprecated/automation/server/monitor/templates/snippet_links.html +++ /dev/null @@ -1,7 +0,0 @@ -{% if param %} -{% for link in param %} -<a class="button small" href="{{ link.href }}">{{ link.name }}</a> -{% endfor %} -{% else %} -None -{% endif %} |