| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- {% extends 'base.html' %}
- {% block top %}
- <table class='table table-striped table-hover'>
- <thead class='thead-dark'>
- <tr>
- <th scope='col'>Nome</th>
- <th scope='col'>Codice Fiscale</th>
- <th scope='col'>Data di Nascita</th>
- <th scope='col'>Luogo di Nascita</th>
- <th scope='col'>documento</th>
- <th scope='col'>Data Documento</th>
- <th scope='col'>Azienda</th>
- <th scope='col'>Password</th>
- </tr>
- </thead>
- <tbody>
- {% csrf_token %}
- {% for uu in u %}
- <tr>
- <td><a href='{% url 'welcome:edit' uu.id %}'>{{ uu.nome }}</a> </td>
- <td> {{ uu.codicefiscale }} </td>
- <td> {{ uu.datanascita|date:'d/m/Y' }} </td>
- <td> {{ uu.luogonascita }} </td>
- <td> {{ uu.documento }} </td>
- <td> {% if uu.dataupload %} {{ uu.dataupload }} {% endif %}</td>
- <td> {{ uu.azienda }} </td>
- <td> {{ uu.password }} </td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- <div class='form-control'>
- <a href='{% url 'welcome:edit' 0 %}'>Nuovo Record</a>
- </div>
- {% endblock %}
- {% block body %}
- <div>
-
- </div>
- <br>
- <form name='upload' method='post' enctype='multipart/form-data'>
- {% csrf_token %}
- <table class='table table-striped table-hover'>
- <tbody>
- <tr>
- <td><input type='file' name='indice' id='indice' value='{{ uf.indice }}' accept='text/csv'></td>
- <td><input type='file' name='allegati' id='allegati' value='{{ uf.allegati }}' accept='application/pdf' multiple></td>
- <td><input type='submit' value='Inserisci'></td>
- </tr>
- </tbody>
- </table>
- </form>
- {% endblock %}
|