Fix table scrolling and delete log text
This commit is contained in:
parent
60e2c56005
commit
35be51133c
@ -177,6 +177,7 @@
|
|||||||
<cfset payload.action = "delete" />
|
<cfset payload.action = "delete" />
|
||||||
<cfset payload.id = val(form.id) />
|
<cfset payload.id = val(form.id) />
|
||||||
<cfset logTargetId = toString(val(form.id)) />
|
<cfset logTargetId = toString(val(form.id)) />
|
||||||
|
<cfset logText = "delete id " & logTargetId />
|
||||||
</cfcase>
|
</cfcase>
|
||||||
<cfdefaultcase>
|
<cfdefaultcase>
|
||||||
<cfthrow message="Unknown action" />
|
<cfthrow message="Unknown action" />
|
||||||
|
|||||||
@ -39,7 +39,7 @@
|
|||||||
.link-row a { color: var(--nubes-blue); text-decoration: none; font-weight: 600; }
|
.link-row a { color: var(--nubes-blue); text-decoration: none; font-weight: 600; }
|
||||||
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
|
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
|
||||||
.tight { font-size: 12px; }
|
.tight { font-size: 12px; }
|
||||||
.table-scroll { overflow-y: auto; }
|
.table-scroll { overflow-y: auto; display: block; }
|
||||||
.table-scroll-queue { max-height: 220px; }
|
.table-scroll-queue { max-height: 220px; }
|
||||||
.table-scroll-db { max-height: 520px; }
|
.table-scroll-db { max-height: 520px; }
|
||||||
.table-scroll table { margin: 0; }
|
.table-scroll table { margin: 0; }
|
||||||
@ -144,7 +144,6 @@
|
|||||||
<div class="card">
|
<div class="card">
|
||||||
<h3>Очередь (лог отправки)</h3>
|
<h3>Очередь (лог отправки)</h3>
|
||||||
<div class="table-scroll table-scroll-queue">
|
<div class="table-scroll table-scroll-queue">
|
||||||
<div class="table-scroll table-scroll-db">
|
|
||||||
<table class="tight">
|
<table class="tight">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@ -176,13 +175,13 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="card wide">
|
<div class="card wide">
|
||||||
<h3>База (фактические записи)</h3>
|
<h3>База (фактические записи)</h3>
|
||||||
<!--- Читаем последние фактические записи для сравнения с логом. --->
|
<!--- Читаем последние фактические записи для сравнения с логом. --->
|
||||||
<cfquery name="qGet" datasource="#request.DS#">SELECT * FROM #request.tableName# ORDER BY id DESC LIMIT 15</cfquery>
|
<cfquery name="qGet" datasource="#request.DS#">SELECT * FROM #request.tableName# ORDER BY id DESC LIMIT 15</cfquery>
|
||||||
|
<div class="table-scroll table-scroll-db">
|
||||||
<table class="tight">
|
<table class="tight">
|
||||||
<thead><tr><th class="col-id">ID</th><th class="col-content">Содержимое</th><th class="col-req">Request ID</th><th>Действия</th></tr></thead>
|
<thead><tr><th class="col-id">ID</th><th class="col-content">Содержимое</th><th class="col-req">Request ID</th><th>Действия</th></tr></thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -212,6 +211,7 @@
|
|||||||
</cfoutput>
|
</cfoutput>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user