diff options
Diffstat (limited to 'servo/templates')
-rw-r--r-- | servo/templates/diagnostics/select_test.html | 13 | ||||
-rwxr-xr-x | servo/templates/orders/devices.html | 1 |
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"> |