bind.tpl 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <div class="row h-100 justify-content-center w-100">
  2. <div class="col-xs-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)? 'class="blink bg-success text-black font-weight-bold"': ''}}>{{@LISTA.commessa}}</td>
  27. </tr>
  28. </repeat>
  29. </tbody>
  30. </table>
  31. </div>
  32. <form class="form" method="post" action="{{@BASEURL}}/bind">
  33. <input type="hidden" value="{{@ORDINE}}" hidden name="commessa"/>
  34. <input type="submit" hidden id="submitform"/>
  35. <input type="text" name="labelid" class="form-control form-control" placeholder="Etichetta Cesta" required autofocus forcefocus autocomplete="off" value=""/>
  36. </form>
  37. </true>
  38. </check>
  39. </div>
  40. </div>