aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/UserBundle/Resources/views/manage.html.twig
blob: c614c55fd9415e1fa71115ed3e7487fcb7a4c81f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{% extends "WallabagCoreBundle::layout.html.twig" %}

{% block title %}{{ 'user.manage.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">{{ 'user.manage.description'|trans|raw }}</p>

                        <table class="bordered">
                            <thead>
                                <tr>
                                    <th>{{ 'user.manage.field.username'|trans }}</th>
                                    <th>{{ 'user.manage.field.email'|trans }}</th>
                                    <th>{{ 'user.manage.field.last_login'|trans }}</th>
                                    <th>{{ 'user.manage.field.locked'|trans }}</th>
                                    <th>{{ 'user.manage.action'|trans }}</th>
                                </tr>
                            </thead>

                            <tbody>
                                {% for user in users %}
                                    <tr>
                                        <td>{{ user.username }}</td>
                                        <td>{{ user.email }}</td>
                                        <td>{{ user.lastLogin|date('d/m/Y H:i:s') }}</td>
                                        <td>{{ user.locked ? 'yes' : 'no' }}</td>
                                        <td>edit - delete</td>
                                    </tr>
                                {% endfor %}
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>

{% endblock %}