bind.tpl 1.4 KB

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