Mercurial > libervia-templates
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/default/ticket/create.html Sun Nov 05 22:04:34 2017 +0100 @@ -0,0 +1,16 @@ +{% extends 'base/base.html' %} +{% import 'input/form.html' as form with context %} +{% import 'input/field.html' as field with context %} +{% import 'input/xmlui.html' as xmlui with context %} + +{% block body %} +<div class='instructions'> + <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> +</div> +<div class="create single ticket box"> +{% call form.form() %} + {{ xmlui.generate(new_ticket_xmlui) }} + {{ field.submit(_("Create ticket")) }} +{% endcall %} +</div> +{% endblock body %}