Mercurial > libervia-templates
diff default/ticket/discover.html @ 135:24920d436e77
ticket: basic tickets discovery
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 26 Mar 2018 21:30:04 +0200 |
parents | |
children | 85877c76d47d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/default/ticket/discover.html Mon Mar 26 21:30:04 2018 +0200 @@ -0,0 +1,34 @@ +{% extends 'base/base.html' %} +{% import 'components/block.html' as block %} +{% import 'components/images.html' as images with context %} +{% import 'components/avatar.html' as avatar with context %} +{% import 'input/form.html' as form with context %} +{% import 'input/field.html' as field with context %} + +{% block body %} +<p class="instructions--head"> + {% trans %} + Please select a tickets tracker + {% endtrans %} +</p> +{% if tickets_trackers is defined %} + {{ icon_defs('clipboard') }} + <div class="disco_tickets"> + <ul class="grid grid--center"> + {% for tracker in tickets_trackers %} + <li class='grid__item grid__item--medium grid__item--selectable'> + <a href="{{tracker.url}}" class="items_vert--centered"> + {{ icon('clipboard', cls='icon--medium') }} + <span>{{ tracker.name }}</span> + </a> + </li> + {% endfor %} + </ul> + </div> +{% endif %} + +{% call form.form(class="form_single") %} + {{ field.text("jid", _("tickets tracker jid"), required=true)}} + {{ field.submit(_("Access")) }} +{% endcall %} +{% endblock body %}