aboutsummaryrefslogtreecommitdiffstats
path: root/servo/templates
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-10-13 22:43:45 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-10-13 22:43:45 +0300
commite9b0f10c534c10b239301a58f8c00a4effe9adbf (patch)
tree0e5f1c844e204743b906e4c00c21fc5489b985c7 /servo/templates
parent5d5415d29daa990d27913da638a6e2bc30afb4e8 (diff)
downloadServo-e9b0f10c534c10b239301a58f8c00a4effe9adbf.tar.gz
Servo-e9b0f10c534c10b239301a58f8c00a4effe9adbf.tar.bz2
Servo-e9b0f10c534c10b239301a58f8c00a4effe9adbf.zip
AST 2fixes
Diffstat (limited to 'servo/templates')
-rw-r--r--servo/templates/diagnostics/select_test.html13
-rwxr-xr-xservo/templates/orders/devices.html1
2 files changed, 14 insertions, 0 deletions
diff --git a/servo/templates/diagnostics/select_test.html b/servo/templates/diagnostics/select_test.html
new file mode 100644
index 0000000..95618f8
--- /dev/null
+++ b/servo/templates/diagnostics/select_test.html
@@ -0,0 +1,13 @@
+{% extends "modal.html" %}
+{% load i18n %}
+{% block header %}{% trans "Choose test to run" %}{% endblock header %}
+{% block body %}
+ {% if error %}
+ <h2>{{ error }}</h2>
+ {% endif %}
+ <ul class="nav nav-pills nav-stacked">
+ {% for i in tests %}
+ <li><a href="{% url 'devices-run_test' device.pk i.0 %}">{{ i.1 }}</a></li>
+ {% endfor %}
+ </ul>
+{% endblock body %}
diff --git a/servo/templates/orders/devices.html b/servo/templates/orders/devices.html
index 9098cfe..6529735 100755
--- a/servo/templates/orders/devices.html
+++ b/servo/templates/orders/devices.html
@@ -83,6 +83,7 @@
{% endif %}
<li><a href="{% url 'devices-diagnostics' device.pk %}" data-modal="#modal">{% trans "Fetch Diagnostics" %}</a></li>
<li><a href="{% url 'devices-diagnostics' device.pk %}" data-modal="#modal">{% trans "Open Diagnostics Console" %}</a></li>
+ <li><a href="{% url 'devices-select_test' device.pk %}" data-modal="#modal">{% trans "Select Test" %}</a></li>
</ul>
</div>
<div class="btn-group">