summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/isotests/add.html13
-rw-r--r--templates/isotests/iso_list.html18
-rw-r--r--templates/isotests/test_list.html18
3 files changed, 49 insertions, 0 deletions
diff --git a/templates/isotests/add.html b/templates/isotests/add.html
new file mode 100644
index 00000000..07d3ed81
--- /dev/null
+++ b/templates/isotests/add.html
@@ -0,0 +1,13 @@
+{% extends "base.html" %}
+
+{% block title %}Arch Linux - Test Result Entry{% endblock %}
+
+{% block content %}
+<div class="box">
+ <h2>Arch releng iso build test result entry</h2>
+ <form action="" method="post">{% csrf_token %}
+ {{ form.as_p }}
+ <input type="submit" value="Submit" />
+ </form>
+</div>
+{% endblock %}
diff --git a/templates/isotests/iso_list.html b/templates/isotests/iso_list.html
new file mode 100644
index 00000000..f94bbe1a
--- /dev/null
+++ b/templates/isotests/iso_list.html
@@ -0,0 +1,18 @@
+{% extends "base.html" %}
+
+{% block title %}Arch Linux - Testresults{% endblock %}
+
+{% block content %}
+{% if object_list %}
+<div class="box">
+ <h2>Arch releng iso buid test results</h2>
+ <ul>
+ {% for iso in object_list %}
+ <li><a href="/tests/{{ iso.id }}/">{{ iso }}</a></li>
+ {% endfor %}
+ </ul>
+ {% else %}
+ <p>No tests are available.</p>
+ {% endif %}
+</div>
+{% endblock %}
diff --git a/templates/isotests/test_list.html b/templates/isotests/test_list.html
new file mode 100644
index 00000000..1ef39a4c
--- /dev/null
+++ b/templates/isotests/test_list.html
@@ -0,0 +1,18 @@
+{% extends "base.html" %}
+
+{% block title %}Arch Linux - Testresults{% endblock %}
+
+{% block content %}
+<div class="box">
+ <h2>Arch releng iso build test results</h2>
+ {% if object_list %}
+ <ul>
+ {% for test in object_list %}
+ <li><a href="/tests/{{ test.id }}/">{{ test.iso }}</a></li>
+ {% endfor %}
+ </ul>
+ {% else %}
+ <p>No test results are available.</p>
+ {% endif %}
+</div>
+{% endblock %}