aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2020-07-01 18:48:43 +0300
committermoisseev <moiseev@mezonplus.ru>2020-07-01 18:48:43 +0300
commitdcf7c0974bf84fd7af23e0c09947c806dd85ce5e (patch)
tree134ec535f91b8cc4fbcfe686b76979ea74ddf517
parentfb28a563f9f1b777d94de42e0babcb27fac30cc8 (diff)
downloadrspamd-dcf7c0974bf84fd7af23e0c09947c806dd85ce5e.tar.gz
rspamd-dcf7c0974bf84fd7af23e0c09947c806dd85ce5e.zip
[Minor] Update classes removed in Bootstrap 4
-rw-r--r--interface/css/rspamd.css7
-rw-r--r--interface/js/app/config.js4
-rw-r--r--interface/js/app/stats.js2
3 files changed, 3 insertions, 10 deletions
diff --git a/interface/css/rspamd.css b/interface/css/rspamd.css
index 1041fbbd5..8d36f0242 100644
--- a/interface/css/rspamd.css
+++ b/interface/css/rspamd.css
@@ -499,13 +499,6 @@ td.maps-cell {
background: rgba(100, 230, 80, 0.1) !important;
}
-input.radio {
- margin: 0 !important;
- height: initial;
- -webkit-box-shadow: none !important;
- box-shadow: none !important;
-}
-
.glyphicon-ok {
color: #468847;
}
diff --git a/interface/js/app/config.js b/interface/js/app/config.js
index c10e496a1..043527a99 100644
--- a/interface/js/app/config.js
+++ b/interface/js/app/config.js
@@ -65,7 +65,7 @@ define(["jquery"],
items.push({
idx: idx,
html: "<div class=\"form-group\">" +
- "<label class=\"control-label col-md-2 float-left\">" + label + "</label>" +
+ "<label class=\"col-form-label col-md-2 float-left\">" + label + "</label>" +
"<div class=\"controls slider-controls col-md-10\">" +
"<input class=\"action-scores form-control\" data-id=\"action\" type=\"number\" value=\"" + item.value + "\">" +
"</div>" +
@@ -180,7 +180,7 @@ define(["jquery"],
}
$("#" + item.map).remove();
- $("<form id=\"" + item.map + "\" class=\"form-horizontal form-map\" style=\"display:none\"" +
+ $("<form id=\"" + item.map + "\" style=\"display:none\"" +
" data-type=\"map\" action=\"savemap\" method=\"post\">" +
"<textarea class=\"list-textarea\"" + disabled + ">" + text +
"</textarea>" +
diff --git a/interface/js/app/stats.js b/interface/js/app/stats.js
index 0b20bdd23..c6c320025 100644
--- a/interface/js/app/stats.js
+++ b/interface/js/app/stats.js
@@ -119,7 +119,7 @@ define(["jquery", "d3pie"],
}
$("#clusterTable tbody").append("<tr class=\"" + row_class + "\">" +
- "<td><input type=\"radio\" class=\"form-control radio\" name=\"clusterName\" value=\"" + key + "\"></td>" +
+ "<td class=\"align-middle\"><input type=\"radio\" class=\"form-check m-auto\" name=\"clusterName\" value=\"" + key + "\"></td>" +
"<td>" + key + "</td>" +
"<td>" + val.host + "</td>" +
"<td class=\"text-center\"><span class=\"icon\"><i class=\"" + glyph_status + "\"></i></span></td>" +