Просмотр исходного кода

[Minor] WebUI: Remove unused code

tags/2.0
moisseev 5 лет назад
Родитель
Сommit
0a60f65e12
3 измененных файлов: 2 добавлений и 9 удалений
  1. 2
    6
      interface/index.html
  2. 0
    1
      interface/js/app/config.js
  3. 0
    2
      interface/js/app/rspamd.js

+ 2
- 6
interface/index.html Просмотреть файл

@@ -328,18 +328,14 @@
</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>

+ 0
- 1
interface/js/app/config.js Просмотреть файл

@@ -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();

+ 0
- 2
interface/js/app/rspamd.js Просмотреть файл

@@ -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) {

Загрузка…
Отмена
Сохранить