1 |
brianr |
1.1 |
diff -urN smeserver-manager-AdminLTE-0.1.3.old/root/usr/share/smanager/themes/AdminLTE/templates/layouts/default.html.ep smeserver-manager-AdminLTE-0.1.3/root/usr/share/smanager/themes/AdminLTE/templates/layouts/default.html.ep |
2 |
|
|
--- smeserver-manager-AdminLTE-0.1.3.old/root/usr/share/smanager/themes/AdminLTE/templates/layouts/default.html.ep 2022-02-15 11:58:05.000381547 +0000 |
3 |
|
|
+++ smeserver-manager-AdminLTE-0.1.3/root/usr/share/smanager/themes/AdminLTE/templates/layouts/default.html.ep 2022-02-15 11:41:00.000000000 +0000 |
4 |
|
|
@@ -33,6 +33,8 @@ |
5 |
|
|
%= stylesheet "/css/adminlte-header-and-footer.css" |
6 |
|
|
%= stylesheet "/css/adminlte-content.css" |
7 |
|
|
%= content_for 'head_contrib' |
8 |
|
|
+ %= include 'partials/_js_imports' |
9 |
|
|
+ %= include 'common_js' |
10 |
|
|
%= content_for 'refresh' |
11 |
|
|
|
12 |
|
|
</head> |
13 |
|
|
@@ -252,9 +254,8 @@ |
14 |
|
|
|
15 |
|
|
<!-- jQuery --> |
16 |
|
|
%= javascript "/plugins/jquery/jquery.min.js" |
17 |
|
|
- <!-- Show hide password |
18 |
|
|
%= javascript "/plugins/hideShowPassword.min.js" |
19 |
|
|
- --> |
20 |
|
|
+ |
21 |
|
|
<!-- Bootstrap 4 --> |
22 |
|
|
%= javascript "/plugins/bootstrap/js/bootstrap.bundle.min.js" |
23 |
|
|
<!-- AdminLTE App --> |
24 |
|
|
@@ -262,14 +263,17 @@ |
25 |
|
|
|
26 |
|
|
<!-- Breadcrumbs |
27 |
|
|
%= javascript "/js/jquery-bootstrap-breadcrumb.js" |
28 |
|
|
+ --> |
29 |
|
|
|
30 |
|
|
+ <!-- |
31 |
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns" crossorigin="anonymous"></script> |
32 |
|
|
--> |
33 |
|
|
|
34 |
|
|
|
35 |
|
|
<!-- SME specific scripts --> |
36 |
|
|
%= include 'common_js' |
37 |
|
|
- %= content 'js_swapClass' |
38 |
|
|
+ %= content 'js_swapClass' |
39 |
|
|
+ %= content 'js_togglePassword' |
40 |
|
|
<script> |
41 |
|
|
$(document).ready(function() { |
42 |
|
|
const classSelector = 'adminlte-version'; |
43 |
|
|
@@ -376,6 +380,7 @@ |
44 |
|
|
return this.href == url; |
45 |
|
|
}).parentsUntil(".sidebar-menu > .treeview-menu").addClass('active'); |
46 |
|
|
|
47 |
|
|
+ /* |
48 |
|
|
//Setup passord visibility toggle |
49 |
|
|
(function ($) { |
50 |
|
|
$.fn.togglePasswordVisibility = function() { |
51 |
|
|
@@ -390,6 +395,7 @@ |
52 |
|
|
}); |
53 |
|
|
}; |
54 |
|
|
}(jQuery)); |
55 |
|
|
+ */ |
56 |
|
|
|
57 |
|
|
</script> |
58 |
|
|
</body> |