Show full lists with fixed scroll window
This commit is contained in:
parent
35be51133c
commit
90b788da57
@ -41,7 +41,7 @@
|
|||||||
.tight { font-size: 12px; }
|
.tight { font-size: 12px; }
|
||||||
.table-scroll { overflow-y: auto; display: block; }
|
.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: 580px; }
|
||||||
.table-scroll table { margin: 0; }
|
.table-scroll table { margin: 0; }
|
||||||
.col-queued { width: 120px; }
|
.col-queued { width: 120px; }
|
||||||
.col-processed { width: 120px; }
|
.col-processed { width: 120px; }
|
||||||
@ -68,7 +68,6 @@
|
|||||||
SELECT id, action, text, request_id, target_id, queued_at, processed_at, status, error_reason
|
SELECT id, action, text, request_id, target_id, queued_at, processed_at, status, error_reason
|
||||||
FROM #request.logTableName#
|
FROM #request.logTableName#
|
||||||
ORDER BY id DESC
|
ORDER BY id DESC
|
||||||
LIMIT 5
|
|
||||||
</cfquery>
|
</cfquery>
|
||||||
|
|
||||||
<!--- Формируем сообщение статуса из лога/ошибок. --->
|
<!--- Формируем сообщение статуса из лога/ошибок. --->
|
||||||
@ -180,7 +179,7 @@
|
|||||||
<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</cfquery>
|
||||||
<div class="table-scroll table-scroll-db">
|
<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>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user