1 |
brianr |
1.1 |
diff -urN smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/css/server-manager2.css smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/css/server-manager2.css |
2 |
|
|
--- smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/css/server-manager2.css 2020-06-18 06:25:42.377045522 +0100 |
3 |
|
|
+++ smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/css/server-manager2.css 2020-06-17 18:33:00.000000000 +0100 |
4 |
|
|
@@ -75,8 +75,41 @@ |
5 |
|
|
line-height:1em!important; |
6 |
|
|
} |
7 |
|
|
|
8 |
|
|
+.layout-boxed { |
9 |
|
|
+ background: url('/smanager/dist/img/boxed-bg.jpg') repeat fixed; |
10 |
|
|
+} |
11 |
|
|
+ |
12 |
|
|
+.wrapper { |
13 |
|
|
+ background:#ecf0f5; |
14 |
|
|
+} |
15 |
|
|
+ |
16 |
|
|
+h1 { |
17 |
|
|
+ font-size:2.5em; |
18 |
|
|
+} |
19 |
|
|
+ |
20 |
|
|
+h2 { |
21 |
|
|
+ font-size:2em; |
22 |
|
|
+} |
23 |
|
|
|
24 |
|
|
+h3 { |
25 |
|
|
+ font-size:1.5em; |
26 |
|
|
+} |
27 |
|
|
+ |
28 |
|
|
+h4,h5 { |
29 |
|
|
+ font-size:1em; |
30 |
|
|
+ color:inherit; |
31 |
|
|
+} |
32 |
|
|
|
33 |
|
|
+#h2e12,#h2e23 { |
34 |
|
|
+ font-weight:bolder; |
35 |
|
|
+} |
36 |
|
|
|
37 |
|
|
+td a:link, td a:visited { |
38 |
|
|
+ color:blue; |
39 |
|
|
+} |
40 |
|
|
+ |
41 |
|
|
+td a:hover { |
42 |
|
|
+ color:red; |
43 |
|
|
+} |
44 |
|
|
|
45 |
|
|
|
46 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/AdminLTELogo.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/AdminLTELogo.png differ |
47 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/avatar2.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/avatar2.png differ |
48 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/avatar3.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/avatar3.png differ |
49 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/avatar4.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/avatar4.png differ |
50 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/avatar5.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/avatar5.png differ |
51 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/avatar.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/avatar.png differ |
52 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/boxed-bg.jpg and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/boxed-bg.jpg differ |
53 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/boxed-bg.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/boxed-bg.png differ |
54 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/credit/american-express.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/credit/american-express.png differ |
55 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/credit/cirrus.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/credit/cirrus.png differ |
56 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/credit/mastercard.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/credit/mastercard.png differ |
57 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/credit/paypal2.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/credit/paypal2.png differ |
58 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/credit/paypal.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/credit/paypal.png differ |
59 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/credit/visa.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/credit/visa.png differ |
60 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/default-150x150.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/default-150x150.png differ |
61 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/icons.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/icons.png differ |
62 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/photo1.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/photo1.png differ |
63 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/photo2.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/photo2.png differ |
64 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/photo3.jpg and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/photo3.jpg differ |
65 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/photo4.jpg and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/photo4.jpg differ |
66 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/prod-1.jpg and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/prod-1.jpg differ |
67 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/prod-2.jpg and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/prod-2.jpg differ |
68 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/prod-3.jpg and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/prod-3.jpg differ |
69 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/prod-4.jpg and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/prod-4.jpg differ |
70 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/prod-5.jpg and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/prod-5.jpg differ |
71 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/user1-128x128.jpg and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/user1-128x128.jpg differ |
72 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/user2-160x160.jpg and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/user2-160x160.jpg differ |
73 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/user3-128x128.jpg and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/user3-128x128.jpg differ |
74 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/user4-128x128.jpg and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/user4-128x128.jpg differ |
75 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/user5-128x128.jpg and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/user5-128x128.jpg differ |
76 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/user6-128x128.jpg and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/user6-128x128.jpg differ |
77 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/user7-128x128.jpg and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/user7-128x128.jpg differ |
78 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/dist/img/user8-128x128.jpg and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/dist/img/user8-128x128.jpg differ |
79 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-brands-400.eot and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-brands-400.eot differ |
80 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-brands-400.ttf and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-brands-400.ttf differ |
81 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-brands-400.woff and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-brands-400.woff differ |
82 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-brands-400.woff2 and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-brands-400.woff2 differ |
83 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-regular-400.eot and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-regular-400.eot differ |
84 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-regular-400.ttf and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-regular-400.ttf differ |
85 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-regular-400.woff and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-regular-400.woff differ |
86 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-regular-400.woff2 and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-regular-400.woff2 differ |
87 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-solid-900.eot and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-solid-900.eot differ |
88 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-solid-900.ttf and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-solid-900.ttf differ |
89 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-solid-900.woff and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-solid-900.woff differ |
90 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-solid-900.woff2 and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/fontawesome-free/webfonts/fa-solid-900.woff2 differ |
91 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/jquery-ui/images/ui-icons_444444_256x240.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/jquery-ui/images/ui-icons_444444_256x240.png differ |
92 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/jquery-ui/images/ui-icons_555555_256x240.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/jquery-ui/images/ui-icons_555555_256x240.png differ |
93 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/jquery-ui/images/ui-icons_777620_256x240.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/jquery-ui/images/ui-icons_777620_256x240.png differ |
94 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/jquery-ui/images/ui-icons_777777_256x240.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/jquery-ui/images/ui-icons_777777_256x240.png differ |
95 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/jquery-ui/images/ui-icons_cc0000_256x240.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/jquery-ui/images/ui-icons_cc0000_256x240.png differ |
96 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/jquery-ui/images/ui-icons_ffffff_256x240.png and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/jquery-ui/images/ui-icons_ffffff_256x240.png differ |
97 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/summernote/font/summernote.eot and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/summernote/font/summernote.eot differ |
98 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/summernote/font/summernote.ttf and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/summernote/font/summernote.ttf differ |
99 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/summernote/font/summernote.woff and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/summernote/font/summernote.woff differ |
100 |
|
|
Binary files smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/public/plugins/summernote/font/summernote.woff2 and smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/public/plugins/summernote/font/summernote.woff2 differ |
101 |
|
|
diff -urN smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/templates/layouts/default.html.ep smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/templates/layouts/default.html.ep |
102 |
|
|
--- smeserver-manager-AdminLTE-0.1.0.old/root/usr/share/smanager/themes/AdminLTE/templates/layouts/default.html.ep 2020-06-18 06:25:42.378045533 +0100 |
103 |
|
|
+++ smeserver-manager-AdminLTE-0.1.0/root/usr/share/smanager/themes/AdminLTE/templates/layouts/default.html.ep 2020-06-17 19:00:00.000000000 +0100 |
104 |
|
|
@@ -16,11 +16,10 @@ |
105 |
|
|
%= javascript "/dist/js/adminlte.min.js" |
106 |
|
|
<!-- |
107 |
|
|
%= stylesheet '/css/sme_core.css' |
108 |
|
|
- |
109 |
|
|
%= stylesheet '/css/sme_main.css' |
110 |
|
|
--> |
111 |
|
|
- %= stylesheet '/css/sme_menu.css' |
112 |
|
|
%= stylesheet '/css/styles.css' |
113 |
|
|
+ %= stylesheet '/css/sme_menu.css' |
114 |
|
|
%= include '/partials/_js_imports' |
115 |
|
|
<!-- Font Awesome Icons --> |
116 |
|
|
%= stylesheet "/plugins/fontawesome-free/css/all.min.css" |
117 |
|
|
@@ -32,12 +31,12 @@ |
118 |
|
|
</head> |
119 |
|
|
|
120 |
|
|
<!-- text-<xs|sm|md|lg|xl--> |
121 |
|
|
-<body class="hold-transition sidebar-mini skin-red text-md" > |
122 |
|
|
+<body class="layout-boxed text-md" > |
123 |
|
|
<div class="wrapper"> |
124 |
|
|
<header class="main-header "> |
125 |
|
|
- % if ( not defined $c->session->{lang} ) { |
126 |
|
|
- % SrvMngr::init_session ( $c ); |
127 |
|
|
- % } |
128 |
|
|
+ % if ( not defined $c->session->{lang} ) { |
129 |
|
|
+ % SrvMngr::init_session ( $c ); |
130 |
|
|
+ % } |
131 |
|
|
<div id="header"> |
132 |
|
|
%= include 'partials/_header' |
133 |
|
|
% if (scalar @{SrvMngr::theme_list( $c )} > 1) { |
134 |
|
|
@@ -48,82 +47,82 @@ |
135 |
|
|
%= include 'partials/_info' |
136 |
|
|
% param 'fontsize'=>'text-md' unless 'fontsize'; |
137 |
|
|
%=label_for fontsize=>'Font size:' |
138 |
|
|
- %=select_field fontsize=>[['very small'=>'text-xs'],['small'=>'text-sm'],['medium'=>'text-md'],['large'=>'text-lg'],['very large'=>'text-xl']],onchange=>"SetFontSize()",id=>"fontsizeid" |
139 |
|
|
- |
140 |
|
|
+ %=select_field fontsize=>[['very small'=>'text-xs'],['small'=>'text-sm'],['medium'=>'text-md'],['large'=>'text-lg'],['very large'=>'text-xl']],onchange=>"SetFontSize()",id=>"fontsizeid" |
141 |
|
|
</header> |
142 |
|
|
<div class="sidebar-wrapper"> |
143 |
|
|
- <div id="container"> |
144 |
|
|
- <div id="navigation" class="col-md-3"> |
145 |
|
|
- %= include 'partials/_nav_menu' |
146 |
|
|
-% if ( $c->is_logged_in ) { |
147 |
|
|
- %= include 'partials/_user_menu' |
148 |
|
|
-% } |
149 |
|
|
-% if ( $c->is_admin ) { |
150 |
|
|
- %= include 'partials/_navig2' |
151 |
|
|
-% } |
152 |
|
|
- </div> |
153 |
|
|
- </div> |
154 |
|
|
- <div id="main" class="content-wrapper col-md-9"> |
155 |
|
|
- |
156 |
|
|
- % if (flash 'success') { |
157 |
|
|
- <br><div class=success> |
158 |
|
|
- %= $c->render_to_string(inline => flash 'success') |
159 |
|
|
+ <div id="container"> |
160 |
|
|
+ <div id="navigation" class="col-md-3"> |
161 |
|
|
+ %= include 'partials/_nav_menu' |
162 |
|
|
+ % if ( $c->is_logged_in ) { |
163 |
|
|
+ %= include 'partials/_user_menu' |
164 |
|
|
+ % } |
165 |
|
|
+ % if ( $c->is_admin ) { |
166 |
|
|
+ %= include 'partials/_navig2' |
167 |
|
|
+ % } |
168 |
|
|
+ </div> |
169 |
|
|
</div> |
170 |
|
|
- % } |
171 |
|
|
+ <div id="main" class="content-wrapper col-md-9"> |
172 |
|
|
|
173 |
|
|
- % if ( flash 'error' ) { |
174 |
|
|
- <br><div class=sme-error> |
175 |
|
|
- %= $c->render_to_string(inline => flash 'error') |
176 |
|
|
- </div> |
177 |
|
|
- %} |
178 |
|
|
- %= content 'module' |
179 |
|
|
- <footer> |
180 |
|
|
- %= include 'partials/_footer' |
181 |
|
|
- <span class="adminlte-version"></span> |
182 |
|
|
- </footer> |
183 |
|
|
- </div> |
184 |
|
|
+ % if (flash 'success') { |
185 |
|
|
+ <br><div class=success> |
186 |
|
|
+ %= $c->render_to_string(inline => flash 'success') |
187 |
|
|
+ </div> |
188 |
|
|
+ % } |
189 |
|
|
|
190 |
|
|
+ % if ( flash 'error' ) { |
191 |
|
|
+ <br><div class=sme-error> |
192 |
|
|
+ %= $c->render_to_string(inline => flash 'error') |
193 |
|
|
+ </div> |
194 |
|
|
+ %} |
195 |
|
|
+ %= content 'module' |
196 |
|
|
+ <footer> |
197 |
|
|
+ %= include 'partials/_footer' |
198 |
|
|
+ <span class="adminlte-version"></span> |
199 |
|
|
+ </footer> |
200 |
|
|
+ </div> |
201 |
|
|
%= include 'common_js' |
202 |
|
|
- %= content 'js_swapClass' |
203 |
|
|
- |
204 |
|
|
+ %= content 'js_swapClass' |
205 |
|
|
<script> |
206 |
|
|
- $(document).ready(function() { |
207 |
|
|
- const classSelector = 'adminlte-version'; |
208 |
|
|
- const versionType = 'full'; // 'full' OR true; |
209 |
|
|
- for (var i = 0, max = document.styleSheets.length; i < max; i++) { |
210 |
|
|
- if ((document.styleSheets[i].href).includes("adminlte")) { |
211 |
|
|
- $.ajax({ |
212 |
|
|
- url: document.styleSheets[i].href, |
213 |
|
|
- dataType: "text", |
214 |
|
|
- success: function(cssText) { |
215 |
|
|
- const searchReg = /AdminLTE v([0-9.]{0,})/; |
216 |
|
|
- const result = cssText.match(searchReg); |
217 |
|
|
- $(`.${classSelector}`).text(result[versionType == 'full' ? 0 : 1]); |
218 |
|
|
+ $(document).ready(function() { |
219 |
|
|
+ const classSelector = 'adminlte-version'; |
220 |
|
|
+ const versionType = 'full'; // 'full' OR true; |
221 |
|
|
+ for (var i = 0, max = document.styleSheets.length; i < max; i++) { |
222 |
|
|
+ if ((document.styleSheets[i].href).includes("adminlte")) { |
223 |
|
|
+ $.ajax({ |
224 |
|
|
+ url: document.styleSheets[i].href, |
225 |
|
|
+ dataType: "text", |
226 |
|
|
+ success: function(cssText) { |
227 |
|
|
+ const searchReg = /AdminLTE v([0-9.]{0,})/; |
228 |
|
|
+ const result = cssText.match(searchReg); |
229 |
|
|
+ $(`.${classSelector}`).text(result[versionType == 'full' ? 0 : 1]); |
230 |
|
|
+ } |
231 |
|
|
+ }); |
232 |
|
|
+ } |
233 |
|
|
} |
234 |
|
|
- }); |
235 |
|
|
- } |
236 |
|
|
- } |
237 |
|
|
- /* Overload the sme classes with those from AdminLTE */ |
238 |
|
|
- $(".sme-error").addClass("card card-danger card-body"); |
239 |
|
|
- $(".success").addClass("card card-success card-body"); |
240 |
|
|
- $(".sme-success").addClass("card card-success card-body"); |
241 |
|
|
- $("table.sme-border").addClass("table table-striped"); |
242 |
|
|
- $("#footer").addClass("card card-info card-body"); |
243 |
|
|
- $("#container").addClass("nav"); |
244 |
|
|
- $(".menu-cell").addClass("nav-item"); |
245 |
|
|
- /* Sort out font size */ |
246 |
|
|
- var fontsize = localStorage.getItem('fontsize'); |
247 |
|
|
- if (fontsize == ""){fontsize = 'text-md'} |
248 |
|
|
- /*$("body").removeClass('text-xs text-sm text-md text-lg text-xl').addClass(fontsize);*/ |
249 |
|
|
- /*alert("/"+fontsize+"/");*/ |
250 |
|
|
- $("#fontsizeid").val(fontsize).change(); |
251 |
|
|
- }); |
252 |
|
|
- function SetFontSize(){ |
253 |
|
|
- var myselect = document.getElementById("fontsizeid"); |
254 |
|
|
- var textclass = myselect.options[myselect.selectedIndex].value; |
255 |
|
|
- $("body").removeClass('text-xs text-sm text-md text-lg text-xl').addClass(textclass); |
256 |
|
|
- localStorage.setItem('fontsize',textclass); |
257 |
|
|
- }; |
258 |
|
|
+ /* Overload the sme classes with those from AdminLTE */ |
259 |
|
|
+ $(".sme-error").addClass("card card-danger card-body"); |
260 |
|
|
+ $(".success").addClass("card card-success card-body"); |
261 |
|
|
+ $(".sme-success").addClass("card card-success card-body"); |
262 |
|
|
+ $("table.sme-border").addClass("table table-striped"); |
263 |
|
|
+ $("#footer").addClass("card card-info card-body"); |
264 |
|
|
+ /*$("#container").addClass("nav")*/ |
265 |
|
|
+ $(".menu-cell").addClass("nav-item") |
266 |
|
|
+ /* Sort out font size */ |
267 |
|
|
+ var fontsize = localStorage.getItem('fontsize'); |
268 |
|
|
+ if (fontsize == ""){fontsize = 'text-md'} |
269 |
|
|
+ $("#fontsizeid").val(fontsize).change(); |
270 |
|
|
+ }); |
271 |
|
|
+ function SetFontSize(){ |
272 |
|
|
+ var myselect = document.getElementById("fontsizeid"); |
273 |
|
|
+ var textclass = myselect.options[myselect.selectedIndex].value; |
274 |
|
|
+ $("body").removeClass('text-xs text-sm text-md text-lg text-xl').addClass(textclass); |
275 |
|
|
+ localStorage.setItem('fontsize',textclass); |
276 |
|
|
+ }; |
277 |
|
|
+ (function ($) { |
278 |
|
|
+ $.fn.replaceClass = function (pFromClass, pToClass) { |
279 |
|
|
+ return this.removeClass(pFromClass).addClass(pToClass); |
280 |
|
|
+ }; |
281 |
|
|
+ }(jQuery)); |
282 |
|
|
</script> |
283 |
|
|
</div> |
284 |
|
|
</body> |