appscms-tools-theme 3.5.5 → 3.5.7

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.
@@ -1,170 +1,171 @@
1
1
  {% assign file = page.fileName %} {% assign lang = page.lang %} {% assign folder
2
- = page.folderName %} {% assign featureData= site.data[folder][lang][file] %}
3
- <!DOCTYPE html>
4
- <html lang="{{page.lang}}">
5
- {% include head/index.html %}
6
-
7
- <body>
8
- {% include header/index.html %} {%- if site.safeui -%}
9
- <div class="alert alert-{{featureData.variant | default: 'info'}} fade show text-center" role="alert"
10
- id="safeui-alert">
11
- <div class="container">
12
- {%- if featureData.alertmsg -%} {{featureData.alertmsg}} {%- else -%} We
13
- do not upload any files to server, hence your data is 100% secure. {%-
14
- endif -%}
15
- </div>
2
+ = page.folderName %} {% assign featureData= site.data[folder][lang][file] %}
3
+ <!DOCTYPE html>
4
+ <html lang="{{page.lang}}">
5
+ {% include head/index.html %}
6
+
7
+ <body>
8
+ {% include header/index.html %} {%- if site.safeui -%}
9
+ <div class="alert alert-{{featureData.variant | default: 'info'}} fade show text-center" role="alert"
10
+ id="safeui-alert">
11
+ <div class="container">
12
+ {%- if featureData.alertmsg -%} {{featureData.alertmsg}} {%- else -%} We
13
+ do not upload any files to server, hence your data is 100% secure. {%-
14
+ endif -%}
16
15
  </div>
