Rearrange links and adjust table widths

This commit is contained in:
“Naeel” 2026-02-23 19:36:04 +04:00
parent 6a2ba3f5b0
commit 843f3cd7dc

View File

@ -42,6 +42,8 @@
.col-queued { width: 120px; } .col-queued { width: 120px; }
.col-processed { width: 120px; } .col-processed { width: 120px; }
.col-status { width: 90px; } .col-status { width: 90px; }
.col-id { width: 60px; }
.col-content { width: 100%; }
@media (max-width: 980px) { @media (max-width: 980px) {
.split { grid-template-columns: 1fr; } .split { grid-template-columns: 1fr; }
} }
@ -82,10 +84,6 @@
<div class="container main-content"> <div class="container main-content">
<div class="card"> <div class="card">
<div class="top-info"> <div class="top-info">
<div>
<div class="small">Логин / Пароль</div>
<div><cfoutput>#rabbitUser#</cfoutput> / <cfoutput>#rabbitPassword#</cfoutput></div>
</div>
<div> <div>
<div class="small">RabbitMQ UI</div> <div class="small">RabbitMQ UI</div>
<div class="link-row"> <div class="link-row">
@ -94,8 +92,17 @@
<cfelse> <cfelse>
<span class="small">URL не задан</span> <span class="small">URL не задан</span>
</cfif> </cfif>
</div>
<div class="small">Логин / Пароль</div>
<div><cfoutput>#rabbitUser#</cfoutput> / <cfoutput>#rabbitPassword#</cfoutput></div>
</div>
<div>
<div class="small">NodeJS Worker</div>
<div class="link-row">
<cfif len(nodeworkerUrl)> <cfif len(nodeworkerUrl)>
<a href="<cfoutput>#nodeworkerUrl#</cfoutput>" target="_blank">Открыть NodeJS Worker</a> <a href="<cfoutput>#nodeworkerUrl#</cfoutput>" target="_blank">Открыть NodeJS Worker</a>
<cfelse>
<span class="small">URL не задан</span>
</cfif> </cfif>
</div> </div>
</div> </div>
@ -159,12 +166,12 @@
<h3>База (фактические записи)</h3> <h3>База (фактические записи)</h3>
<cfquery name="qGet" datasource="#request.DS#">SELECT * FROM #request.tableName# ORDER BY id DESC LIMIT 20</cfquery> <cfquery name="qGet" datasource="#request.DS#">SELECT * FROM #request.tableName# ORDER BY id DESC LIMIT 20</cfquery>
<table class="tight"> <table class="tight">
<thead><tr><th>ID</th><th>Содержимое</th><th>Действия</th></tr></thead> <thead><tr><th class="col-id">ID</th><th class="col-content">Содержимое</th><th>Действия</th></tr></thead>
<tbody> <tbody>
<cfoutput query="qGet"> <cfoutput query="qGet">
<cfset cleanText = reReplace(test_data, "(?i)\\s*\\[req:[0-9a-f-]+\\]$", "", "all")> <cfset cleanText = reReplace(test_data, "(?i)\\s*\\[req:[0-9a-f-]+\\]$", "", "all")>
<tr> <tr>
<td class="id-cell">#id#</td> <td class="id-cell col-id">#id#</td>
<td> <td>
<form method="post" id="upd_#id#" style="margin:0"> <form method="post" id="upd_#id#" style="margin:0">
<input type="hidden" name="crud_action" value="update"><input type="hidden" name="id" value="#id#"> <input type="hidden" name="crud_action" value="update"><input type="hidden" name="id" value="#id#">