1
Fork 0
mirror of https://github.com/Steffo99/estus.git synced 2024-11-21 23:24:18 +00:00

Close #16 again?

This commit is contained in:
Steffo 2017-09-20 12:08:48 +02:00
parent 977dfbfae4
commit 6f245c8ede

View file

@ -134,7 +134,7 @@
<div class="form-group">
<label class="col-xs-2" for="form-seriale">Numero Seriale</label>
<div class="col-xs-10">
<input id="form-seriale" class="form-control" type="text" placeholder="Seriale" name="seriale" {% if dispositivo %}value="{{ dispositivo.seriale }}"{% elif request.args.get("scanned_barcode") %}value="{{ request.args.get('scanned_barcode') }}{% endif %}">
<input id="form-seriale" class="form-control" type="text" placeholder="Seriale" name="seriale" {% if dispositivo and dispositivo.seriale %}value="{{ dispositivo.seriale }}"{% elif request.args.get("scanned_barcode") %}value="{{ request.args.get('scanned_barcode') }}"{% endif %}>
</div>
</div>
<div class="form-group">
@ -156,7 +156,7 @@
<div class="form-group">
<label class="col-xs-2" for="form-ip">Hostname</label>
<div class="col-xs-8">
<input id="form-hostname" class="form-control" type="text" placeholder="Hostname" name="hostname" {% if dispositivo %}value="{{ dispositivo.hostname }}"{% endif %}>
<input id="form-hostname" class="form-control" type="text" placeholder="Hostname" name="hostname" {% if dispositivo and dispositivo.hostname %}value="{{ dispositivo.hostname }}"{% endif %}>
</div>
<div class="col-xs-2">
<button class="form-control btn btn-info" onclick="calchostname()" type="button">Genera</button>