]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Update classes removed in Bootstrap 4 3418/head
authormoisseev <moiseev@mezonplus.ru>
Wed, 1 Jul 2020 15:48:43 +0000 (18:48 +0300)
committermoisseev <moiseev@mezonplus.ru>
Wed, 1 Jul 2020 15:48:43 +0000 (18:48 +0300)
interface/css/rspamd.css
interface/js/app/config.js
interface/js/app/stats.js

index 1041fbbd5a04c94f8bb6987d974c4c0309ec2246..8d36f0242e20a9b330deb78d885de65e1a69538b 100644 (file)
@@ -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;
 }
index c10e496a1889a2c0e41069aef5225517f8e36eca..043527a99bb5f18b0b7f806bebedb50e483c5f80 100644 (file)
@@ -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>" +
index 0b20bdd23d8ab138666b6e36ec3dfc5a8b569a0c..c6c320025f7afbcab1dc3c3bec815285091fd115 100644 (file)
@@ -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>" +