1 |
brianr |
1.1 |
diff -urN smeserver-manager-0.1.4.old/root/usr/share/smanager/themes/default/templates/layouts/default.html.ep smeserver-manager-0.1.4/root/usr/share/smanager/themes/default/templates/layouts/default.html.ep |
2 |
|
|
--- smeserver-manager-0.1.4.old/root/usr/share/smanager/themes/default/templates/layouts/default.html.ep 2024-02-08 14:20:47.442092941 +0000 |
3 |
|
|
+++ smeserver-manager-0.1.4/root/usr/share/smanager/themes/default/templates/layouts/default.html.ep 2024-02-08 13:39:00.000000000 +0000 |
4 |
|
|
@@ -104,31 +104,8 @@ |
5 |
|
|
%= content 'js_swapClass' |
6 |
|
|
%= content 'js_togglePassword' |
7 |
|
|
% } |
8 |
|
|
-%= javascript begin |
9 |
|
|
- $(window).on('pageshow', function(){ |
10 |
|
|
- //alert('page show'); |
11 |
|
|
- $('.TableSort').DataTable({ |
12 |
|
|
- "stateSave": true, |
13 |
|
|
- "retrieve": true, |
14 |
|
|
- "responsive":true, |
15 |
|
|
- "language": { |
16 |
|
|
- "emptyTable": "No record found.", |
17 |
|
|
- "processing":'" style="color: rgba(42, 43, 43, 1)">Loading... ', |
18 |
|
|
- "error": function (xhr, error, thrown) {alert("Error occurred while loading data. Please try again.");} |
19 |
|
|
- }, |
20 |
|
|
- "dom": 'Bfrtip', |
21 |
|
|
- "buttons": ['copy', 'csv', 'excel', 'pdf', 'print'] |
22 |
|
|
- |
23 |
|
|
- }); |
24 |
|
|
- $(".sme-modify-button").button({"icon": "ui-icon-pencil"}); |
25 |
|
|
- $(".sme-remove-button").button({"icon": "ui-icon-trash"}); |
26 |
|
|
- $(".sme-password-button").button({"icon": "ui-icon-refresh"}); |
27 |
|
|
- $(".sme-lock-button").button({"icon": "ui-icon-key"}); |
28 |
|
|
- |
29 |
|
|
- }); |
30 |
|
|
-%end |
31 |
|
|
- |
32 |
|
|
- |
33 |
|
|
|
34 |
|
|
+%= javascript '/js/sme-dataTable-setup.js' |
35 |
|
|
+ |
36 |
|
|
</body> |
37 |
|
|
</html> |