/[smecontribs]/rpms/smeserver-manager-AdminLTE/contribs10/smeserver-manager-AdminLTE-0.1.3-Make-jquery-required.patch
ViewVC logotype

Annotation of /rpms/smeserver-manager-AdminLTE/contribs10/smeserver-manager-AdminLTE-0.1.3-Make-jquery-required.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Feb 28 15:41:48 2022 UTC (2 years, 8 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-manager-AdminLTE-0_1_3-19_el7_sme, smeserver-manager-AdminLTE-0_1_3-18_el7_sme, smeserver-manager-AdminLTE-0_1_4-1_el7_sme, smeserver-manager-AdminLTE-0_1_3-20_el7_sme, smeserver-manager-AdminLTE-0_1_3-21_el7_sme, HEAD
* Mon Feb 28 2022 Brian Read <brianr@bjsystems.co.uk> 0.1.3-18.sme
- Sort-Browser-Error-on-non-login-panels [SME 11880]
- and set password visibility to use same js code as default theme

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>

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed