commit dcf7c09: [Minor] Update classes removed in Bootstrap 4
moisseev
moiseev at mezonplus.ru
Wed Jul 1 16:21:12 UTC 2020
Author: moisseev
Date: 2020-07-01 18:48:43 +0300
URL: https://github.com/rspamd/rspamd/commit/dcf7c0974bf84fd7af23e0c09947c806dd85ce5e (refs/pull/3418/head)
[Minor] Update classes removed in Bootstrap 4
---
interface/css/rspamd.css | 7 -------
interface/js/app/config.js | 4 ++--
interface/js/app/stats.js | 2 +-
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>" +
More information about the Commits
mailing list