mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-02 03:16:53 +00:00
客户端服务端分离
This commit is contained in:
4
web/static/css/font-awesome.min.css
vendored
Executable file
4
web/static/css/font-awesome.min.css
vendored
Executable file
File diff suppressed because one or more lines are too long
15240
web/static/css/main.css
Executable file
15240
web/static/css/main.css
Executable file
File diff suppressed because it is too large
Load Diff
BIN
web/static/fonts/FontAwesome.otf
Executable file
BIN
web/static/fonts/FontAwesome.otf
Executable file
Binary file not shown.
BIN
web/static/fonts/fontawesome-webfont.eot
Executable file
BIN
web/static/fonts/fontawesome-webfont.eot
Executable file
Binary file not shown.
2671
web/static/fonts/fontawesome-webfont.svg
Executable file
2671
web/static/fonts/fontawesome-webfont.svg
Executable file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 434 KiB |
BIN
web/static/fonts/fontawesome-webfont.ttf
Executable file
BIN
web/static/fonts/fontawesome-webfont.ttf
Executable file
Binary file not shown.
BIN
web/static/fonts/fontawesome-webfont.woff
Executable file
BIN
web/static/fonts/fontawesome-webfont.woff
Executable file
Binary file not shown.
BIN
web/static/fonts/fontawesome-webfont.woff2
Executable file
BIN
web/static/fonts/fontawesome-webfont.woff2
Executable file
Binary file not shown.
BIN
web/static/img/48.jpg
Normal file
BIN
web/static/img/48.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
BIN
web/static/img/favicon.ico
Executable file
BIN
web/static/img/favicon.ico
Executable file
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
194
web/static/js/datatables.min.js
vendored
Executable file
194
web/static/js/datatables.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
27
web/static/js/main.js
Executable file
27
web/static/js/main.js
Executable file
@@ -0,0 +1,27 @@
|
||||
(function () {
|
||||
"use strict";
|
||||
|
||||
var treeviewMenu = $('.app-menu');
|
||||
|
||||
// Toggle Sidebar
|
||||
$('[data-toggle="sidebar"]').click(function(event) {
|
||||
event.preventDefault();
|
||||
$('.app').toggleClass('sidenav-toggled');
|
||||
});
|
||||
|
||||
// Activate sidebar treeview toggle
|
||||
$("[data-toggle='treeview']").click(function(event) {
|
||||
event.preventDefault();
|
||||
if(!$(this).parent().hasClass('is-expanded')) {
|
||||
treeviewMenu.find("[data-toggle='treeview']").parent().removeClass('is-expanded');
|
||||
}
|
||||
$(this).parent().toggleClass('is-expanded');
|
||||
});
|
||||
|
||||
// Set initial active toggle
|
||||
$("[data-toggle='treeview.'].is-expanded").parent().toggleClass('is-expanded');
|
||||
|
||||
//Activate bootstrip tooltips
|
||||
// $("[data-toggle='tooltip']").tooltip();
|
||||
|
||||
})();
|
Reference in New Issue
Block a user