blob: 720a20a6bbd54b8a124e274ef28e7ac55be5bdd7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<div th:replace="~{common :: head}"></div>
<body>
<div th:replace="~{common :: page-header}"></div>
<div class="indent">
<div id="updateToggleSelector">
<button id="updateBtn" class="btn btn-primary" onclick="toggleDisabled()">Изменить</button> <br><br>
</div>
<form method="post" action="/storageSlot">
<input disabled hidden id="storageSlotId" name="storageSlotId" th:value="${storageSlot.getId()}">
<label for="storageSlotLocation">Локация:</label>
<input disabled type="text" id="storageSlotLocation" name="storageSlotLocation" required th:value="${storageSlot.getLocation()}"><br><br>
<label for="storageSlotHeight">Высота:</label>
<input disabled type="text" id="storageSlotHeight" name="storageSlotHeight" required th:value="${storageSlot.getHeight()}"><br><br>
<label for="storageSlotWidth">Ширина:</label>
<input disabled type="text" id="storageSlotWidth" name="storageSlotWidth" required th:value="${storageSlot.getWidth()}"><br><br>
<label for="storageSlotDepth">Глубина:</label>
<input disabled type="text" id="storageSlotDepth" name="storageSlotDepth" required th:value="${storageSlot.getDepth()}"><br><br>
<input id="saveBtn" type="submit" value="Сохранить" class="btn btn-primary" hidden>
</form>
</div>
<div th:replace="~{common :: site-footer}"></div>
<div th:replace="~{common :: site-script}"></div>
<div th:replace="~{common :: editFieldsToggle}"></div>
</body>
</html>
|