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/locations/form.html | 40 ++++++++++++++++++++++++++++++ servo/templates/admin/locations/index.html | 6 +++++ 2 files changed, 46 insertions(+) create mode 100644 servo/templates/admin/locations/form.html create mode 100644 servo/templates/admin/locations/index.html (limited to 'servo/templates/admin/locations') diff --git a/servo/templates/admin/locations/form.html b/servo/templates/admin/locations/form.html new file mode 100644 index 0000000..777c9ab --- /dev/null +++ b/servo/templates/admin/locations/form.html @@ -0,0 +1,40 @@ +{% extends "admin/locations/index.html" %} +{% load i18n %} + +{% block third_column %} + + +
+ {% csrf_token %} +
+
+ {% include "form_field_snippet.html" with field=form.title %} + {% include "form_field_snippet.html" with field=form.email %} + {% include "form_field_snippet.html" with field=form.phone %} + {% include "form_field_snippet.html" with field=form.address %} + {% include "form_field_snippet.html" with field=form.zip_code %} + {% include "form_field_snippet.html" with field=form.city %} + {% include "form_field_snippet.html" with field=form.timezone %} + {% include "form_field_snippet.html" with field=form.notes %} + {% include "form_field_snippet.html" with field=form.logo %} + {% include "form_field_snippet.html" with field=form.enabled %} +
+
+ {% include "form_field_snippet.html" with field=form.gsx_shipto %} + {% include "form_field_snippet.html" with field=form.gsx_accounts %} + {% include "form_field_snippet.html" with field=form.gsx_tz %} +
+
+
+ {% if location.pk %} + {% trans "Delete" %} + {% else %} + {% trans "Delete" %} + {% endif %} + +
+
+{% endblock third_column %} diff --git a/servo/templates/admin/locations/index.html b/servo/templates/admin/locations/index.html new file mode 100644 index 0000000..92fe940 --- /dev/null +++ b/servo/templates/admin/locations/index.html @@ -0,0 +1,6 @@ +{% extends "generic/admin_list.html" %} +{% load i18n %} + +{% block toolbar %} + {% trans "New Location" %} +{% endblock toolbar %} -- cgit v1.2.3