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/rules/form.html | 142 ++++++++++++++++++++++++++++++++++ servo/templates/rules/list.html | 6 ++ servo/templates/rules/list_rules.html | 22 ++++++ 3 files changed, 170 insertions(+) create mode 100644 servo/templates/rules/form.html create mode 100644 servo/templates/rules/list.html create mode 100644 servo/templates/rules/list_rules.html (limited to 'servo/templates/rules') diff --git a/servo/templates/rules/form.html b/servo/templates/rules/form.html new file mode 100644 index 0000000..ac7a35c --- /dev/null +++ b/servo/templates/rules/form.html @@ -0,0 +1,142 @@ +{% extends "rules/list_rules.html" %} +{% load bootstrap3 %} +{% load static %} +{% load i18n %} + +{% block third_column %} +
+
+ {% csrf_token %} +
+ +
+
+ If of the conditions are met: + + + + + + + + +
+
+ +
+
+
+ + + + + + +
+
+ +
+
+
+ {% trans "Peform the following actions" %}: + + + + + + + + +
+
+ +
+
+ + + + + + + + +
+
+
+ {% buttons %} +
+ {% if rule.pk %} + {% trans "Delete" %} + {% else %} + {% trans "Delete" %} + {% endif %} + {% trans "Cancel" %} + +
+
+
+ {% endbuttons %} +{% endblock third_column %} + +{% block media %} + + + +{% endblock media %} diff --git a/servo/templates/rules/list.html b/servo/templates/rules/list.html new file mode 100644 index 0000000..3e9ea9e --- /dev/null +++ b/servo/templates/rules/list.html @@ -0,0 +1,6 @@ +{% extends "admin/index.html" %} +{% load i18n %} + +{% block toolbar %} + {% trans "New Rule" %} +{% endblock toolbar %} diff --git a/servo/templates/rules/list_rules.html b/servo/templates/rules/list_rules.html new file mode 100644 index 0000000..9aef78e --- /dev/null +++ b/servo/templates/rules/list_rules.html @@ -0,0 +1,22 @@ +{% extends "admin/index.html" %} +{% load servo_tags %} +{% load i18n %} + +{% block toolbar %} + {% trans "New Rule" %} +{% endblock toolbar %} + +{% block second_column %} +
+ +
+
+ {% block third_column %} + {% endblock third_column %} +
+{% endblock second_column %} -- cgit v1.2.3