mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-08-13 07:01:13 +00:00
WIP SQL console: enable flag; better table output
This commit is contained in:
@@ -12,7 +12,14 @@
|
||||
|
||||
<!-- data-row-field fragment -->
|
||||
<th:block th:fragment="data_row_field(field, object)">
|
||||
<span th:text="${object.get(field)}"></span>
|
||||
<th:block th:if="${field.isBinary()}">
|
||||
<th:block th:if="${object.get(field)}">
|
||||
<span class="font-monospace null-label">BINARY</span>
|
||||
</th:block>
|
||||
</th:block>
|
||||
<th:block th:if="${!field.isBinary()}">
|
||||
<span th:text="${object.get(field)}"></span>
|
||||
</th:block>
|
||||
</th:block>
|
||||
<!-- end data-row-field fragment -->
|
||||
</body>
|
||||
|
@@ -83,7 +83,8 @@
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li th:class="${#strings.equals(activePage, 'console') ? 'active' : ''}">
|
||||
<li th:if="${dbadmin_properties.isSqlConsoleEnabled()}"
|
||||
th:class="${#strings.equals(activePage, 'console') ? 'active' : ''}">
|
||||
<a th:href="|/${dbadmin_baseUrl}/console|">
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="menu-icon">
|
||||
|
Reference in New Issue
Block a user