71 lines
2.5 KiB
HTML
71 lines
2.5 KiB
HTML
|
{{ define "Index2" }}
|
||
|
|
||
|
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
|
||
|
<link rel="stylesheet" href="/resources/demos/style.css">
|
||
|
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
|
||
|
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
|
||
|
<script>
|
||
|
$( function() {
|
||
|
var date = $('#datepicker').datepicker({ dateFormat: 'yy-mm-dd' }).val(); } );
|
||
|
</script>
|
||
|
|
||
|
|
||
|
<div class="col-lg-offset-1 col-lg-3" style="background-color: #B8C07978; vertical-align: top; padding: 40px; ">
|
||
|
<div class="col-lg-12 text-center" style="font-size: 16px;">Dodaj wymiar</div>
|
||
|
|
||
|
<form action="/wymiary/" method="POST">
|
||
|
|
||
|
<select name="Nazwa" style="width: 180px; margin-top: 20px">
|
||
|
<option>Waga</option>
|
||
|
<option>Wymiar-biodra</option>
|
||
|
|
||
|
<option>Wymiar-talia</option>
|
||
|
|
||
|
<option>Wymiar-biceps</option>
|
||
|
|
||
|
<option>Wymiar-udo</option>
|
||
|
</select>
|
||
|
<input type="text" class="form-control" id="wymiar" name="wymiar" placeholder="wymiar" style="width: 180px; margin-top: 10px; margin-bottom: 10px">
|
||
|
|
||
|
<button type="submit" name="Akcja" value="Dodaj" class="btn btn-default" style="margin-bottom: 20px">Dodaj</button>
|
||
|
|
||
|
|
||
|
|
||
|
</form>
|
||
|
<div class="col-lg-12 text-center" style="font-size: 16px;">Edytuj wymiar</div>
|
||
|
<form action="/wymiary/" method="POST">
|
||
|
|
||
|
<select name="Nazwa" style="width: 180px; margin-top: 20px">
|
||
|
{{range.}}<option>{{.Nazwa}}</option> {{end}}
|
||
|
|
||
|
|
||
|
|
||
|
</select>
|
||
|
<input type="text" class="form-control" id="wymiar" name="wymiar" placeholder="wymiar" style="width: 180px; margin-top: 10px; margin-bottom: 10px">
|
||
|
<input type="text" class="form-control" id="datepicker" name="DataEdycja" placeholder="Data" style="width: 180px; margin-top: 10px; margin-bottom: 10px">
|
||
|
<button type="submit" name="Akcja" value="Edytuj" class="btn btn-default" style="margin-bottom: 20px">Edytuj</button>
|
||
|
|
||
|
|
||
|
</form>
|
||
|
<div class="col-lg-12 text-center" style="font-size: 16px;">Usuń wymiary z danej kategori</div>
|
||
|
<form action="/wymiary/" method="POST">
|
||
|
|
||
|
<select name="Nazwa" style="width: 180px; margin-top: 20px">
|
||
|
{{range.}}<option>{{.Nazwa}}</option> {{end}}
|
||
|
|
||
|
</select>
|
||
|
<br/>
|
||
|
|
||
|
<button type="submit" name="Akcja" value="Usun" class="btn btn-default" style="margin-top: 20px">Usuń</button>
|
||
|
|
||
|
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
</body>
|
||
|
</html>
|
||
|
{{end}}
|