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/admin/queues/form.html | 81 ++++++++++++++++++++++++++++++++ servo/templates/admin/queues/index.html | 6 +++ servo/templates/admin/queues/remove.html | 17 +++++++ 3 files changed, 104 insertions(+) create mode 100644 servo/templates/admin/queues/form.html create mode 100644 servo/templates/admin/queues/index.html create mode 100644 servo/templates/admin/queues/remove.html (limited to 'servo/templates/admin/queues') diff --git a/servo/templates/admin/queues/form.html b/servo/templates/admin/queues/form.html new file mode 100644 index 0000000..119275a --- /dev/null +++ b/servo/templates/admin/queues/form.html @@ -0,0 +1,81 @@ +{% extends "admin/queues/index.html" %} +{% load i18n %} + +{% block third_column %} +
+ {% csrf_token %} + {{ formset.management_form }} + +
+
+ {% include "form_field_snippet.html" with field=form.title %} + {% include "form_field_snippet.html" with field=form.priority %} + {% include "form_field_snippet.html" with field=form.description %} + + {% include "form_field_snippet.html" with field=form.locations %} +
+
+ + + + + + + + + + {% for form in formset %} + + {% for field in form %} + {% if field.is_hidden %} + {{ field }} + {% else %} + + {% endif %} + {% endfor %} + + {% endfor %} + +
{% trans "Status" %}{% trans "Time limits" %}{% trans "Delete" %}
{{ field }}
+ {% trans "Add Status" %} +
+
+ {% include "form_field_snippet.html" with field=form.status_created %} + {% include "form_field_snippet.html" with field=form.status_assigned %} + {% include "form_field_snippet.html" with field=form.status_products_ordered %} + {% include "form_field_snippet.html" with field=form.status_products_received %} + {% include "form_field_snippet.html" with field=form.status_repair_completed %} + {% include "form_field_snippet.html" with field=form.status_dispatched %} + {% include "form_field_snippet.html" with field=form.status_closed %} +
+
+ {% include "form_field_snippet.html" with field=form.gsx_soldto %} +
+
+ {% include "form_field_snippet.html" with field=form.order_template %} + {% include "form_field_snippet.html" with field=form.quote_template %} + {% include "form_field_snippet.html" with field=form.receipt_template %} + {% include "form_field_snippet.html" with field=form.dispatch_template %} +
+
+ {% include "form_field_snippet.html" with field=form.users %} +
+
+ {% include "form_buttons.html" %} +
+{% endblock third_column %} + +{% block media %} + +{% endblock media %} diff --git a/servo/templates/admin/queues/index.html b/servo/templates/admin/queues/index.html new file mode 100644 index 0000000..d161dbb --- /dev/null +++ b/servo/templates/admin/queues/index.html @@ -0,0 +1,6 @@ +{% extends "generic/admin_list.html" %} +{% load i18n %} + +{% block toolbar %} + {% trans "New Queue" %} +{% endblock toolbar %} diff --git a/servo/templates/admin/queues/remove.html b/servo/templates/admin/queues/remove.html new file mode 100644 index 0000000..125f89e --- /dev/null +++ b/servo/templates/admin/queues/remove.html @@ -0,0 +1,17 @@ +{% extends "modal.html" %} +{% load i18n %} + +{% block header %} + {% blocktrans with queue.title as title %}Delete queue "{{ title }}"?{% endblocktrans %} +{% endblock header %} + +{% block body %} +

{% trans "Orders in this queue will not be deleted." %}

+{% endblock body %} + +{% block footer %} +
+ {% csrf_token %} + +
+{% endblock footer %} -- cgit v1.2.3