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/products/index.html | 104 ++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100755 servo/templates/products/index.html (limited to 'servo/templates/products/index.html') diff --git a/servo/templates/products/index.html b/servo/templates/products/index.html new file mode 100755 index 0000000..fefcecd --- /dev/null +++ b/servo/templates/products/index.html @@ -0,0 +1,104 @@ +{% extends "default.html" %} +{% load i18n %} +{% load mptt_tags %} +{% load servo_tags %} + +{% block toolbar %} +
+ {% if perms.servo.add_product %} + {% trans "New Product" %} + + + {% endif %} +
+
+ + + + +
+{% endblock toolbar %} + +{% block content %} +
+
+ +
+
+{% include "products/tabs.html" %} +
+ {% block second_column %} +
+ +
+
+
+
+ {% csrf_token %} + {% for field in form %} +
+ +
{{ field }}
+
+ {% endfor %} +


+
+ +
+
+
+ {% include "products/list.html" %} + {% include "pagination.html" with items=products %} +
+ {% endblock second_column %} + + {% block third_column %} + + {% endblock third_column %} +
+{% endblock content %} + +{% block crumbs %} +
  • {% trans "Products" %}
  • +{% block breadcrumb %} +
  • /{{ group_name }}
  • +{% endblock breadcrumb %} +{% endblock crumbs %} -- cgit v1.2.3