Files
pcinv/src/main/resources/templates/create_select.html

9 lines
341 B
HTML

<body th:replace="~{fragments :: base(title='Select type to create', content=~{::content})}">
<div th:fragment="content">
<h2>Create a new device</h2>
<ul>
<li th:each="d : ${descriptors.getAssets()}" th:if="${d.visible}"><a th:href="'/create/'+${d.getType()}" th:text="${d.displayName}"></a></li>
</ul>
</div>
</body>