diff options
author | moisseev <moiseev@mezonplus.ru> | 2020-07-06 13:24:15 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2020-07-06 13:24:15 +0300 |
commit | a6cd5001c246b3a37351c8aa609c54132d1aa8bf (patch) | |
tree | a4dc44065a3db2edf0f74b8479bc3d9a16fbcbf5 /interface/js/main.js | |
parent | 2fdade54525523ab9b706f253c6670e991a4f14a (diff) | |
download | rspamd-a6cd5001c246b3a37351c8aa609c54132d1aa8bf.tar.gz rspamd-a6cd5001c246b3a37351c8aa609c54132d1aa8bf.zip |
[WebUI] Replace Glyphicons with Font Awesome SVG+JS
Diffstat (limited to 'interface/js/main.js')
-rw-r--r-- | interface/js/main.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/interface/js/main.js b/interface/js/main.js index a41d947ce..113d8dfc4 100644 --- a/interface/js/main.js +++ b/interface/js/main.js @@ -10,6 +10,8 @@ requirejs.config({ d3: "d3.min", d3evolution: "d3evolution.min", d3pie: "d3pie.min", + fontawesome: "fontawesome.min", + fontawesome_solid: "solid.min", footable: "footable.min", nprogress: "nprogress.min", stickytabs: "jquery.stickytabs.min" @@ -18,6 +20,7 @@ requirejs.config({ bootstrap: {exports:"bootstrap", deps:["jquery"]}, d3pie: {exports:"d3pie", deps:["d3.global", "jquery"]}, d3evolution: {exports:"D3Evolution", deps:["d3", "jquery"]}, + fontawesome: {exports: "FontAwesome", deps:["fontawesome_solid"]}, footable: {deps:["bootstrap", "jquery"]}, stickytabs: {deps:["jquery"]} }, @@ -50,7 +53,7 @@ requirejs.onError = function (e) { }; // Load main UI -require(["app/rspamd"], +require(["app/rspamd", "fontawesome"], function (rspamd) { "use strict"; rspamd.setup(); |