documento.stato.html 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <!-- Modal -->
  2. <div class="modal fade" id="StatoDocumentiCaricatiId" tabindex="-1" role="dialog" aria-labelledby="StatoDocumentiCaricati" aria-hidden="false">
  3. <div class="modal-dialog modal-xl" role="document">
  4. <div class="modal-content">
  5. <div class="modal-header">
  6. <h5 class="modal-title" id="SdcLabel">Stato Documenti Caricati</h5>
  7. </div>
  8. <div class="modal-body">
  9. {% if listaok %}
  10. <div>Sono stati caricati {{ listaoklen }} documento/i</div>
  11. <table class='table table-striped table-hover'>
  12. <thead class='thead-dark'>
  13. <tr>
  14. <th scope='col'>Documento caricato con successo</th>
  15. </tr>
  16. </thead>
  17. <tbody>
  18. {% for l in listaok %}
  19. <tr>
  20. <td> {{ l.documento }} </td>
  21. </tr>
  22. {% endfor %}
  23. </tbody>
  24. </table>
  25. {% endif %}
  26. <div><br></div>
  27. {% if listanotok %}
  28. <div>Sono stati rifiutati {{ listanotoklen }} documento/i</div>
  29. <table class='table table-striped table-hover'>
  30. <thead class='thead-dark'>
  31. <tr>
  32. <th scope='col'>Documento non caricato perche già presente</th>
  33. </tr>
  34. </thead>
  35. <tbody>
  36. {% for l in listanotok %}
  37. <tr>
  38. <td> {{ l.documento }} </td>
  39. </tr>
  40. {% endfor %}
  41. </tbody>
  42. </table>
  43. <div>Non sono stati caricati {{ listanotasslen }} documento/i</div>
  44. <table class='table table-striped table-hover'>
  45. <thead class='thead-dark'>
  46. <tr>
  47. <th scope='col'>Documenti Non validi o non associabili</th>
  48. </tr>
  49. </thead>
  50. <tbody>
  51. {% for l in listanotass %}
  52. <tr>
  53. <td> {{ l.documento }} </td>
  54. </tr>
  55. {% endfor %}
  56. </tbody>
  57. </table>
  58. {% endif %}
  59. <div class="modal-footer">
  60. <form name='SDCModal' method='POST'>
  61. {% csrf_token %}
  62. <button type="button" class="btn btn-primary" data-bs-dismiss="modal">Chiudi/Annulla</button>
  63. </form>
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. <!-- end modal -->