mirror of
https://github.com/swissmakers/fail2ban-ui.git
synced 2026-04-17 05:53:15 +02:00
Fix ssh connector and rewrite the get jail function, to get all in only one ssh-connection, instead of one for every jail (speed-up), add missing translations
This commit is contained in:
@@ -221,7 +221,7 @@ mark {
|
||||
}
|
||||
|
||||
#statusDot.bg-red-500 {
|
||||
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
|
||||
box-shadow: 0 0 0 0 rgb(163 44 44);
|
||||
animation: pulseRed 2s infinite;
|
||||
}
|
||||
|
||||
@@ -419,4 +419,15 @@ button.bg-red-500, button.bg-red-600 {
|
||||
|
||||
button.bg-red-500:hover, button.bg-red-600:hover {
|
||||
background-color: rgb(220 38 38);
|
||||
}
|
||||
|
||||
/* Green color classes */
|
||||
.bg-green-100 {
|
||||
--tw-bg-opacity: 1;
|
||||
background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
|
||||
}
|
||||
|
||||
.text-green-800 {
|
||||
--tw-text-opacity: 1;
|
||||
color: rgb(22 101 52 / var(--tw-text-opacity, 1));
|
||||
}
|
||||
@@ -206,7 +206,7 @@ function resetServerForm() {
|
||||
document.getElementById('serverName').value = '';
|
||||
document.getElementById('serverType').value = 'local';
|
||||
document.getElementById('serverHost').value = '';
|
||||
document.getElementById('serverPort').value = '';
|
||||
document.getElementById('serverPort').value = '22';
|
||||
document.getElementById('serverSocket').value = '/var/run/fail2ban/fail2ban.sock';
|
||||
document.getElementById('serverLogPath').value = '/var/log/fail2ban.log';
|
||||
document.getElementById('serverHostname').value = '';
|
||||
|
||||
Reference in New Issue
Block a user