aboutsummaryrefslogtreecommitdiffstats
path: root/server/templates/server/index.html
blob: 37a553b13b6dc9bee790d3e2c36aa9a7169ec21e (plain)
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
44
45
46
47
48
49
50
51
52
53
{% extends 'registration/base.html' %}

{% block title %}Admin{% endblock %}

{% block nav %}
    <a style="margin-left: 10px;" href="{% url 'index' %}" class="breadcrumb">Home</a>
    <a href="#!" class="breadcrumb hide-on-med-and-down">Admin</a>
{% endblock %}

{% block content %}
<div class="row">
  <div class="col l6 s12">
    <div class="card large">
      <div class="card-content">
        <p>
        <table>
            <tr>
                <th>Username</th>
                <th>Nome</th>
                <th>Cognome</th>
                <th>Codice</th>
                <th>Stato</th>
            </tr>
            {% for user in users %}
                <tr>
                {% for att in user %}
                    <td>{{att}}</td>
                {% endfor %}
                </tr>
            {% endfor %}
        </table> 
        </p>
      </div>
      <div class="card-action">
          <a href="{% url 'ulist' %}">Lista utenti</a>
          <a href="{% url 'uapprove' %}">Approva utente</a>
      </div>
    </div>
  </div>
  <div class="col l6 s12">
    <div class="card large">
      <div class="card-content">
          <p>I am a very simple card. I am good at containing small bits of information.
          I am convenient because I require little markup to use effectively.</p>
      </div>
      <div class="card-action">
          <a href="{% url 'ulist' %}">Lista documenti</a>
          <a href="{% url 'uapprove' %}">Approva documento</a>
      </div>
    </div>
  </div>
</div>
{% endblock %}