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-07 09:44:03.958643482 +0000 |
3 |
+++ smeserver-manager-0.1.4/root/usr/share/smanager/themes/default/templates/layouts/default.html.ep 2024-02-07 09:18:00.000000000 +0000 |
4 |
@@ -23,7 +23,24 @@ |
5 |
%= stylesheet '/js/jquery-ui.min.css' |
6 |
%= javascript '/js/jquery-ui.min.js' |
7 |
|
8 |
+ %= stylesheet '/js/dataTables.buttons.min.js' |
9 |
+ %= stylesheet '/js/jszip.min.js' |
10 |
+ %= stylesheet '/js/pdfmake.min.js' |
11 |
+ %= stylesheet '/js/vfs_fonts.js' |
12 |
+ %= stylesheet '/js/buttons.html5.min.js' |
13 |
+ %= stylesheet '/js/buttons.print.min.js' |
14 |
+ |
15 |
%= stylesheet '/css/sme-jquery-overrides.css' |
16 |
+ |
17 |
+ |
18 |
+ <!--><script src="https://cdn.datatables.net/buttons/2.4.2/js/dataTables.buttons.min.js"></script> |
19 |
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js"></script> |
20 |
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/pdfmake.min.js"></script> |
21 |
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/vfs_fonts.js"></script> |
22 |
+ <script src="https://cdn.datatables.net/buttons/2.4.2/js/buttons.html5.min.js"></script> |
23 |
+ <script src="https://cdn.datatables.net/buttons/2.4.2/js/buttons.print.min.js"></script> |
24 |
+ --> |
25 |
+ |
26 |
|
27 |
<!-- ><link href="https://cdn.datatables.net/v/dt/dt-1.13.8/datatables.min.css" rel="stylesheet"> |
28 |
<script src="https://cdn.datatables.net/v/dt/dt-1.13.8/datatables.min.js"></script> |
29 |
@@ -98,7 +115,10 @@ |
30 |
"emptyTable": "No record found.", |
31 |
"processing":'" style="color: rgba(42, 43, 43, 1)">Loading... ', |
32 |
"error": function (xhr, error, thrown) {alert("Error occurred while loading data. Please try again.");} |
33 |
- } |
34 |
+ }, |
35 |
+ "dom": 'Bfrtip', |
36 |
+ "buttons": ['copy', 'csv', 'excel', 'pdf', 'print'] |
37 |
+ |
38 |
}); |
39 |
$(".sme-modify-button").button({"icon": "ui-icon-pencil"}); |
40 |
$(".sme-remove-button").button({"icon": "ui-icon-trash"}); |