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.id = val(form.id) />
|
||||
<cfset logTargetId = toString(val(form.id)) />
|
||||
<cfset logText = "delete id " & logTargetId />
|
||||
</cfcase>
|
||||
<cfdefaultcase>
|
||||
<cfthrow message="Unknown action" />
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
.link-row a { color: var(--nubes-blue); text-decoration: none; font-weight: 600; }
|
||||
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
|
||||
.tight { font-size: 12px; }
|
||||
.table-scroll { overflow-y: auto; }
|
||||
.table-scroll { overflow-y: auto; display: block; }
|
||||
.table-scroll-queue { max-height: 220px; }
|
||||
.table-scroll-db { max-height: 520px; }
|
||||
.table-scroll table { margin: 0; }
|
||||
@ -144,7 +144,6 @@
|
||||
<div class="card">
|
||||
<h3>Очередь (лог отправки)</h3>
|
||||
<div class="table-scroll table-scroll-queue">
|
||||
<div class="table-scroll table-scroll-db">
|
||||
<table class="tight">
|
||||
<thead>
|
||||
<tr>
|
||||
@ -177,12 +176,12 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card wide">
|
||||
<h3>База (фактические записи)</h3>
|
||||
<!--- Читаем последние фактические записи для сравнения с логом. --->
|
||||
<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">
|
||||
<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>
|
||||
@ -214,6 +213,7 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user