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>
|
||||
</div>
|
||||
</th:block>
|
||||
<th:block th:fragment="datetime(field, create, name, value)"
|
||||
<span class="input-group-text font-monospace">
|
||||
[[ ${field.getType()} ]]
|
||||
</span>
|
||||
<th:block th:fragment="datetime(field, create, name, value)">
|
||||
<div class="input-group">
|
||||
<span class="input-group-text font-monospace">
|
||||
[[ ${field.getType()} ]]
|
||||
</span>
|
||||
<input placeholder="NULL"
|
||||
type="datetime-local"
|
||||
th:value="${value}"
|
||||
|
@ -23,9 +23,13 @@
|
||||
<div class="d-flex justify-content-between">
|
||||
<h3 class="mb-3 fw-bold" th:text="${object.getDisplayName()}"></h3>
|
||||
<h3><a
|
||||
th:class="|${!schema.isEditEnabled() ? 'disable' : ''}|"
|
||||
th:class="|${!schema.isEditEnabled() ? 'disable' : ''} me-2|"
|
||||
th:href="|/${dbadmin_baseUrl}/model/${schema.getClassName()}/edit/${object.getPrimaryKeyValue()}|">
|
||||
<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>
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user