From 63b0fc6269b38edf7234b9f151b80d81f614c0a3 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 4 Aug 2015 10:11:24 +0300 Subject: Initial commit First public commit --- servo/templates/devices/find.html | 66 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100755 servo/templates/devices/find.html (limited to 'servo/templates/devices/find.html') diff --git a/servo/templates/devices/find.html b/servo/templates/devices/find.html new file mode 100755 index 0000000..1f8e291 --- /dev/null +++ b/servo/templates/devices/find.html @@ -0,0 +1,66 @@ +{% extends "devices/index.html" %} +{% load i18n %} + +{% block content %} + + + +
+ {% csrf_token %} + {% for field in form %} +
+ +
{{ field }}
+
+ {% endfor %} +

+


+ +

+
+ + + + + + + + + + + {% for i in devices %} + + + + + + + + {% empty %} + + {% endfor %} + +
{% trans "Serial Number" %}{% trans "Description" %}{% trans "Created" %}{% trans "Warranty Status" %}
{{ i.sn|safe }}{{ i.description }}{{ i.created_at|date:"SHORT_DATE_FORMAT" }}{{ i.get_warranty_status_display }} + +
{% trans "No search results" %}
+{% include "pagination.html" with items=devices %} +{% endblock content %} -- cgit v1.2.3