| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <div class="tab-pane fade" id="document-pane" role="tabpanel" aria-labelledby="document-tab" tabindex="0">
- <!-- documenti -->
- <div class='form-outline mb-3 text-center btn-primary h3'>
- Elenco Documenti Associati
- </div>
- <hr>
- {% include 'documento.welcome.lista.html' %}
- </hr>
- <form name='fileManager' method="POST" enctype='multipart/form-data'>
- {% csrf_token %}
- <table class='table table-striped table-hover'>
- <tbody>
- <tr>
- <td><label for='descrizione'>Descrizione: </label>
- <input type='text' name='descrizione' id='descrizione' value=''>
- <input type='file' class="btn btn-primary" name='allegati' id='allegati' value='{{ uf.allegati }}' accept='application/pdf' multiple></td>
- <td><input class="btn btn-primary" type='submit' value='Inserisci'></td>
- </tr>
- </table>
- </form>
- {% if listaok %}
- <table class='table table-striped table-hover'>
- <thead class='thead-dark'>
- <tr>
- <th scope='col'>Documento caricato con successo</th>
- </tr>
- </thead>
- <tbody>
- {% for l in listaok %}
- <tr>
- <td> {{ l.documento }} </td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- {% endif %}
- <div><br><br></div>
- {% if listanotok %}
- <table class='table table-striped table-hover'>
- <thead class='thead-dark'>
- <tr>
- <th scope='col'>Documento non caricato perche già presente</th>
- </tr>
- </thead>
- <tbody>
- {% for l in listanotok %}
- <tr>
- <td> {{ l.documento }} </td>
- </tr>
- {% endfor %}
- </tbody>
- </table>
- {% endif %}
-
- </div>
|