Commit 50f8ae5b authored by Kulya's avatar Kulya 😊

Fix StafStatsApp errors-2

parent cae8715d
......@@ -28,12 +28,22 @@ document, html, body {
width:100%;
font-family: "OpenSans-Semibold","Helvetica Neue",Arial,Helvetica,sans-serif !important;
}
#integrations_table_body .btn-sm {
line-height: 1em;
}
#integrations_table_body td {
padding: 0.1rem;
}
.alvcontainer{
padding:0 !important;
margin:0 !important;
width: 100% !important;
height: 100% !important;
}
.afilelabel {
/* width: 250px; */
height: 40px;
......
......@@ -153,15 +153,15 @@ var getStatusLineHtml = function(itg){
var stStatus = (typeof itg.status !== 'undefined' ) ? itg.status : 'Status';
var stText = (stStatus=="off") ? '<span class="badge badge-secondary">Отключён</span>' : '<span class="badge badge-success">Включён</span>';
var stText = (stStatus=="off") ? '<span class="badge bg-secondary">Отключён</span>' : '<span class="badge bg-success">Включён</span>';
var stLineHtml = '<tr id="'+stCode+'">';
stLineHtml += '<td id="title_'+stCode+'">'+stTitle+'</td>';
stLineHtml += '<td>'+stText+'</td>';
if(stStatus=="off"){
stLineHtml += '<td><div onclick="start_integration(\''+stCode+'\');" class="btn btn-success">Вкл</div></td>';
stLineHtml += '<td><div onclick="start_integration(\''+stCode+'\');" class="btn btn-sm btn-success">Вкл</div></td>';
} else {
stLineHtml += '<td><div onclick="stop_integration(\''+stCode+'\');" class="btn btn-danger">Выкл</div></td>';
stLineHtml += '<td><div onclick="stop_integration(\''+stCode+'\');" class="btn btn-sm btn-danger">Выкл</div></td>';
}
stLineHtml += '</tr>';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment