commons_bs5_tabler.html
1 <#-- WARNING : be careful to white-space and lines break in FreeMarker macros.
2 # This macro template can be used to output white-space-sensitive formats (like RSS files).
3 # See http://dev.lutece.paris.fr/jira/browse/LUTECE-765
4 -->
5 <#-- Do not remove this comment -->
6 <#-- Information about this commons file -->
7 <#macro commonsFile>commons_bs5_tabler.html</#macro>
8 <#macro commonsName>Commons Bootstrap 5 + Tabler 1.0</#macro>
9 <#macro commonsPreview>themes/admin/tabler/images/preview.png</#macro>
10 <#macro commonsDescription>Freemarker Commons macros powered by Bootstrap CSS Framework 5 + Tabler 1</#macro>
11 <#-- Path -->
12 <#assign commonsJsPath='js/' />
13 <#assign commonsCssPath='css/' />
14 <#-- Shared Path -->
15 <#assign commonsSharedPath='themes/admin/shared/' />
16 <#assign commonsSharedFtlPath='admin/themes/shared/' />
17 <#-- Theme Code -->
18 <#assign commonsThemeCode='tabler' />
19 <#-- Theme All Path -->
20 <#assign commonsThemePath='themes/admin/${commonsThemeCode}/' />
21 <#-- Theme FTL Path -->
22 <#assign commonsFtlPath='admin/themes/${commonsThemeCode}/' />
23 <#assign commonsAdminLayout=dskey('portal.site.site_property.layout.code') />
24 <#-- Theme Variables -->
25 <#assign commonsAdminLayoutClass=dskey('portal.site.site_property.layout.class') />
26 <#-- Theme Macros -->
27 <#macro coreAdminCSSLinks>
28 <!-- Shared CSS -->
29 <link href="css/admin/style/tabler/all.min.css" rel="stylesheet"> <!-- Font-Awesome 5.8.1 -->
30 <link href="css/admin/style/tabler/bootstrap-colorpicker.min.css" rel="stylesheet"><!-- BS colorpicker -->
31 <link href="css/admin/jquery-ui.min.css" rel="stylesheet" > <!-- provided by core -->
32 <link href="css/admin/jquery-ui.structure.min.css" rel="stylesheet" > <!-- provided by core -->
33 <link href="css/admin/jquery-ui.theme.min.css" rel="stylesheet" > <!-- provided by core -->
34 <link href="${commonsSharedPath}${commonsCssPath}vendor/bootstrap/bootstrap-icons.min.css" rel="stylesheet" > <#-- Bootstrap Icons -->
35 <link href="${commonsSharedPath}${commonsCssPath}vendor/tabler/tabler-icons.min.css" rel="stylesheet"><#-- Tabler icons -->
36 <link href="${commonsSharedPath}${commonsCssPath}vendor/tabler/tabler-flags.min.css" rel="stylesheet"><#-- Tabler flags -->
37 <link href="${commonsSharedPath}${commonsCssPath}vendor/tabler/tabler-payments.min.css" rel="stylesheet"><#-- Tabler payment -->
38 <link href="${commonsSharedPath}${commonsJsPath}lib/polipop/css/polipop.core.min.css" rel="stylesheet"><#-- Polipop main -->
39 <link href="${commonsSharedPath}${commonsJsPath}lib/polipop/css/polipop.default.min.css" rel="stylesheet"><#-- Polipop theme -->
40 <link href="${commonsSharedPath}${commonsCssPath}portal_admin.min.css" rel="stylesheet"><#-- Lutece main admin CSS -->
41 <!-- Theme <@commonsName /> CSS -->
42 <link href="${commonsThemePath}${commonsCssPath}vendor/tabler.min.css" rel="stylesheet"><#-- Tabler main -->
43 <link href="${commonsThemePath}${commonsCssPath}portal_admin.min.css" rel="stylesheet"><#-- Lutece main admin CSS -->
44 <link href="${commonsThemePath}${commonsCssPath}portal_admin_site.min.css" rel="stylesheet"><#-- Site override admin CSS -Empty by default- -->
45 <script src="js/admin/jquery/jquery-3.6.0.min.js"></script> <!-- main JQuery file -->
46 </#macro>
47 <#macro coreAdminJSLinks>
48 <!-- Shared JS -->
49 <script src="js/admin/jquery/jquery-migrate-1.4.1.min.js"></script> <!-- Compat JQuery file -->
50 <script src="js/admin/jquery/jquery-ui.min.js"></script>
51 <script src="js/admin/style/tabler/bootstrap-filestyle.min.js"></script>
52 <script src="js/admin/style/tabler/bootstrap-colorpicker.js"></script>
53 <script src="js/util/progress-manager.js"></script>
54 <script src="${commonsSharedPath}${commonsJsPath}lib/bootstrap/bootstrap.bundle.min.js"></script><#-- Bootstrap main -->
55 <script src="${commonsSharedPath}${commonsJsPath}lib/sortable/Sortable.min.js"></script> <#-- Sortable lib main -->
56 <script src="${commonsSharedPath}${commonsJsPath}lib/polipop/polipop.min.js"></script><#-- Polipop main -->
57 <!-- Theme <@commonsName /> JS -->
58 <script src="${commonsThemePath}${commonsJsPath}admin.min.js"></script><#-- Theme main JS -->
59 </#macro>
60 <#include "commons_macros.html" />