| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- {% extends 'base.html' %}
- {% block top %}
- {% endblock %}
- {% block body %}
- <p>
- Numero totale di db sottoposti a backup: {{ sqldatabasecount }}
- <table class='table'>
- <thead>
- <tr>
- <th scope='col'>Nome</th>
- <th scope='col'>Username</th>
- <th scope='col'>Server</th>
- <th scope='col'>L</th>
- <th scope='col'>E</th>
- <th scope='col'>D</th>
- <th scope='col'>quota</th>
- <th scope='col'>backup manuale</th>
- </tr>
- </thead>
- <tbody>
- {% for u in sqldatabaselist %}
- <tr>
- <td> {{ u.nome }} - id: {{ u.id }} </td>
- <td> {{ u.username }} </td>
- <td> {{ u.server.nome }}</td>
- <td>{% if u.locked %}*{% else %}-{% endif %}</td>
- <td>{% if u.enabled %}*{% else %}-{% endif %}</td>
- <td>{% if u.tobedeleted%}*{% else %}-{% endif %}</td>
- <td>{{ u.quota }}</td>
- <td>{% if u.inbackup %}In corso{% else %} {% if u.datebackup %}{{ u.datebackup }}{% endif %}{% endif %}</td>
- </tr>
- {% endfor %}
- </tbody>
- {% endblock %}
- {% block bodybottom %}
- <ul class="list-group">
- <li class="list-group-item">L: Locked - non si possono modificare i parametri registrati</li>
- <li class="list-group-item">E: Enabled - il database è abilitato e utilizzabile</li>
- <li class="list-group-item">D: ToBeDeleted - il database è disattivato e pronto per essere cancellato</li>
- </ul>
- {% endblock %}
|