bind.tpl 1.0 KB

1234567891011121314151617181920212223
  1. <include href="bars.tpl"/>
  2. <div class="row h-100 justify-content-center">
  3. <div class="col-md-5 align-self-center">
  4. <form class="form" method="post" action="{{@BASEURL}}/bind/{{@STEP+1}}">
  5. <input type="submit" hidden/>
  6. <input type="text" name="labelid" class="form-control form-control-lg" placeholder="Label ID" required {{@AUTOFOCUS1}} autocomplete="false" value="{{ @POST.labelid }}"/>
  7. <check if="{{ @STEP > 1 }}">
  8. <input type="text" name="barcode" class="form-control form-control-lg mt-3" placeholder="Barcode" required {{@AUTOFOCUS2}} autocomplete="false" value="{{ @POST.barcode }}"/>
  9. </check>
  10. </form>
  11. <check if="{{@STEP==3}}">
  12. <div class="alert alert-info mt-5" role="alert">
  13. Invio bind
  14. </div>
  15. <script>
  16. setTimeout(function () {
  17. window.location.href = "{{@BASEURL}}/bind/1";
  18. }, 2000);
  19. </script>
  20. </check>
  21. </div>
  22. </div>