From 8782fbe4766dc57e517eec622879d672d6d68378 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Tue, 19 Nov 2013 16:44:56 +0200 Subject: switch --- templates/issues/customer.html | 13 +++++++++++++ templates/issues/device.html | 7 +++++++ templates/issues/index.html | 6 +++--- templates/issues/thanks.html | 0 templates/issues/warranty.html | 28 ++++++++++++++++++++++++++++ templates/issues/welcome.html | 15 +++++++++++++++ 6 files changed, 66 insertions(+), 3 deletions(-) create mode 100644 templates/issues/customer.html create mode 100644 templates/issues/device.html create mode 100644 templates/issues/thanks.html create mode 100644 templates/issues/warranty.html create mode 100644 templates/issues/welcome.html (limited to 'templates/issues') diff --git a/templates/issues/customer.html b/templates/issues/customer.html new file mode 100644 index 0000000..a47ba32 --- /dev/null +++ b/templates/issues/customer.html @@ -0,0 +1,13 @@ +{% extends "issues/index.html" %} +{% load bootstrap3 %} +{% load i18n %} + +{% block main %} +
+ {% csrf_token %} + {% bootstrap_form form %} + {% buttons %} + + {% endbuttons %} +
+{% endblock main %} diff --git a/templates/issues/device.html b/templates/issues/device.html new file mode 100644 index 0000000..def5b8b --- /dev/null +++ b/templates/issues/device.html @@ -0,0 +1,7 @@ +{% extends "issues/index.html" %} + +{% block main %} + {% for k, v in models.items %} + {{ v.name }} + {% endfor %} +{% endblock main %} diff --git a/templates/issues/index.html b/templates/issues/index.html index 15b341f..70a84e7 100644 --- a/templates/issues/index.html +++ b/templates/issues/index.html @@ -14,11 +14,11 @@ - +
{% block main %} -

{{ question }}

- {% for i in choices %} +

{{ question.question }}

+ {% for i in question.choice_set.all %} {{ i.choice }} {% endfor %}
{{ dump }}
diff --git a/templates/issues/thanks.html b/templates/issues/thanks.html new file mode 100644 index 0000000..e69de29 diff --git a/templates/issues/warranty.html b/templates/issues/warranty.html new file mode 100644 index 0000000..b944ea5 --- /dev/null +++ b/templates/issues/warranty.html @@ -0,0 +1,28 @@ +{% extends "issues/index.html" %} +{% load i18n %} + +{% block main %} +
+
+ iMac (27-inch, Mid 2011) +
+
+

iMac (27-inch, Mid 2011)

+
+
{% trans "Warranty" %}
+
Out Of Warranty (No Coverage)
+
{% trans "Purchased" %}
+
2.6.2011, Sweden
+
{% trans "Serial Number" %}
+
DGKFL06JDHJP
+
{% trans "Configuration" %}
+
IMAC 27"/2.7QC/2X2GB/1TB/6770M
+
+
+
+ +{% endblock main %} diff --git a/templates/issues/welcome.html b/templates/issues/welcome.html new file mode 100644 index 0000000..38c0dcd --- /dev/null +++ b/templates/issues/welcome.html @@ -0,0 +1,15 @@ +{% extends "issues/index.html" %} +{% load i18n %} + +{% block main %} +
+ {% csrf_token %} +
+ + +
+ +
+{% endblock main %} -- cgit v1.2.3