appscms-tools-theme 5.2.1 → 5.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,81 +4,98 @@ assign boxColor = site.data[page.folderName][page.lang][page.fileName].color -%}
4
4
 
5
5
  <!DOCTYPE html>
6
6
  <html lang="{{ page.lang }}">
7
- {%- include appscms/head/head.html -%}
8
-
9
- <body
10
- data-developer-key="{{ site.developerKey }}"
11
- data-client-id="{{ site.clientId }}"
12
- data-app-id="{{ site.appId }}"
13
- data-dropbox-apikey="{{ site.dropboxapikey }}"
14
- >
15
- {%- include appscms/navbars/navbar.html -%} {%- include
16
- appscms/navbars/toolbar.html -%} {%- include bookmark.html -%} {%- if
17
- site.safeui -%}
18
- <div
19
- class="alert alert-{{pageData.variant | default: 'primary'}} fade show text-center"
20
- role="alert"
21
- id="safeui-alert"
22
- >
23
- <svg
24
- height="25"
25
- width="25"
26
- fill="#004084"
27
- viewBox="0 0 1024 1024"
28
- xmlns="http://www.w3.org/2000/svg"
29
- stroke="#004084"
30
- >
31
- <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
32
- <g
33
- id="SVGRepo_tracerCarrier"
34
- stroke-linecap="round"
35
- stroke-linejoin="round"
36
- ></g>
37
- <g id="SVGRepo_iconCarrier">
38
- <path
39
- d="M512 64L128 192v384c0 212.1 171.9 384 384 384s384-171.9 384-384V192L512 64zm312 512c0 172.3-139.7 312-312 312S200 748.3 200 576V246l312-110 312 110v330z"
40
- ></path>
41
- <path
42
- d="M378.4 475.1a35.91 35.91 0 0 0-50.9 0 35.91 35.91 0 0 0 0 50.9l129.4 129.4 2.1 2.1a33.98 33.98 0 0 0 48.1 0L730.6 434a33.98 33.98 0 0 0 0-48.1l-2.8-2.8a33.98 33.98 0 0 0-48.1 0L483 579.7 378.4 475.1z"
43
- ></path>
44
- </g>
45
- </svg>
46
-
47
- {%- if pageData.alertmsg -%} {{pageData.alertmsg}} {%- else -%} We do not
48
- upload any files to server, hence your data is 100% secure. {%- endif -%}
49
- </div>
50
- {%- endif -%} {%- include appscms/headings/headings.html -%}
51
- <div class="appscms-sidebar-left"></div>
52
- <div class="appscms-sidebar-right"></div>
53
- {%- include appscms/uploadbutton/uploadbutton.html -%} {%- include
54
- appscms/featurehighlight/featurehighlight.html -%} {%- include
55
- appscms/howto/howto.html -%} {%- if pageData.infographics.size > 0 -%} {%-
56
- include appscms/infographics/infographics.html -%} {%- endif -%} {%- include
57
- appscms/faq/faq.html -%} {%- include appscms/usp/usp.html -%} {%- include
58
- appscms/reviews/trustpilot.html -%}
59
- <!-- {%- include
7
+ {%- include appscms/head/head.html -%}
8
+
9
+ <body data-developer-key="{{ site.developerKey }}" data-client-id="{{ site.clientId }}" data-app-id="{{ site.appId }}"
10
+ data-dropbox-apikey="{{ site.dropboxapikey }}">
11
+
12
+
13
+
14
+
15
+ {%- include contenttool_banner.html -%}
16
+
17
+
18
+ {%- include appscms/navbars/navbar.html -%} {%- include
19
+ appscms/navbars/toolbar.html -%} {%- include bookmark.html -%} {%- if
20
+ site.safeui -%}
21
+ <div class="alert alert-{{pageData.variant | default: 'primary'}} fade show text-center" role="alert"
22
+ id="safeui-alert">
23
+ <svg height="25" width="25" fill="#004084" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg"
24
+ stroke="#004084">
25
+ <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
26
+ <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
27
+ <g id="SVGRepo_iconCarrier">
28
+ <path
29
+ d="M512 64L128 192v384c0 212.1 171.9 384 384 384s384-171.9 384-384V192L512 64zm312 512c0 172.3-139.7 312-312 312S200 748.3 200 576V246l312-110 312 110v330z">
30
+ </path>
31
+ <path
32
+ d="M378.4 475.1a35.91 35.91 0 0 0-50.9 0 35.91 35.91 0 0 0 0 50.9l129.4 129.4 2.1 2.1a33.98 33.98 0 0 0 48.1 0L730.6 434a33.98 33.98 0 0 0 0-48.1l-2.8-2.8a33.98 33.98 0 0 0-48.1 0L483 579.7 378.4 475.1z">
33
+ </path>
34
+ </g>
35
+ </svg>
36
+
37
+ {%- if pageData.alertmsg -%} {{pageData.alertmsg}} {%- else -%} We do not
38
+ upload any files to server, hence your data is 100% secure. {%- endif -%}
39
+ </div>
40
+ {%- endif -%}
41
+
42
+
43
+ <script>
44
+ function closeBanner() {
45
+ const banner = document.getElementById('promoBanner');
46
+ banner.style.transform = 'translateY(-100%)';
47
+ banner.style.opacity = '0';
48
+ setTimeout(() => {
49
+ banner.style.display = 'none';
50
+ }, 300);
51
+ }
52
+
53
+
54
+ // Auto-hide after 30 seconds (optional)
55
+ setTimeout(() => {
56
+ const banner = document.getElementById('promoBanner');
57
+ if (banner.style.display !== 'none') {
58
+ banner.style.opacity = '0.8';
59
+ }
60
+ }, 30000);
61
+ </script>
62
+
63
+
64
+ {%- include appscms/headings/headings.html -%}
65
+ <div class="appscms-sidebar-left"></div>
66
+ <div class="appscms-sidebar-right"></div>
67
+
68
+
69
+ {%- include appscms/uploadbutton/uploadbutton.html -%} {%- include
70
+ appscms/featurehighlight/featurehighlight.html -%} {%- include
71
+ appscms/howto/howto.html -%} {%- if pageData.infographics.size > 0 -%} {%-
72
+ include appscms/infographics/infographics.html -%} {%- endif -%} {%- include
73
+ appscms/faq/faq.html -%} {%- include appscms/usp/usp.html -%} {%- include
74
+ appscms/reviews/trustpilot.html -%}
75
+ <!-- {%- include
60
76
  appscms/extras/traffic-count.html -%} -->
61
- {%- if site.userTrackingCount -%} {%- include userTracking.html -%} {%-
62
- endif -%} {%- assign langen = "en" -%} {%- if
63
- site.data[folder][langen][file].categories -%} {% assign categories=
64
- site.data[folder][langen][file].categories %} {%- else -%} {% assign
65
- categories= page.categories %} {%- endif -%} {%- if
66
- site.data[folder][langen][file].tags -%} {% assign tags=
67
- site.data[folder][langen][file].tags %} {%- else -%} {% assign tags=
68
- page.tags %} {%- endif -%} {%- if pageData.posts.size > 0 -%} {%- include
69
- appscms/customblog/pageRelatedPosts.html -%} {%- else -%} {%- if
70
- categories.size > 0 or tags.size > 0 -%} {%- include
71
- appscms/recent-posts/related_categories_post.html -%} {%- else -%} {%-
72
- include appscms/recent-posts/recent_posts.html -%} {%- endif -%} {%- endif
73
- -%} {%- if site.customblogdata -%} {%- if categories.size> 0 or
74
- tags.size>0-%} {%- include appscms/customblog/relatedposts.html -%} {%- else
75
- -%} {%- include appscms/customblog/recentposts.html -%} {% endif %} {%-
76
- endif -%} {%- include appscms/extras/ratings.html -%} {%- if
77
- pageData.author.size > 0 -%} {% include
78
- appscms/featurePageAuthors/featurePageAuthors.html %} {%- endif -%} {%-
79
- include appscms/footer/products.html -%} {%- include
80
- internationalization-section.html -%}{%- include appscms/footer/footer.html
81
- -%} {%- if site.customCode -%} {%- include customCode.html -%}{%- endif -%}
82
- {%- include appscms/scripts/script.html -%}
83
- </body>
84
- </html>
77
+ {%- if site.userTrackingCount -%} {%- include userTracking.html -%} {%-
78
+ endif -%} {%- assign langen = "en" -%} {%- if
79
+ site.data[folder][langen][file].categories -%} {% assign categories=
80
+ site.data[folder][langen][file].categories %} {%- else -%} {% assign
81
+ categories= page.categories %} {%- endif -%} {%- if
82
+ site.data[folder][langen][file].tags -%} {% assign tags=
83
+ site.data[folder][langen][file].tags %} {%- else -%} {% assign tags=
84
+ page.tags %} {%- endif -%} {%- if pageData.posts.size > 0 -%} {%- include
85
+ appscms/customblog/pageRelatedPosts.html -%} {%- else -%} {%- if
86
+ categories.size > 0 or tags.size > 0 -%} {%- include
87
+ appscms/recent-posts/related_categories_post.html -%} {%- else -%} {%-
88
+ include appscms/recent-posts/recent_posts.html -%} {%- endif -%} {%- endif
89
+ -%} {%- if site.customblogdata -%} {%- if categories.size> 0 or
90
+ tags.size>0-%} {%- include appscms/customblog/relatedposts.html -%} {%- else
91
+ -%} {%- include appscms/customblog/recentposts.html -%} {% endif %} {%-
92
+ endif -%} {%- include appscms/extras/ratings.html -%} {%- if
93
+ pageData.author.size > 0 -%} {% include
94
+ appscms/featurePageAuthors/featurePageAuthors.html %} {%- endif -%} {%-
95
+ include appscms/footer/products.html -%} {%- include
96
+ internationalization-section.html -%}{%- include appscms/footer/footer.html
97
+ -%} {%- if site.customCode -%} {%- include customCode.html -%}{%- endif -%}
98
+ {%- include appscms/scripts/script.html -%}
99
+ </body>
100
+
101
+ </html>