Mercurial > libervia-templates
comparison default/ticket/discover.html @ 138:85877c76d47d
merge-request: discovery page
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 27 Mar 2018 08:33:11 +0200 |
parents | 24920d436e77 |
children |
comparison
equal
deleted
inserted
replaced
137:efbf5423d7be | 138:85877c76d47d |
---|---|
1 {% extends 'base/base.html' %} | 1 {% extends 'base/base.html' %} |
2 {% import 'components/block.html' as block %} | 2 {% import 'components/block.html' as block with context %} |
3 {% import 'components/images.html' as images with context %} | 3 {% import 'components/images.html' as images with context %} |
4 {% import 'components/avatar.html' as avatar with context %} | 4 {% import 'components/avatar.html' as avatar with context %} |
5 {% import 'input/form.html' as form with context %} | 5 {% import 'input/form.html' as form with context %} |
6 {% import 'input/field.html' as field with context %} | 6 {% import 'input/field.html' as field with context %} |
7 | 7 |
8 {% block body %} | 8 {% block body %} |
9 {{ icon_defs('clipboard') }} | |
9 <p class="instructions--head"> | 10 <p class="instructions--head"> |
10 {% trans %} | 11 {% trans %} |
11 Please select a tickets tracker | 12 Please select a tickets tracker |
12 {% endtrans %} | 13 {% endtrans %} |
13 </p> | 14 </p> |
14 {% if tickets_trackers is defined %} | 15 {% if tickets_trackers is defined %} |
15 {{ icon_defs('clipboard') }} | |
16 <div class="disco_tickets"> | 16 <div class="disco_tickets"> |
17 <ul class="grid grid--center"> | 17 {{block.disco_icon_grid(tickets_trackers, 'clipboard')}} |
18 {% for tracker in tickets_trackers %} | |
19 <li class='grid__item grid__item--medium grid__item--selectable'> | |
20 <a href="{{tracker.url}}" class="items_vert--centered"> | |
21 {{ icon('clipboard', cls='icon--medium') }} | |
22 <span>{{ tracker.name }}</span> | |
23 </a> | |
24 </li> | |
25 {% endfor %} | |
26 </ul> | |
27 </div> | 18 </div> |
28 {% endif %} | 19 {% endif %} |
29 | 20 |
30 {% call form.form(class="form_single") %} | 21 {% call form.form(class="form_single") %} |
31 {{ field.text("jid", _("tickets tracker jid"), required=true)}} | 22 {{ field.text("jid", _("tickets tracker jid"), required=true)}} |