mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-06-08 21:38:21 +00:00
Minor fixes
This commit is contained in:
parent
60581527f0
commit
283835f206
@ -12,7 +12,7 @@
|
||||
<script type="text/javascript" th:src="|/${snapadmin_baseUrl}/snapadmin/js/filters.js|"></script>
|
||||
<script type="text/javascript" th:src="|/${snapadmin_baseUrl}/snapadmin/js/logs.js|"></script>
|
||||
<script type="text/javascript" th:src="|/${snapadmin_baseUrl}/snapadmin/js/create.js|"></script>
|
||||
<title th:text="${title != null ? title + ' | Spring Boot DB Admin Panel' : 'Spring Boot DB Admin Panel'}"></title>
|
||||
<title th:text="${title != null ? title + ' | SnapAdmin' : 'SnapAdmin'}"></title>
|
||||
<script th:inline="javascript">
|
||||
let baseUrl = [[ ${snapadmin_baseUrl} ]];
|
||||
</script>
|
||||
|
@ -51,7 +51,7 @@
|
||||
<span th:text="${schema.getClassName()}"></span>
|
||||
</td>
|
||||
<td class="text-end row-icons">
|
||||
<a title="List all" th:href="|/${snapadmin_baseUrl}/model/${schema.getClassName()}|"><i class="bi bi-list"></i></i></a>
|
||||
<a title="List all" th:href="|/${snapadmin_baseUrl}/model/${schema.getClassName()}|"><i class="bi bi-list"></i></a>
|
||||
<a th:title="|${!schema.isCreateEnabled() ? 'CREATE disabled for this type' : 'Create new item'}|"
|
||||
th:class="|${!schema.isCreateEnabled() ? 'disable' : ''}|"
|
||||
th:href="|/${snapadmin_baseUrl}/model/${schema.getClassName()}/create|"><i class="bi bi-plus-square"></i>
|
||||
@ -61,11 +61,11 @@
|
||||
</table>
|
||||
|
||||
<div class="p-0 m-0" th:if="${schemas.isEmpty()}">
|
||||
No entities have been loaded from Java classes.
|
||||
<p>No entities have been loaded from Java classes.</p>
|
||||
|
||||
<ul class="mt-3">
|
||||
<li>Make sure you are initializing Spring Boot DB Admin Panel correctly and double check
|
||||
that the package you have set in the CommandLineRunner is the correct one.</li>
|
||||
<li>Make sure you are initializing Snap Admin correctly and double check
|
||||
that the package you have set in your <code>application.properties</code> is correct.</li>
|
||||
<li>Check that the Java classes in the package have been correctly marked with
|
||||
the <code>@Entity</code> annotation.</li>
|
||||
</ul>
|
||||
|
Loading…
x
Reference in New Issue
Block a user