| 12345678910111213141516171819202122232425262728293031 |
- <include href="bars.tpl"/>
- <div class="row h-100 justify-content-center">
- <div class="col-md-5 align-self-center">
- <form class="form" method="post" action="{{@BASEURL}}/bind/{{@STEP+1}}">
- <input type="submit" hidden id="submitform"/>
- <input type="text" name="labelid" class="form-control form-control-lg" placeholder="Label ID" required {{@AUTOFOCUS1}} autocomplete="false" value="{{ @POST.labelid }}"/>
- <check if="{{ @STEP > 1 }}">
- <input type="text" name="barcode" class="form-control form-control-lg mt-3" placeholder="Barcode" required {{@AUTOFOCUS2}} autocomplete="false" value="{{ @POST.barcode }}"/>
- </check>
- <check if="{{ @STEP > 2 }}">
- <select name="templateid" class="form-control form-control-lg bg-secondary mt-3" onchange="javascript:{$('#submitform').click()}">
- <option>Seleziona un template</option>
- <repeat group="{{ @TPLS }}" key="{{@NAMETPL}}" value="{{ @TEMPLATE }}">
- <option value="{{@@TEMPLATE}}">{{@@NAMETPL}}</option>
- </repeat>
- </select>
- </check>
- </form>
- <check if="{{@STEP==4}}">
- <div class="alert alert-info mt-5" role="alert">
- Invio bind
- </div>
- <script>
- setTimeout(function () {
- window.location.href = "{{@BASEURL}}/bind/1";
- }, 2000);
- </script>
- </check>
- </div>
- </div>
|