]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] WebUI: Remove unused code 2926/head
authormoisseev <moiseev@mezonplus.ru>
Sat, 15 Jun 2019 17:56:17 +0000 (20:56 +0300)
committermoisseev <moiseev@mezonplus.ru>
Sat, 15 Jun 2019 17:56:17 +0000 (20:56 +0300)
interface/index.html
interface/js/app/config.js
interface/js/app/rspamd.js

index a04ef78fc79da370dd76036616ad238f90cc200a..6229d78824612ad4eb32a1afd2ac31dbf5168027 100644 (file)
 </div>
 
 <!-- Common modal -->
-<div id="modalDialog" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="modalLabel">
+<div id="modalDialog" class="modal fade" tabindex="-1" role="dialog">
        <div class="modal-dialog">
                <div class="modal-content">
                        <div class="modal-header">
                                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                                <h3 id="modalTitle"></h3>
                        </div>
-                       <div class="modal-body" id="modalBody">
-                               <div class="progress progress-striped active">
-                                       <div class="bar" style="width: 100%;"></div>
-                               </div>
-                       </div>
+                       <div class="modal-body" id="modalBody"></div>
                        <div class="modal-footer">
                                <button class="btn btn-default" data-dismiss="modal" aria-hidden="true" id="modalClose">Close</button>
                                <button class="btn btn-primary" id="modalSave">Save changes</button>
index 5ab24f9ef3b46f47641ad49ddd72416915dc2523..e679780f4f9e4e8f93157608d5b22931a35ab0ec 100644 (file)
@@ -192,7 +192,6 @@ define(["jquery"],
 
                         $("#modalTitle").html(item.uri);
                         $("#" + item.map).first().show();
-                        $("#modalDialog .progress").hide();
                         $("#modalDialog").modal({backdrop:true, keyboard:"show", show:true});
                         if (item.editable === false) {
                             $("#modalSave").hide();
index e37a08cf00c231551bb84ed517063cbcc518360f..6e4de609dc15f162409249bb48764069284ecd6e 100644 (file)
@@ -167,10 +167,8 @@ function ($, D3pie, visibility, NProgress, stickyTabs, tab_stat, tab_graph, tab_
 
         var buttons = $("#navBar .pull-right");
         $("#mainUI").show();
-        $("#progress").show();
         $(buttons).show();
         $(".nav-tabs-sticky").stickyTabs({initialTab:"#status_nav"});
-        $("#progress").hide();
     }
 
     function alertMessage(alertClass, alertText) {