annotate default/ticket/create.html @ 56:ea67eba3199d

ticket: first draft: those templates are the first implementations to: - show a list of tickets - create a new ticket - display a ticket an its comments
author Goffi <goffi@goffi.org>
date Sun, 05 Nov 2017 22:04:34 +0100
parents
children 232eb1b4cd89
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
56
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% extends 'base/base.html' %}
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
2 {% import 'input/form.html' as form with context %}
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
3 {% import 'input/field.html' as field with context %}
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
4 {% import 'input/xmlui.html' as xmlui with context %}
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
5
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
6 {% block body %}
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
7 <div class='instructions'>
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
8 <p><span class="box">{% trans app_name=C.APP_NAME%}This page allows you to report an issue or ask/suggest a new feature for {{app_name}}{% endtrans %}</span></p>
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
9 </div>
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
10 <div class="create single ticket box">
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
11 {% call form.form() %}
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
12 {{ xmlui.generate(new_ticket_xmlui) }}
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
13 {{ field.submit(_("Create ticket")) }}
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
14 {% endcall %}
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
15 </div>
ea67eba3199d ticket: first draft:
Goffi <goffi@goffi.org>
parents:
diff changeset
16 {% endblock body %}