mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-31 04:46:11 +01:00
Fixed logs page
This commit is contained in:
parent
facc05800b
commit
5b50db7f67
@ -380,6 +380,36 @@ noscript.noscript-warning {
|
|||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**************************************************************/
|
||||||
|
|
||||||
|
/**************************************************************/
|
||||||
|
/* CSS for Virtual Console Displays */
|
||||||
|
/**************************************************************/
|
||||||
|
|
||||||
|
.virt_console {
|
||||||
|
width: 100%;
|
||||||
|
font-size: .8em;
|
||||||
|
padding: 5px 10px;
|
||||||
|
border: 1px solid var(--outline);
|
||||||
|
background-color: var(--card-banner-bg);
|
||||||
|
height: 500px;
|
||||||
|
overflow: scroll;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**************************************************************/
|
||||||
|
|
||||||
|
/**************************************************************/
|
||||||
|
/* CSS for Lists Displays */
|
||||||
|
/**************************************************************/
|
||||||
|
|
||||||
|
ul>li.list-group-item {
|
||||||
|
background-color: var(--card-banner-bg);
|
||||||
|
}
|
||||||
|
|
||||||
|
ul>li.list-group-item i {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/**************************************************************/
|
/**************************************************************/
|
||||||
div.form-group.reset-secret {
|
div.form-group.reset-secret {
|
||||||
background: rgba(243, 21, 6, 0.3);
|
background: rgba(243, 21, 6, 0.3);
|
||||||
|
@ -41,8 +41,7 @@
|
|||||||
|
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<div id="virt_console" class=""
|
<div id="virt_console" class="virt_console">
|
||||||
style="width: 100%; font-size: .8em; padding: 5px 10px; border: 1px solid var(--outline); background-color:var(--card-banner-bg);height:500px; overflow: scroll;">
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
@ -51,12 +50,9 @@
|
|||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
<h4>{{ translate('serverDetails', 'filterList', data['lang']) }}</h4>
|
<h4>{{ translate('serverDetails', 'filterList', data['lang']) }}</h4>
|
||||||
<ul id="ignored-words" style="list-style: None;"></ul>
|
<ul id="ignored-words" class="list-group"></ul>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -148,8 +144,8 @@
|
|||||||
// Display filtered word
|
// Display filtered word
|
||||||
words.push(word);
|
words.push(word);
|
||||||
$("#ignored-words").append(
|
$("#ignored-words").append(
|
||||||
`<li id=${safe_word.replaceAll(" ", "-")}>` +
|
`<li id=${safe_word.replaceAll(" ", "-")} class="list-group-item">` +
|
||||||
"<div class='card-header header-sm d-flex justify-content-between align-items-center'>" +
|
"<div class='text-sm d-flex justify-content-between align-items-center'>" +
|
||||||
`${word} <button class='btn btn-danger' onclick='deleteWord("${word}")' >` +
|
`${word} <button class='btn btn-danger' onclick='deleteWord("${word}")' >` +
|
||||||
"<i class='fas fa-trash'></i></button></div></li>"
|
"<i class='fas fa-trash'></i></button></div></li>"
|
||||||
);
|
);
|
||||||
@ -163,8 +159,8 @@
|
|||||||
let safe_word = sanitize(word);
|
let safe_word = sanitize(word);
|
||||||
|
|
||||||
$("#ignored-words").append(
|
$("#ignored-words").append(
|
||||||
`<li id=${safe_word.replaceAll(" ", "-")}>` +
|
`<li id=${safe_word.replaceAll(" ", "-")} class="list-group-item">` +
|
||||||
"<div class='card-header header-sm d-flex justify-content-between align-items-center'>" +
|
"<div class='text-sm d-flex justify-content-between align-items-center'>" +
|
||||||
`${word} <button class='btn btn-danger' onclick='deleteWord("${word}")' >` +
|
`${word} <button class='btn btn-danger' onclick='deleteWord("${word}")' >` +
|
||||||
"<i class='fas fa-trash'></i></button></div></li>"
|
"<i class='fas fa-trash'></i></button></div></li>"
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user