17
- {%- endif -%} {%- if page.layout != "frame" and page.layout !=
18
- "photo-effects-home" and page.layout != "video" and page.layout != "audio"
19
- -%} {%- if site.newFeatureBox -%}
20
- <div class="appscms-sidebar-left"></div>
21
- <div class="appscms-sidebar-right"></div>
22
- {%- endif -%}
23
-
24
- <div class="flex-container pb-3">
25
- <div class="flex-class py-4 mt-4 mt-md-0">
26
- <div id="h1-img-wrapper" class="d-flex justify-content-center align-items-center">
27
- <span id="h1-img" class="fHhdVc">
28
- <div class="div-cont feature-img mr-2">
29
- {%- if featureData.img -%}
30
- <img style="width:{{featureData.imgwidth}};height:{{featureData.imgheight}};" src="{{featureData.img}}"
31
- alt="{{featureData.imgalt}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
32
- {%- else -%}
33
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 36 36"
34
- fill="#000">
35
- <path
36
- d="M6,6 L9,18 L6,30 L18,27 L30,30 L27,18 L30,6 L18,9 L6,6 Z M3,3 L18,6.75 L33,3 L29.25,18 L33,33 L18,29.25 L3,33 L6.75,18 L3,3 Z">
37
- </path>
38
- </svg>
39
- {%- endif -%}
40
- </div>
41
- </span>
42
- {%- assign featureh1 = featureData.H1 | replace: "$variable",
43
- page.value -%}
44
- <h1 id="feature-h1" class="feature-h1">
45
- {%- for word in featureh1-%} {%- if forloop.first == true -%} {{word
46
- | capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%}
47
- </h1>
48
- </div>
49
- {%- assign featureh2 = featureData.H2 | replace: "$variable", page.value
50
- -%}
51
- <h2 id="feature-h2" class="feature-h2">
52
- {%- for word in featureh2 -%} {%- if forloop.first == true -%} {{word
16
+ </div>
17
+ {%- endif -%} {%- if page.layout != "frame" and page.layout !=
18
+ "photo-effects-home" and page.layout != "video" and page.layout != "audio"
19
+ -%} {%- if site.newFeatureBox -%}
20
+ <div class="appscms-sidebar-left"></div>
21
+ <div class="appscms-sidebar-right"></div>
22
+ {%- endif -%}
23
+
24
+ <div class="flex-container pb-3">
25
+ <div class="flex-class py-4 mt-4 mt-md-0">
26
+ <div id="h1-img-wrapper" class="d-flex justify-content-center align-items-center">
27
+ <span id="h1-img" class="fHhdVc">
28
+ <div class="div-cont feature-img mr-2">
29
+ {%- if featureData.img -%}
30
+ <img style="width:{{featureData.imgwidth}};height:{{featureData.imgheight}};" src="{{featureData.img}}"
31
+ alt="{{featureData.imgalt}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
32
+ {%- else -%}
33
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 36 36"
34
+ fill="#000">
35
+ <path
36
+ d="M6,6 L9,18 L6,30 L18,27 L30,30 L27,18 L30,6 L18,9 L6,6 Z M3,3 L18,6.75 L33,3 L29.25,18 L33,33 L18,29.25 L3,33 L6.75,18 L3,3 Z">
37
+ </path>
38
+ </svg>
39
+ {%- endif -%}
40
+ </div>
41
+ </span>
42
+ {%- assign featureh1 = featureData.H1 | replace: "$variable",
43
+ page.value -%}
44
+ <h1 id="feature-h1" class="feature-h1">
45
+ {%- for word in featureh1-%} {%- if forloop.first == true -%} {{word
53
46
  | capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%}
54
- </h2>
47
+ </h1>
55
48
  </div>
49
+ {%- assign featureh2 = featureData.H2 | replace: "$variable", page.value
50
+ -%}
51
+ <h2 id="feature-h2" class="feature-h2">
52
+ {%- for word in featureh2 -%} {%- if forloop.first == true -%} {{word
53
+ | capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%}
54
+ </h2>
56
55
  </div>
57
-
58
-
59
- {%- endif -%} {%- if site.noFeatureBox == true -%}
60
- <div class="feature-content-box" id="theme-content-box">{{content}}</div>
61
- {%- elsif site.newFeatureBox and page.newBox -%}
62
- <div class="feature-content-box" id="theme-content-box">
63
- <div class="container">
64
- {%- assign boxColor =
65
- site.data[page.folderName][page.lang][page.fileName].color -%} {%- if
66
- page.removeBox != true -%}
67
- <div class="custom-box" data-color="{{boxColor}}">
68
- <div style="display: none" id="file-loader">
69
- <img src="/spinner.gif" alt="spinner" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
70
- <p>Please Wait ,Loading Your file</p>
71
- </div>
72
- <div class="saving-file-download-wrap" style="display: none">
73
- <img loading="lazy" class="trust-img" src="/trust.svg" alt="trust" {%- if site.crossorigin -%} crossorigin {%-
74
- endif -%} />
75
- <p class="text-white my-2">Thanks for your patience</p>
76
- <button class="btn" id="download-zip">Download</button>
77
- </div>
78
- <div class="file-input" id="inputbox" style="color: #fff">
79
- <div class="m-auto">
80
- <div class="d-flex justify-content-center align-items-center">
81
- <div id="Inputbox" class="boxes" style="background-color: {{boxColor}};">
82
- <img height="21px" width="21px" src="/assets/images/add.svg" alt="add" {%- if site.crossorigin -%}
83
- crossorigin {%- endif -%} />
84
- <span class="ml-3">CHOOSE FILE</span>
85
- </div>
86
- <div class="file-pick-dropdown" style="background-color:{{boxColor}}">
87
- <i class="fas fa-angle-down arrow-sign"></i>
88
- <div class="file-picker-dropdown" style="display: none">
89
- <button id="filepicker">
90
- <svg class="mr-3" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
91
- <path id="Path" d="M8.33331 3H15.6666L23 15H15.6666L8.33331 3Z" fill="#FFC107"></path>
92
- <path id="Path_2" d="M4.6012 21L8.30086 15H23L19.3333 21H4.6012Z" fill="#1976D2"></path>
93
- <path id="Path_3" d="M1 15.0625L4.60119 21L12 9L8.33333 3L1 15.0625Z" fill="#4CAF50"></path>
94
- </svg>
95
- Google Drive
96
- </button>
97
- <button id="dropbox">
98
- <svg class="mr-3" viewBox="0 0 24 24" fill="#0061FF" xmlns="http://www.w3.org/2000/svg">
99
- <path id="icon"
100
- d="M12.0146 6.57367L6.50732 10.1473L12.0146 13.721L6.50732 17.2947L1 13.6912L6.50732 10.1176L1 6.57367L6.50732 3L12.0146 6.57367ZM6.47803 18.4263L11.9854 14.8527L17.4927 18.4263L11.9854 22L6.47803 18.4263ZM12.0146 13.6912L17.522 10.1176L12.0146 6.57367L17.4927 3L23 6.57367L17.4927 10.1473L23 13.721L17.4927 17.2947L12.0146 13.6912Z">
101
- </path>
102
- </svg>
103
- Dropbox
104
- </button>
105
- </div>
56
+ </div>
57
+
58
+
59
+ {%- endif -%} {%- if site.noFeatureBox == true -%}
60
+ <div class="feature-content-box" id="theme-content-box">{{content}}</div>
61
+ {%- elsif site.newFeatureBox and page.newBox -%}
62
+ <div class="feature-content-box" id="theme-content-box">
63
+ <div class="container">
64
+ {%- assign boxColor =
65
+ site.data[page.folderName][page.lang][page.fileName].color -%} {%- if
66
+ page.removeBox != true -%}
67
+ <div class="custom-box" data-color="{{boxColor}}">
68
+ <div style="display: none" id="file-loader">
69
+ <img src="/spinner.gif" alt="spinner" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
70
+ <p>Please Wait ,Loading Your file</p>
71
+ </div>
72
+ <div class="saving-file-download-wrap" style="display: none">
73
+ <img loading="lazy" class="trust-img" src="/trust.svg" alt="trust" {%- if site.crossorigin -%} crossorigin {%-
74
+ endif -%} />
75
+ <p class="text-white my-2">Thanks for your patience</p>
76
+ <button class="btn" id="download-zip">Download</button>
77
+ </div>
78
+ <div class="file-input" id="inputbox" style="color: #fff">
79
+ <div class="m-auto">
80
+ <div class="d-flex justify-content-center align-items-center">
81
+ <div id="Inputbox" class="boxes" style="background-color: {{boxColor}};">
82
+ <img height="21px" width="21px" src="/assets/images/add.svg" alt="add" {%- if site.crossorigin -%}
83
+ crossorigin {%- endif -%} />
84
+ <span class="ml-3">CHOOSE FILE</span>
85
+ </div>
86
+ <div class="file-pick-dropdown" style="background-color:{{boxColor}}">
87
+ <i class="fas fa-angle-down arrow-sign"></i>
88
+ <div class="file-picker-dropdown" style="display: none">
89
+ <button id="filepicker">
90
+ <svg class="mr-3" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
91
+ <path id="Path" d="M8.33331 3H15.6666L23 15H15.6666L8.33331 3Z" fill="#FFC107"></path>
92
+ <path id="Path_2" d="M4.6012 21L8.30086 15H23L19.3333 21H4.6012Z" fill="#1976D2"></path>
93
+ <path id="Path_3" d="M1 15.0625L4.60119 21L12 9L8.33333 3L1 15.0625Z" fill="#4CAF50"></path>
94
+ </svg>
95
+ Google Drive
96
+ </button>
97
+ <button id="dropbox">
98
+ <svg class="mr-3" viewBox="0 0 24 24" fill="#0061FF" xmlns="http://www.w3.org/2000/svg">
99
+ <path id="icon"
100
+ d="M12.0146 6.57367L6.50732 10.1473L12.0146 13.721L6.50732 17.2947L1 13.6912L6.50732 10.1176L1 6.57367L6.50732 3L12.0146 6.57367ZM6.47803 18.4263L11.9854 14.8527L17.4927 18.4263L11.9854 22L6.47803 18.4263ZM12.0146 13.6912L17.522 10.1176L12.0146 6.57367L17.4927 3L23 6.57367L17.4927 10.1473L23 13.721L17.4927 17.2947L12.0146 13.6912Z">
101
+ </path>
102
+ </svg>
103
+ Dropbox
104
+ </button>
106
105
  </div>
107
106
  </div>
108
107
  </div>
109
- <p id="dropfile" class="text-dark">or drop your file here</p>
110
- <p id="error" class="p-3"></p>
111
108
  </div>
109
+ <p id="dropfile" class="text-dark">or drop your file here</p>
110
+ <p id="error" class="p-3"></p>
112
111
  </div>
113
- <div class="workspace">
114
- <div class="row mx-auto">
115
- <div class="col-md-10 mx-auto">{{content}}</div>
116
- </div>
112
+ </div>
113
+ <div class="workspace">
114
+ <div class="row mx-auto">
115
+ <div class="col-md-10 mx-auto">{{content}}</div>
117
116
  </div>
118
- {%- endif -%}
119
117
  </div>
118
+ {%- endif -%}
120
119
  </div>
121
- {%- else -%} {%- if page.noBox == true -%}
122
- <div class="feature-content-box" id="theme-content-box">{{content}}</div>
123
- {%- else -%}
124
- <div class="box-padding" id="theme-content-box">
125
- <div class="d-flex" id="__cond-922051">
126
- <div class="flex-container">
127
- <div class="flex-class">
128
- <div class="d-flex flex-column">
129
- <div class="box"
130
- style="background:{{featureData.color}};min-height:{{featureData.height}};width:{{featureData.width}}">
131
- <div class="box-border"></div>
132
- <div class="content-box">{{content}}</div>
133
- </div>
120
+ </div>
121
+ {%- else -%} {%- if page.noBox == true -%}
122
+ <div class="feature-content-box" id="theme-content-box">{{content}}</div>
123
+ {%- else -%}
124
+ <div class="box-padding" id="theme-content-box">
125
+ <div class="d-flex" id="__cond-922051">
126
+ <div class="flex-container">
127
+ <div class="flex-class">
128
+ <div class="d-flex flex-column">
129
+ <div class="box"
130
+ style="background:{{featureData.color}};min-height:{{featureData.height}};width:{{featureData.width}}">
131
+ <div class="box-border"></div>
132
+ <div class="content-box">{{content}}</div>
134
133
  </div>
135
134
  </div>
136
135
  </div>
137
136
  </div>
138
137
  </div>
139
- {%- endif -%} {%- endif -%} {%- if page.layout == "batch" -%}
140
- <div class="w-100 line" style="border-top: 1px solid rgb(224, 224, 224)"></div>
141
- {%- endif -%}
142
-
143
- <div class="container mt-4 mb-5">
144
- <div class="row px-0">
145
- {%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%}
146
- <div class="col-md-9 mx-auto">
147
- <div class="row">
148
- {%- endif -%}
149
- {% assign totalHeaderCount = 0 %}
150
- {% for data in featureData.TEXTUAL_CONTENT %}
151
- {% assign words = data.header | split: " " %}
152
- {% assign word_count = words | size %}
153
- {% assign totalHeaderCount = totalHeaderCount | plus: word_count %}
154
- {% endfor %}
155
- {% for data in featureData.TEXTUAL_CONTENT %}
156
- <div
157
- class="{%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%} col-md-6 my-4 {%- else -%} col-md-4 my-4 {%- endif -%}">
158
- <div>
159
- <img class="feature-card-img" src="{{data.logoUrl}}" loading="lazy" height="48px" width="48px"
160
- alt="{{data.header}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
138
+ </div>
139
+ {%- endif -%} {%- endif -%} {%- if page.layout == "batch" -%}
140
+ <div class="w-100 line" style="border-top: 1px solid rgb(224, 224, 224)"></div>
141
+ {%- endif -%}
142
+
143
+ <div class="container mt-4 mb-5">
144
+ <div class="row px-0">
145
+ {%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%}
146
+ <div class="col-md-9 mx-auto">
147
+ <div class="row">
148
+ {%- endif -%}
149
+ {% assign totalHeaderCount = 0 %}
150
+ {% for data in featureData.TEXTUAL_CONTENT %}
151
+ {% assign words = data.header | split: " " %}
152
+ {% assign word_count = words | size %}
153
+ {% assign totalHeaderCount = totalHeaderCount | plus: word_count %}
154
+ {% endfor %}
155
+ {% for data in featureData.TEXTUAL_CONTENT %}
156
+ <div
157
+ class="{%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%} col-md-6 my-4 {%- else -%} col-md-4 my-4 {%- endif -%}">
158
+ <div>
159
+ <img class="feature-card-img" src="{{data.logoUrl}}" loading="lazy" height="48px" width="48px"
160
+ alt="{{data.header}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
161
+
162
+ {%- if totalHeaderCount > site.count_of_words_in_headings -%}
163
+ <h2 class="feature-card-title">{{data.header | replace: "$variable", page.value}}</h2>
164
+ {%- else -%}
161
165
  <div class="feature-card-title">
162
- {%- if totalHeaderCount > site.count_of_words_in_headings -%}
163
- <h2 class="feature_heading" style="font-size: 16px; font-weight: 900;">{{data.header | replace: "$variable", page.value}}</h2>
164
- {%- else -%}
165
166
  {{data.header | replace: "$variable", page.value}}
166
- {%- endif -%}
167
167
  </div>
168
+ {%- endif -%}
168
169
  <div class="feature-card-desc">
169
170
  {{data.content | replace: "$variable", page.value}}
170
171
  </div>
@@ -195,15 +196,17 @@
195
196
  {% assign video_id = param | split: "=" | last %}
196
197
  {% endif %}
197
198
  {% endfor %}
198
-
199
+
199
200
  {%- if site.monumetricId -%}
200
- <iframe class="youtubeVideoPlayer mb-5" width="400" height="315" src="https://www.youtube.com/embed/{{video_id}}?autoplay=1&mute=1" allowfullscreen>
201
+ <iframe class="youtubeVideoPlayer mb-5" width="400" height="315"
202
+ src="https://www.youtube.com/embed/{{video_id}}?autoplay=1&mute=1" allowfullscreen>
201
203
  </iframe>
202
204
  {%- else -%}
203
- <iframe class="youtubeVideoPlayer mb-5" width="500" height="315" src="https://www.youtube.com/embed/{{video_id}}?autoplay=1&mute=1" allowfullscreen>
205
+ <iframe class="youtubeVideoPlayer mb-5" width="500" height="315"
206
+ src="https://www.youtube.com/embed/{{video_id}}?autoplay=1&mute=1" allowfullscreen>
204
207
  </iframe>
205
208
  {%- endif -%}
206
-
209
+
207
210
  </div>
208
211
  {%- else -%}
209
212
  <div class="how-to-img-wrapper">
@@ -213,7 +216,7 @@
213
216
  -%} crossorigin {%- endif -%} />
214
217
  </div>
215
218
  {%- endif -%}
216
-
219
+
217
220
  </div>
218
221
  <div class="col-md-6 order-1">
219
222
  <div class="how-to-right">
@@ -223,7 +226,7 @@
223
226
  </h3>
224
227
  <ol class="how-to-list">
225
228
  {% for data in featureData.HOW_TO_CONTENT.steps %}
226
-
229
+
227
230
  <li id="step{{forloop.index}}" class="how-to-list-item">
228
231
  <span>{{forloop.index}}.</span>{{data | replace:
229
232
  "$variable", page.value}}
@@ -240,8 +243,8 @@
240
243
  </div>
241
244
  </div>
242
245
  </section>
243
-
244
-
246
+
247
+
245
248
  {%- if page.layout == "feature" -%} {%- include bookmark.html -%} {%- endif
246
249
  -%} {%- assign showFaqs= true -%} {%- for item in site.noFaqsList -%} {%- if
247
250
  item == page.lang -%} {%- assign showFaqs = false -%} {%- break -%} {%- else
@@ -277,7 +280,7 @@
277
280
  </div>
278
281
  </section>
279
282
  {%- endif -%} {%- endif -%} {%- include share/socialshare.html -%} {%-
280
- include Rating/rating.html -%} {%- if featureData.infographics.size > 0 -%}
283
+ include Rating/rating.html -%} {%- if featureData.infographics.size > 0 -%}
281
284
  {%- include infographics/infographics.html -%}
282
285
  {%- endif -%} {%- include /Usp/usp.html -%} {%- if
283
286
  featureData.display_formats -%}
@@ -304,6 +307,6 @@
304
307
  {% include featurePageAuthors/featurePageAuthors.html %}
305
308
  {%- endif -%} {% include
306
309
  footer/index.html %} {% include script.html %}
307
- </body>
308
-
309
- </html>
310
+ </body>
311
+
312
+ </html>