|
1 | 1 | <!DOCTYPE html> |
2 | 2 | <html lang="en"> |
3 | 3 | <head> |
4 | | - <meta charset="UTF-8"> |
5 | | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
6 | | - <title><%= content_for(:title) || "Skillrx" %></title> |
| 4 | + <meta charset="UTF-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <title><%= content_for(:title) || "Skillrx" %></title> |
7 | 7 |
|
8 | | - <meta name="viewport" content="width=device-width,initial-scale=1"> |
9 | | - <meta name="apple-mobile-web-app-capable" content="yes"> |
10 | | - <meta name="mobile-web-app-capable" content="yes"> |
11 | | - <%= csrf_meta_tags %> |
12 | | - <%= csp_meta_tag %> |
| 8 | + <meta name="viewport" content="width=device-width,initial-scale=1"> |
| 9 | + <meta name="apple-mobile-web-app-capable" content="yes"> |
| 10 | + <meta name="mobile-web-app-capable" content="yes"> |
| 11 | + <%= csrf_meta_tags %> |
| 12 | + <%= csp_meta_tag %> |
13 | 13 |
|
14 | | - <%= yield :head %> |
| 14 | + <%= yield :head %> |
15 | 15 |
|
16 | | - <%# Enable PWA manifest for installable apps (make sure to enable in config/routes.rb too!) %> |
17 | | - <%#= tag.link rel: "manifest", href: pwa_manifest_path(format: :json) %> |
| 16 | + <%# Enable PWA manifest for installable apps (make sure to enable in config/routes.rb too!) %> |
| 17 | + <%#= tag.link rel: "manifest", href: pwa_manifest_path(format: :json) %> |
18 | 18 |
|
19 | 19 |
|
20 | | - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/compiled/css/app.css"> |
21 | | - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/compiled/css/app-dark.css"> |
22 | | - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/compiled/css/iconly.css"> |
| 20 | + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/compiled/css/app.css"> |
| 21 | + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/compiled/css/app-dark.css"> |
| 22 | + <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/compiled/css/iconly.css"> |
23 | 23 |
|
24 | | - <%# Includes all stylesheet files in app/assets/stylesheets %> |
25 | | - <%= stylesheet_link_tag :app, "data-turbo-track": "reload" %> |
26 | | - <%= javascript_importmap_tags %> |
| 24 | + <%# Includes all stylesheet files in app/assets/stylesheets %> |
| 25 | + <%= stylesheet_link_tag :app, "data-turbo-track": "reload" %> |
| 26 | + <%= javascript_importmap_tags %> |
27 | 27 | </head> |
28 | 28 |
|
29 | 29 | <body> |
30 | | - <!-- Only for connexion and reset password not display sidebar --> |
31 | | - <% unless current_page?('/connexion') || current_page?('/reset_password') %> |
32 | | - <%= render "layouts/sidebar" %> |
| 30 | + <script src="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/static/js/initTheme.js"></script> |
33 | 31 |
|
34 | | - <% end %> |
35 | | - <%= yield %> |
| 32 | + <!-- Start content here --> |
| 33 | + <%= render "layouts/sidebar" %> |
36 | 34 |
|
37 | | - <script src="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/static/js/initTheme.js"></script> |
38 | | - <!-- Start content here --> |
| 35 | + <%= yield %> |
| 36 | + <!-- End content --> |
39 | 37 |
|
40 | | - <%#= render "layouts/sidebar" %> |
| 38 | + <script src="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/static/js/components/dark.js"></script> |
| 39 | + <script src="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/extensions/perfect-scrollbar/perfect-scrollbar.min.js"></script> |
41 | 40 |
|
42 | | - <!-- End content --> |
43 | | - <script src="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/static/js/components/dark.js"></script> |
44 | | - <script src="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/extensions/perfect-scrollbar/perfect-scrollbar.min.js"></script> |
| 41 | + <script src="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/compiled/js/app.js"></script> |
45 | 42 |
|
46 | | - <script src="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/compiled/js/app.js"></script> |
47 | | - |
48 | | - <!-- Need: Apexcharts --> |
49 | | - <script src="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/extensions/apexcharts/apexcharts.min.js"></script> |
50 | | - <script src="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/static/js/pages/dashboard.js"></script> |
| 43 | + <!-- Need: Apexcharts --> |
| 44 | + <script src="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/extensions/apexcharts/apexcharts.min.js"></script> |
| 45 | + <script src="https://cdn.jsdelivr.net/gh/zuramai/mazer@docs/demo/assets/static/js/pages/dashboard.js"></script> |
51 | 46 | </body> |
52 | 47 | </html> |
0 commit comments