mirror of
https://github.com/wallabag/wallabag.git
synced 2024-09-27 05:50:02 +00:00
45 lines
1.9 KiB
Twig
45 lines
1.9 KiB
Twig
|
{% extends "WallabagCoreBundle::layout.html.twig" %}
|
||
|
|
||
|
{% 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.form.username_label'|trans }}</th>
|
||
|
<th>{{ 'site_credential.list.actions'|trans }}</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% for credential in credentials %}
|
||
|
<tr>
|
||
|
<td>{{ credential.host }}</td>
|
||
|
<td>{{ credential.username }}</td>
|
||
|
<td>
|
||
|
<a href="{{ path('site_credential_edit', { 'id': credential.id }) }}">{{ 'site_credential.list.edit_action'|trans }}</a>
|
||
|
</td>
|
||
|
</tr>
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
<br />
|
||
|
<p>
|
||
|
<a href="{{ path('site_credential_new') }}" class="waves-effect waves-light btn">{{ 'site_credential.list.create_new_one'|trans }}</a>
|
||
|
</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
{% endblock %}
|