mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-06-08 21:38:21 +00:00
UI fixes
This commit is contained in:
parent
909e027441
commit
737fac7bab
@ -60,11 +60,11 @@
|
|||||||
></input>
|
></input>
|
||||||
</div>
|
</div>
|
||||||
</th:block>
|
</th:block>
|
||||||
<th:block th:fragment="datetime(field, create, name, value)"
|
<th:block th:fragment="datetime(field, create, name, value)">
|
||||||
<span class="input-group-text font-monospace">
|
|
||||||
[[ ${field.getType()} ]]
|
|
||||||
</span>
|
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
|
<span class="input-group-text font-monospace">
|
||||||
|
[[ ${field.getType()} ]]
|
||||||
|
</span>
|
||||||
<input placeholder="NULL"
|
<input placeholder="NULL"
|
||||||
type="datetime-local"
|
type="datetime-local"
|
||||||
th:value="${value}"
|
th:value="${value}"
|
||||||
|
@ -23,9 +23,13 @@
|
|||||||
<div class="d-flex justify-content-between">
|
<div class="d-flex justify-content-between">
|
||||||
<h3 class="mb-3 fw-bold" th:text="${object.getDisplayName()}"></h3>
|
<h3 class="mb-3 fw-bold" th:text="${object.getDisplayName()}"></h3>
|
||||||
<h3><a
|
<h3><a
|
||||||
th:class="|${!schema.isEditEnabled() ? 'disable' : ''}|"
|
th:class="|${!schema.isEditEnabled() ? 'disable' : ''} me-2|"
|
||||||
th:href="|/${dbadmin_baseUrl}/model/${schema.getClassName()}/edit/${object.getPrimaryKeyValue()}|">
|
th:href="|/${dbadmin_baseUrl}/model/${schema.getClassName()}/edit/${object.getPrimaryKeyValue()}|">
|
||||||
<i class="bi bi-pencil"></i></a>
|
<i class="bi bi-pencil"></i></a>
|
||||||
|
|
||||||
|
<a th:title="|${!schema.isCreateEnabled() ? 'CREATE disabled for this type' : 'Create new item'}|"
|
||||||
|
th:class="|${!schema.isCreateEnabled() ? 'disable' : ''}|"
|
||||||
|
th:href="|/${dbadmin_baseUrl}/model/${schema.getClassName()}/create|"><i class="bi bi-plus-square"></i></a>
|
||||||
</h3>
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user