bind.tpl 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <div class="row h-100 justify-content-center w-100">
  2. <div class="col-12 col-md-9 col-lg-5 align-self-center">
  3. <check if="{{ isset(@INFOTEXT) }}">
  4. <div class="alert alert-danger" role="alert">
  5. {{@INFOTEXT}}
  6. </div>
  7. </check>
  8. <check if="{{ count(@LISTE)>0 }}">
  9. <false>
  10. <div class="alert alert-danger" role="alert">
  11. Non ci sono prebolle da abbinare a nessuna Etichetta Elettronica
  12. </div>
  13. </false>
  14. <true>
  15. <div class="rounded table-responsive mt-3 mb-2" style="background-color: #a0b1cc">
  16. {*Tabella elenco prebolle*}
  17. <table class="table rounded table-striped table-secondary mb-0" style="font-size: 11pt">
  18. <thead style="background-color: #a0b1cc">
  19. <tr style="font-size: 12pt">
  20. <th class="text-center text-uppercase text-white" scope="col">Binding Elenco Ordini</th>
  21. </tr>
  22. </thead>
  23. <tbody>
  24. <repeat group="{{ @LISTE }}" key="{{@key}}" value="{{ @LISTA }}">
  25. <tr>
  26. <td {{(@key==0)?
  27. 'class="blink bg-success text-black fw-bold"': ''}}>{{@LISTA.commessa}}</td>
  28. </tr>
  29. </repeat>
  30. </tbody>
  31. </table>
  32. </div>
  33. <form action="{{@BASEURL}}/bind" class="form" method="post">
  34. <input hidden name="commessa" type="hidden" value="{{@ORDINE}}"/>
  35. <input hidden id="submitform" type="submit"/>
  36. <input autocomplete="off" autofocus class="form-control form-control" forcefocus name="labelid" placeholder="Etichetta Cesta" required type="text" value=""/>
  37. </form>
  38. </true>
  39. </check>
  40. </div>
  41. </div>