| 123456789101112131415161718192021222324252627282930313233343536373839 |
- {% extends 'base.html' %}
- {% block top %}
- <p>
- utente che sta effettuando gli aggiornamenti {{ utenteautorizzato.mail }}@{{ utenteautorizzato.domain.nome }}
- </p>
- {% endblock %}
- {% block body %}
- <table class='table'>
- <thead>
- <tr>
- <th scope='col'>#</th>
- <th scope='col'>Titolo</th>
- <th scope='col'>Inserito il</th>
- <th scope='col'>Eseguito il</th>
- <th scope='col'>Stato</th>
- </tr>
- </thead>
- <tbody>
- {% for u in coda %}
- <tr>
- <th scope='row'>{{ u.id }}</th>
- <td>{{ u.codacomandi.titolo }}</td>
- <td>{{ u.dataInserimento }}</td>
- <td>{{ u.dataEsecuzione }}</td>
- <td>{{ u.stato }}</td>
- <td>{{ u.risultato }}</td>
- <td>{% if u.enabled %}*{% else %}-{% endif %}</td>
- <td><button class="btn btn-primary" type="submit" name='disable' value="{{ u.id }}" {% if not u.enabled %} disabled {% endif %}>Disable</button>
- <button class="btn btn-primary" type="submit" name='enable' value="{{ u.id }}" {% if u.enabled %} disabled {% endif %}>Enable</button></td>
- </tr>
- {% endfor %}
- </form>
- </tbody>
- </table>
- {% endblock %}
|