]>
Commit | Line | Data |
---|---|---|
f92fcb53 JB |
1 | {% extends "WallabagCoreBundle::layout.html.twig" %} |
2 | ||
3 | {% block title %}{{ 'site_credential.page_title'|trans }}{% endblock %} | |
4 | ||
5 | {% block content %} | |
6 | ||
7 | <div class="row"> | |
8 | <div class="col s12"> | |
9 | <div class="card-panel"> | |
10 | <div class="row"> | |
11 | <div class="input-field col s12"> | |
12 | <p class="help">{{ 'site_credential.description'|trans|raw }}</p> | |
13 | ||
14 | <table class="bordered"> | |
15 | <thead> | |
16 | <tr> | |
17 | <th>{{ 'site_credential.form.host_label'|trans }}</th> | |
f92fcb53 JB |
18 | <th>{{ 'site_credential.list.actions'|trans }}</th> |
19 | </tr> | |
20 | </thead> | |
21 | <tbody> | |
22 | {% for credential in credentials %} | |
23 | <tr> | |
24 | <td>{{ credential.host }}</td> | |
f92fcb53 | 25 | <td> |
fc6d92c6 | 26 | <a href="{{ path('site_credentials_edit', { 'id': credential.id }) }}">{{ 'site_credential.list.edit_action'|trans }}</a> |
f92fcb53 JB |
27 | </td> |
28 | </tr> | |
29 | {% endfor %} | |
30 | </tbody> | |
31 | </table> | |
32 | <br /> | |
33 | <p> | |
fc6d92c6 | 34 | <a href="{{ path('site_credentials_new') }}" class="waves-effect waves-light btn">{{ 'site_credential.list.create_new_one'|trans }}</a> |
f92fcb53 JB |
35 | </p> |
36 | </div> | |
37 | </div> | |
38 | </div> | |
39 | </div> | |
40 | </div> | |
41 | ||
42 | {% endblock %} |