annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
135
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% extends 'base/base.html' %}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
2 {% import 'components/block.html' as block %}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
3 {% import 'components/images.html' as images with context %}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
4 {% import 'components/avatar.html' as avatar with context %}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
5 {% import 'input/form.html' as form with context %}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
6 {% import 'input/field.html' as field with context %}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
7
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
8 {% block body %}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
9 <p class="instructions--head">
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
10 {% trans %}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
11 Please select a tickets tracker
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
12 {% endtrans %}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
13 </p>
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
14 {% if tickets_trackers is defined %}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
15 {{ icon_defs('clipboard') }}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
16 <div class="disco_tickets">
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
17 <ul class="grid grid--center">
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
18 {% for tracker in tickets_trackers %}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
19 <li class='grid__item grid__item--medium grid__item--selectable'>
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
20 <a href="{{tracker.url}}" class="items_vert--centered">
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
21 {{ icon('clipboard', cls='icon--medium') }}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
22 <span>{{ tracker.name }}</span>
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
23 </a>
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
24 </li>
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
25 {% endfor %}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
26 </ul>
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
27 </div>
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
28 {% endif %}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
29
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
30 {% call form.form(class="form_single") %}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
31 {{ field.text("jid", _("tickets tracker jid"), required=true)}}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
32 {{ field.submit(_("Access")) }}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
33 {% endcall %}
24920d436e77 ticket: basic tickets discovery
Goffi <goffi@goffi.org>
parents:
diff changeset
34 {% endblock body %}