Can show an asset
This commit is contained in:
14
src/main/resources/templates/view.html
Normal file
14
src/main/resources/templates/view.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<body th:replace="~{fragments :: base(title='Select type to create', content=~{::content})}">
|
||||
<div th:fragment="content">
|
||||
View device details
|
||||
<div th:each="d : ${descriptors}">
|
||||
<h2 th:text="${d.displayName}"></h2>
|
||||
<table border="1">
|
||||
<tr th:each="p : ${d.properties}">
|
||||
<td><b th:text="${p.displayName}"></b></td>
|
||||
<td th:text="${p.renderValue(asset)}"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
Reference in New Issue
Block a user