wallabag/templates/SiteCredential/index.html.twig

43 lines
1.7 KiB
Twig
Raw Normal View History

2024-02-19 00:03:14 +01:00
{% extends "layout.html.twig" %}
2016-12-04 13:51:58 +01:00
{% block title %}{{ 'site_credential.page_title'|trans }}{% endblock %}
{% block content %}
<div class="row">
<div class="col s12">
<div class="card-panel">
<div class="row">
<div class="input-field col s12">
<p class="help">{{ 'site_credential.description'|trans|raw }}</p>
<table class="bordered">
<thead>
<tr>
<th>{{ 'site_credential.form.host_label'|trans }}</th>
<th>{{ 'site_credential.list.actions'|trans }}</th>
</tr>
</thead>
<tbody>
{% for credential in credentials %}
<tr>
<td>{{ credential.host }}</td>
<td>
2022-05-03 23:28:20 +02:00
<a href="{{ path('site_credentials_edit', {'id': credential.id}) }}">{{ 'site_credential.list.edit_action'|trans }}</a>
2016-12-04 13:51:58 +01:00
</td>
</tr>
{% endfor %}
</tbody>
</table>
<br />
<p>
2016-12-09 16:47:50 +01:00
<a href="{{ path('site_credentials_new') }}" class="waves-effect waves-light btn">{{ 'site_credential.list.create_new_one'|trans }}</a>
2016-12-04 13:51:58 +01:00
</p>
</div>
</div>
</div>
</div>
</div>
{% endblock %}