appscms-tools-theme 5.1.3 → 5.1.4
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.
- checksums.yaml +4 -4
- data/_layouts/aboutUs.html +6 -1
- data/_layouts/allAuthors.html +6 -1
- data/_layouts/appscms-about.html +6 -1
- data/_layouts/appscms-author.html +4 -1
- data/_layouts/appscms-authors.html +6 -1
- data/_layouts/appscms-blog.html +6 -1
- data/_layouts/appscms-contact.html +6 -1
- data/_layouts/appscms-disclaimer.html +6 -1
- data/_layouts/appscms-download.html +4 -1
- data/_layouts/appscms-feature-result.html +6 -1
- data/_layouts/appscms-feature.html +6 -1
- data/_layouts/appscms-help.html +8 -2
- data/_layouts/appscms-home.html +9 -8
- data/_layouts/appscms-post.html +4 -1
- data/_layouts/appscms-privacy-policy.html +6 -1
- data/_layouts/appscms-terms-and-conditions.html +4 -1
- data/_layouts/author.html +4 -1
- data/_layouts/blog-1.html +6 -1
- data/_layouts/blog.html +6 -1
- data/_layouts/contactUs.html +4 -1
- data/_layouts/contenttool-feature.html +6 -1
- data/_layouts/contenttool-home.html +6 -1
- data/_layouts/devtool-blog.html +6 -1
- data/_layouts/devtool-feature.html +56 -52
- data/_layouts/devtool-home.html +54 -50
- data/_layouts/disclaimer.html +126 -121
- data/_layouts/download.html +4 -1
- data/_layouts/feature-1.html +367 -243
- data/_layouts/feature-download.html +4 -1
- data/_layouts/feature.html +447 -300
- data/_layouts/featureResultPage.html +6 -1
- data/_layouts/fileInfo.html +43 -37
- data/_layouts/filecomparison.html +122 -78
- data/_layouts/help.html +22 -21
- data/_layouts/home-1.html +212 -178
- data/_layouts/home.html +6 -1
- data/_layouts/homeResultPage.html +38 -20
- data/_layouts/post.html +4 -1
- data/_layouts/privacyPolicy.html +783 -635
- data/_layouts/profile.html +6 -1
- data/_layouts/termAndCondition.html +4 -1
- data/assets/.DS_Store +0 -0
- data/assets/js/googledrive.js +6 -4
- data/assets/js/multiselect.js +141 -114
- metadata +2 -2
data/_layouts/feature.html
CHANGED
@@ -2,351 +2,498 @@
|
|
2
2
|
= page.folderName %} {% assign featureData= site.data[folder][lang][file] %}
|
3
3
|
<!DOCTYPE html>
|
4
4
|
<html lang="{{page.lang}}">
|
5
|
-
{% include head/index.html %}
|
5
|
+
{% include head/index.html %}
|
6
6
|
|
7
|
-
<body
|
8
|
-
|
9
|
-
|
10
|
-
id="
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
7
|
+
<body
|
8
|
+
data-developer-key="{{ site.developerKey }}"
|
9
|
+
data-client-id="{{ site.clientId }}"
|
10
|
+
data-app-id="{{ site.appId }}"
|
11
|
+
data-dropbox-apikey="{{ site.dropboxapikey }}"
|
12
|
+
>
|
13
|
+
{% include header/index.html %} {%- if site.safeui -%}
|
14
|
+
<div
|
15
|
+
class="alert alert-{{featureData.variant | default: 'info'}} fade show text-center"
|
16
|
+
role="alert"
|
17
|
+
id="safeui-alert"
|
18
|
+
>
|
19
|
+
<div class="container">
|
20
|
+
{%- if featureData.alertmsg -%} {{featureData.alertmsg}} {%- else -%} We
|
21
|
+
do not upload any files to server, hence your data is 100% secure. {%-
|
22
|
+
endif -%}
|
23
|
+
</div>
|
15
24
|
</div>
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
{%- endif -%}
|
25
|
+
{%- endif -%} {%- if page.layout != "frame" and page.layout !=
|
26
|
+
"photo-effects-home" and page.layout != "video" and page.layout != "audio"
|
27
|
+
-%} {%- if site.newFeatureBox -%}
|
28
|
+
<div class="appscms-sidebar-left"></div>
|
29
|
+
<div class="appscms-sidebar-right"></div>
|
30
|
+
{%- endif -%}
|
23
31
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
32
|
+
<div class="flex-container pb-3">
|
33
|
+
<div class="flex-class py-4 mt-4 mt-md-0">
|
34
|
+
<div
|
35
|
+
id="h1-img-wrapper"
|
36
|
+
class="d-flex justify-content-center align-items-center"
|
37
|
+
>
|
38
|
+
<span id="h1-img" class="fHhdVc">
|
39
|
+
<div class="div-cont feature-img mr-2">
|
40
|
+
{%- if featureData.img -%}
|
41
|
+
<img
|
42
|
+
style="width:{{featureData.imgwidth}};height:{{featureData.imgheight}};"
|
43
|
+
src="{{featureData.img}}"
|
44
|
+
alt="{{featureData.imgalt}}"
|
45
|
+
{%-
|
46
|
+
if
|
47
|
+
site.crossorigin
|
48
|
+
-%}
|
49
|
+
crossorigin
|
50
|
+
{%-
|
51
|
+
endif
|
52
|
+
-%}
|
53
|
+
/>
|
54
|
+
{%- else -%}
|
55
|
+
<svg
|
56
|
+
xmlns="http://www.w3.org/2000/svg"
|
57
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
58
|
+
viewBox="0 0 36 36"
|
59
|
+
fill="#000"
|
60
|
+
>
|
61
|
+
<path
|
62
|
+
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"
|
63
|
+
></path>
|
64
|
+
</svg>
|
65
|
+
{%- endif -%}
|
66
|
+
</div>
|
67
|
+
</span>
|
68
|
+
{%- assign featureh1 = featureData.H1 | replace: "$variable",
|
69
|
+
page.value -%}
|
70
|
+
<h1 id="feature-h1" class="feature-h1">
|
71
|
+
{%- for word in featureh1-%} {%- if forloop.first == true -%} {{word
|
72
|
+
| capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%}
|
73
|
+
</h1>
|
74
|
+
</div>
|
75
|
+
{%- assign featureh2 = featureData.H2 | replace: "$variable", page.value
|
76
|
+
-%}
|
77
|
+
<h2 id="feature-h2" class="feature-h2">
|
78
|
+
{%- for word in featureh2 -%} {%- if forloop.first == true -%} {{word
|
46
79
|
| capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%}
|
47
|
-
</
|
80
|
+
</h2>
|
48
81
|
</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>
|
55
82
|
</div>
|
56
|
-
</div>
|
57
83
|
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
84
|
+
{%- endif -%} {%- if site.noFeatureBox == true -%}
|
85
|
+
<div class="feature-content-box" id="theme-content-box">{{content}}</div>
|
86
|
+
{%- elsif site.newFeatureBox and page.newBox -%}
|
87
|
+
<div class="feature-content-box" id="theme-content-box">
|
88
|
+
<div class="container">
|
89
|
+
{%- assign boxColor =
|
90
|
+
site.data[page.folderName][page.lang][page.fileName].color -%} {%- if
|
91
|
+
page.removeBox != true -%}
|
92
|
+
<div class="custom-box" data-color="{{boxColor}}">
|
93
|
+
<div style="display: none" id="file-loader">
|
94
|
+
<img
|
95
|
+
src="/assets/images/spinner.gif"
|
96
|
+
alt="spinner"
|
97
|
+
{%-
|
98
|
+
if
|
99
|
+
site.crossorigin
|
100
|
+
-%}
|
101
|
+
crossorigin
|
102
|
+
{%-
|
103
|
+
endif
|
104
|
+
-%}
|
105
|
+
/>
|
106
|
+
<p>Please Wait ,Loading Your file</p>
|
107
|
+
</div>
|
108
|
+
<div class="saving-file-download-wrap" style="display: none">
|
109
|
+
<img
|
110
|
+
loading="lazy"
|
111
|
+
class="trust-img"
|
112
|
+
src="/trust.svg"
|
113
|
+
alt="trust"
|
114
|
+
{%-
|
115
|
+
if
|
116
|
+
site.crossorigin
|
117
|
+
-%}
|
118
|
+
crossorigin
|
119
|
+
{%-
|
120
|
+
endif
|
121
|
+
-%}
|
122
|
+
/>
|
123
|
+
<p class="text-white my-2">Thanks for your patience</p>
|
124
|
+
<button class="btn" id="download-zip">Download</button>
|
125
|
+
</div>
|
126
|
+
<div class="file-input" id="inputbox" style="color: #fff">
|
127
|
+
<div class="m-auto">
|
128
|
+
<div class="d-flex justify-content-center align-items-center">
|
129
|
+
<div
|
130
|
+
id="Inputbox"
|
131
|
+
class="boxes"
|
132
|
+
style="background: {{boxColor}};"
|
133
|
+
>
|
134
|
+
<img
|
135
|
+
height="21px"
|
136
|
+
width="21px"
|
137
|
+
src="/assets/images/add.svg"
|
138
|
+
alt="add"
|
139
|
+
{%-
|
140
|
+
if
|
141
|
+
site.crossorigin
|
142
|
+
-%}
|
143
|
+
crossorigin
|
144
|
+
{%-
|
145
|
+
endif
|
146
|
+
-%}
|
147
|
+
/>
|
148
|
+
<span class="ml-3 file-text">CHOOSE FILE</span>
|
149
|
+
</div>
|
150
|
+
<div class="file-pick-dropdown" style="background:{{boxColor}}">
|
151
|
+
<i class="fas fa-angle-down arrow-sign"></i>
|
152
|
+
<div class="file-picker-dropdown" style="display: none">
|
153
|
+
<button id="filepicker">
|
154
|
+
<svg
|
155
|
+
class="mr-3"
|
156
|
+
viewBox="0 0 24 24"
|
157
|
+
xmlns="http://www.w3.org/2000/svg"
|
158
|
+
>
|
159
|
+
<path
|
160
|
+
id="Path"
|
161
|
+
d="M8.33331 3H15.6666L23 15H15.6666L8.33331 3Z"
|
162
|
+
fill="#FFC107"
|
163
|
+
></path>
|
164
|
+
<path
|
165
|
+
id="Path_2"
|
166
|
+
d="M4.6012 21L8.30086 15H23L19.3333 21H4.6012Z"
|
167
|
+
fill="#1976D2"
|
168
|
+
></path>
|
169
|
+
<path
|
170
|
+
id="Path_3"
|
171
|
+
d="M1 15.0625L4.60119 21L12 9L8.33333 3L1 15.0625Z"
|
172
|
+
fill="#4CAF50"
|
173
|
+
></path>
|
174
|
+
</svg>
|
175
|
+
Google Drive
|
176
|
+
</button>
|
177
|
+
<button id="dropbox">
|
178
|
+
<svg
|
179
|
+
class="mr-3"
|
180
|
+
viewBox="0 0 24 24"
|
181
|
+
fill="#0061FF"
|
182
|
+
xmlns="http://www.w3.org/2000/svg"
|
183
|
+
>
|
184
|
+
<path
|
185
|
+
id="icon"
|
186
|
+
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"
|
187
|
+
></path>
|
188
|
+
</svg>
|
189
|
+
Dropbox
|
190
|
+
</button>
|
191
|
+
</div>
|
104
192
|
</div>
|
105
193
|
</div>
|
106
194
|
</div>
|
195
|
+
<p id="dropfile" class="text-dark">or drop your file here</p>
|
196
|
+
<p id="error" class="p-3"></p>
|
107
197
|
</div>
|
108
|
-
<p id="dropfile" class="text-dark">or drop your file here</p>
|
109
|
-
<p id="error" class="p-3"></p>
|
110
198
|
</div>
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
199
|
+
<div class="workspace">
|
200
|
+
<div class="row mx-auto">
|
201
|
+
<div class="col-md-10 mx-auto">{{content}}</div>
|
202
|
+
</div>
|
115
203
|
</div>
|
204
|
+
{%- endif -%}
|
116
205
|
</div>
|
117
|
-
{%- endif -%}
|
118
206
|
</div>
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
207
|
+
{%- else -%} {%- if page.noBox == true -%}
|
208
|
+
<div class="feature-content-box" id="theme-content-box">{{content}}</div>
|
209
|
+
{%- else -%}
|
210
|
+
<div class="box-padding" id="theme-content-box">
|
211
|
+
<div class="d-flex" id="__cond-922051">
|
212
|
+
<div class="flex-container">
|
213
|
+
<div class="flex-class">
|
214
|
+
<div class="d-flex flex-column">
|
215
|
+
<div
|
216
|
+
class="box"
|
217
|
+
style="background:{{featureData.color}};min-height:{{featureData.height}};width:{{featureData.width}}"
|
218
|
+
>
|
219
|
+
<div class="box-border"></div>
|
220
|
+
<div class="content-box">{{content}}</div>
|
221
|
+
</div>
|
132
222
|
</div>
|
133
223
|
</div>
|
134
224
|
</div>
|
135
225
|
</div>
|
136
226
|
</div>
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
227
|
+
{%- endif -%} {%- endif -%} {%- if page.layout == "batch" -%}
|
228
|
+
<div
|
229
|
+
class="w-100 line"
|
230
|
+
style="border-top: 1px solid rgb(224, 224, 224)"
|
231
|
+
></div>
|
232
|
+
{%- endif -%}
|
141
233
|
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
<
|
156
|
-
|
234
|
+
<div class="container mt-4 mb-5">
|
235
|
+
<div class="row px-0">
|
236
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%}
|
237
|
+
<div class="col-md-9 mx-auto">
|
238
|
+
<div class="row">
|
239
|
+
{%- endif -%} {% assign totalHeaderCount = 0 %} {% for data in
|
240
|
+
featureData.TEXTUAL_CONTENT %} {% assign words = data.header |
|
241
|
+
split: " " %} {% assign word_count = words | size %} {% assign
|
242
|
+
totalHeaderCount = totalHeaderCount | plus: word_count %} {% endfor
|
243
|
+
%} {% for data in featureData.TEXTUAL_CONTENT %}
|
244
|
+
<div
|
245
|
+
class="{%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%} col-md-6 my-4 {%- else -%} col-md-4 my-4 {%- endif -%}"
|
246
|
+
>
|
247
|
+
<div>
|
248
|
+
<img
|
249
|
+
class="feature-card-img"
|
250
|
+
src="{{data.logoUrl}}"
|
251
|
+
loading="lazy"
|
252
|
+
height="48px"
|
253
|
+
width="48px"
|
254
|
+
alt="{{data.header}}"
|
255
|
+
{%-
|
256
|
+
if
|
257
|
+
site.crossorigin
|
258
|
+
-%}
|
259
|
+
crossorigin
|
260
|
+
{%-
|
261
|
+
endif
|
262
|
+
-%}
|
263
|
+
/>
|
157
264
|
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
265
|
+
{%- if totalHeaderCount > site.count_of_words_in_headings -%}
|
266
|
+
<h2 class="feature-card-title">
|
267
|
+
{{data.header | replace: "$variable", page.value}}
|
268
|
+
</h2>
|
269
|
+
{%- else -%}
|
270
|
+
<div class="feature-card-title">
|
271
|
+
{{data.header | replace: "$variable", page.value}}
|
272
|
+
</div>
|
273
|
+
{%- endif -%}
|
274
|
+
<div class="feature-card-desc">
|
275
|
+
{{data.content | replace: "$variable", page.value}}
|
276
|
+
</div>
|
169
277
|
</div>
|
170
278
|
</div>
|
279
|
+
{% endfor %} {%- if site.monumetricId and page.url != '/' and
|
280
|
+
page.lang == 'en' -%}
|
171
281
|
</div>
|
172
|
-
{% endfor %} {%- if site.monumetricId and page.url != '/' and
|
173
|
-
page.lang == 'en' -%}
|
174
282
|
</div>
|
283
|
+
{%- endif -%}
|
175
284
|
</div>
|
176
|
-
{%- endif -%}
|
177
285
|
</div>
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
286
|
+
<section class="how-to-section">
|
287
|
+
<div class="container">
|
288
|
+
<div class="row">
|
289
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%}
|
290
|
+
<div class="col-md-9 mx-auto">
|
291
|
+
<div class="row">
|
292
|
+
{%- endif -%}
|
293
|
+
<div class="col-md-6 order-0">
|
294
|
+
{%- if featureData.HOW_TO_CONTENT.YoutubeVideoUrl.size > 0 -%}
|
295
|
+
<div class="how-to-video-wrapper">
|
296
|
+
{% assign video_url =
|
297
|
+
featureData.HOW_TO_CONTENT.YoutubeVideoUrl %} {% assign
|
298
|
+
video_id = "" %} {% if video_url contains "youtu.be/" %} {%
|
299
|
+
assign parts = video_url | split: "/" %} {% assign video_id =
|
300
|
+
parts[3] %} {% elsif video_url contains "youtube.com/watch" %}
|
301
|
+
{% assign params = video_url | split: "?" | last | split: "&"
|
302
|
+
%} {% for param in params %} {% if param contains "v=" %} {%
|
303
|
+
assign video_id = param | split: "=" | last %} {% endif %} {%
|
304
|
+
endfor %} {% endif %} {%- if site.monumetricId -%}
|
305
|
+
<div
|
306
|
+
class="how-to-video h-100 w-100"
|
307
|
+
data-videoid="{{video_id}}"
|
308
|
+
>
|
309
|
+
<img
|
310
|
+
class="youtubeVideoPlayer"
|
311
|
+
width="100%"
|
312
|
+
height="100%"
|
313
|
+
id="thumbnail-img"
|
314
|
+
alt="thumbnail-img"
|
315
|
+
/>
|
316
|
+
<div class="youtube-play-btn-wrapper">
|
317
|
+
<button
|
318
|
+
class="play-btn btn btn-primary"
|
319
|
+
onClick="loadVideo()"
|
320
|
+
>
|
321
|
+
►
|
322
|
+
</button>
|
323
|
+
</div>
|
203
324
|
</div>
|
325
|
+
{%- else -%}
|
326
|
+
<div
|
327
|
+
class="how-to-video h-100 w-100"
|
328
|
+
data-videoid="{{video_id}}"
|
329
|
+
>
|
330
|
+
<img
|
331
|
+
class="youtubeVideoPlayer"
|
332
|
+
width="100%"
|
333
|
+
height="100%"
|
334
|
+
id="thumbnail-img"
|
335
|
+
alt="thumbnail-img"
|
336
|
+
/>
|
337
|
+
<div class="youtube-play-btn-wrapper">
|
338
|
+
<button
|
339
|
+
class="play-btn btn btn-primary"
|
340
|
+
onClick="loadVideo()"
|
341
|
+
>
|
342
|
+
►
|
343
|
+
</button>
|
344
|
+
</div>
|
345
|
+
</div>
|
346
|
+
{%- endif -%}
|
204
347
|
</div>
|
205
348
|
{%- else -%}
|
206
|
-
<div class="how-to-
|
207
|
-
<img
|
208
|
-
|
209
|
-
|
210
|
-
|
349
|
+
<div class="how-to-img-wrapper">
|
350
|
+
<img
|
351
|
+
class="how-to-leftimg"
|
352
|
+
height="180px"
|
353
|
+
width="300px"
|
354
|
+
src="{{featureData.HOW_TO_CONTENT.logoImageUrl}}"
|
355
|
+
loading="lazy"
|
356
|
+
alt="{{featureData.HOW_TO_CONTENT.logoImageAlt | default: 'how to image' }}"
|
357
|
+
{%-
|
358
|
+
if
|
359
|
+
site.crossorigin
|
360
|
+
-%}
|
361
|
+
crossorigin
|
362
|
+
{%-
|
363
|
+
endif
|
364
|
+
-%}
|
365
|
+
/>
|
211
366
|
</div>
|
212
367
|
{%- endif -%}
|
213
368
|
</div>
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
</div>
|
223
|
-
<div class="col-md-6 order-1">
|
224
|
-
<div class="how-to-right">
|
225
|
-
<h3 class="how-to-title text-left">
|
226
|
-
{{featureData.HOW_TO_CONTENT.heading | replace: "$variable",
|
227
|
-
page.value}}
|
228
|
-
</h3>
|
229
|
-
<ol class="how-to-list">
|
230
|
-
{% for data in featureData.HOW_TO_CONTENT.steps %}
|
369
|
+
<div class="col-md-6 order-1">
|
370
|
+
<div class="how-to-right">
|
371
|
+
<h3 class="how-to-title text-left">
|
372
|
+
{{featureData.HOW_TO_CONTENT.heading | replace: "$variable",
|
373
|
+
page.value}}
|
374
|
+
</h3>
|
375
|
+
<ol class="how-to-list">
|
376
|
+
{% for data in featureData.HOW_TO_CONTENT.steps %}
|
231
377
|
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
378
|
+
<li id="step{{forloop.index}}" class="how-to-list-item">
|
379
|
+
<span>{{forloop.index}}.</span>{{data | replace:
|
380
|
+
"$variable", page.value}}
|
381
|
+
</li>
|
382
|
+
{% endfor %}
|
383
|
+
</ol>
|
384
|
+
</div>
|
238
385
|
</div>
|
386
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == 'en'
|
387
|
+
-%}
|
239
388
|
</div>
|
240
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == 'en'
|
241
|
-
-%}
|
242
389
|
</div>
|
390
|
+
{%- endif -%}
|
243
391
|
</div>
|
244
|
-
{%- endif -%}
|
245
392
|
</div>
|
246
|
-
</
|
247
|
-
</section>
|
393
|
+
</section>
|
248
394
|
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
395
|
+
{%- if page.layout == "feature" -%} {%- include bookmark.html -%} {%- endif
|
396
|
+
-%} {%- assign showFaqs= true -%} {%- for item in site.noFaqsList -%} {%- if
|
397
|
+
item == page.lang -%} {%- assign showFaqs = false -%} {%- break -%} {%- else
|
398
|
+
-%} {%- assign showFaqs = true -%} {%- endif -%} {%- endfor -%} {%- if
|
399
|
+
showFaqs == true -%} {%- if featureData.FAQ.size>0 -%}
|
400
|
+
<section class="faq-section">
|
401
|
+
<div class="container">
|
402
|
+
<div class="row">
|
403
|
+
<div class="col-md-8 mx-auto">
|
404
|
+
<div class="faq">
|
405
|
+
<h3 class="feature-h1 text-center mb-4">
|
406
|
+
{{featureData.faqheading | default: 'Frequently Asked
|
407
|
+
Questions'}}
|
408
|
+
</h3>
|
409
|
+
<ul class="list-unstyled">
|
410
|
+
{% for data in featureData.FAQ %}
|
411
|
+
<li>
|
412
|
+
<h3 class="faq-question" itemprop="name">
|
413
|
+
{{data.question | replace: "$variable", page.value}}<em
|
414
|
+
style="transform: rotate(-135deg)"
|
415
|
+
>
|
416
|
+
<i></i
|
417
|
+
></em>
|
418
|
+
</h3>
|
419
|
+
<div style="display: block">
|
420
|
+
<p class="faq-answer" itemprop="text">
|
421
|
+
{{data.answer | replace: "$variable", page.value}}
|
422
|
+
</p>
|
423
|
+
</div>
|
424
|
+
</li>
|
425
|
+
{% endfor %}
|
426
|
+
</ul>
|
427
|
+
</div>
|
278
428
|
</div>
|
279
429
|
</div>
|
280
430
|
</div>
|
431
|
+
</section>
|
432
|
+
{%- endif -%} {%- endif -%} {%- include share/socialshare.html -%} {%-
|
433
|
+
include Rating/rating.html -%} {%- if featureData.infographics.size > 0 -%}
|
434
|
+
{%- include infographics/infographics.html -%} {%- endif -%} {%- include
|
435
|
+
/Usp/usp.html -%} {%- if featureData.display_formats -%}
|
436
|
+
<div class="container compare-table">
|
437
|
+
{%- include fileformat/fileformatdetail.html -%}
|
438
|
+
</div>
|
439
|
+
{%- endif -%} {%- if featureData.compare_formats -%}
|
440
|
+
<div class="container file-detail-table">
|
441
|
+
{%- include fileformat/comparisonfiles.html -%}
|
281
442
|
</div>
|
282
|
-
</section>
|
283
|
-
{%- endif -%} {%- endif -%} {%- include share/socialshare.html -%} {%-
|
284
|
-
include Rating/rating.html -%} {%- if featureData.infographics.size > 0 -%}
|
285
|
-
{%- include infographics/infographics.html -%} {%- endif -%} {%- include
|
286
|
-
/Usp/usp.html -%} {%- if featureData.display_formats -%}
|
287
|
-
<div class="container compare-table">
|
288
|
-
{%- include fileformat/fileformatdetail.html -%}
|
289
|
-
</div>
|
290
|
-
{%- endif -%} {%- if featureData.compare_formats -%}
|
291
|
-
<div class="container file-detail-table">
|
292
|
-
{%- include fileformat/comparisonfiles.html -%}
|
293
|
-
</div>
|
294
|
-
|
295
|
-
{%- endif -%} {%- if site.userTrackingCount -%} {%- include
|
296
|
-
userTracking.html -%} {%- endif -%} {%- assign langen = "en" -%} {%- if
|
297
|
-
site.data[folder][langen][file].categories -%} {% assign categories=
|
298
|
-
site.data[folder][langen][file].categories %} {%- else -%} {% assign
|
299
|
-
categories= page.categories %} {%- endif -%} {%- if
|
300
|
-
site.data[folder][langen][file].tags -%} {% assign tags=
|
301
|
-
site.data[folder][langen][file].tags %} {%- else -%} {% assign tags=
|
302
|
-
page.tags %} {%- endif -%} {%- if featureData.posts.size > 0 -%} {%- include
|
303
|
-
customblog/pageRelatedPosts.html -%} {%- else -%} {%- if categories.size > 0
|
304
|
-
or tags.size > 0 -%} {%- include section/related_categories_post.html -%}
|
305
|
-
{%- else -%} {%- include section/recent_posts.html -%} {%- endif -%} {%-
|
306
|
-
endif -%} {%- if site.customblogdata -%} {%- if categories.size> 0 or
|
307
|
-
tags.size>0-%} {%- include customblog/relatedposts.html -%} {%- else -%} {%-
|
308
|
-
include customblog/recentposts.html -%} {% endif %} {%- endif -%}
|
309
|
-
|
310
|
-
{%- if featureData.author.size > 0 -%}
|
311
|
-
{% include featurePageAuthors/featurePageAuthors.html %}
|
312
|
-
{%- endif -%}
|
313
|
-
|
314
|
-
{% include
|
315
|
-
footer/index.html %} {%- if site.customCode -%} {%- include customCode.html
|
316
|
-
-%} {%- endif -%} {% include script.html %}
|
317
|
-
|
318
|
-
|
319
443
|
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
444
|
+
{%- endif -%} {%- if site.userTrackingCount -%} {%- include
|
445
|
+
userTracking.html -%} {%- endif -%} {%- assign langen = "en" -%} {%- if
|
446
|
+
site.data[folder][langen][file].categories -%} {% assign categories=
|
447
|
+
site.data[folder][langen][file].categories %} {%- else -%} {% assign
|
448
|
+
categories= page.categories %} {%- endif -%} {%- if
|
449
|
+
site.data[folder][langen][file].tags -%} {% assign tags=
|
450
|
+
site.data[folder][langen][file].tags %} {%- else -%} {% assign tags=
|
451
|
+
page.tags %} {%- endif -%} {%- if featureData.posts.size > 0 -%} {%- include
|
452
|
+
customblog/pageRelatedPosts.html -%} {%- else -%} {%- if categories.size > 0
|
453
|
+
or tags.size > 0 -%} {%- include section/related_categories_post.html -%}
|
454
|
+
{%- else -%} {%- include section/recent_posts.html -%} {%- endif -%} {%-
|
455
|
+
endif -%} {%- if site.customblogdata -%} {%- if categories.size> 0 or
|
456
|
+
tags.size>0-%} {%- include customblog/relatedposts.html -%} {%- else -%} {%-
|
457
|
+
include customblog/recentposts.html -%} {% endif %} {%- endif -%} {%- if
|
458
|
+
featureData.author.size > 0 -%} {% include
|
459
|
+
featurePageAuthors/featurePageAuthors.html %} {%- endif -%} {% include
|
460
|
+
footer/index.html %} {%- if site.customCode -%} {%- include customCode.html
|
461
|
+
-%} {%- endif -%} {% include script.html %} {%- if
|
462
|
+
featureData.HOW_TO_CONTENT.YoutubeVideoUrl.size > 0 -%}
|
463
|
+
<script>
|
464
|
+
let videoContainer = document.querySelector(".how-to-video");
|
465
|
+
let thumbnail = document.getElementById("thumbnail-img");
|
466
|
+
let videoId = videoContainer.getAttribute("data-videoid");
|
467
|
+
let thumbnailUrl =
|
468
|
+
"https://img.youtube.com/vi/" + videoId + "/maxresdefault.jpg";
|
469
|
+
console.log(videoId);
|
327
470
|
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
471
|
+
// Function to load video
|
472
|
+
function loadVideo() {
|
473
|
+
videoContainer.innerHTML =
|
474
|
+
'<iframe loading="lazy" class="youtubeVideoPlayer" width="100%" height="100%" src="https://www.youtube.com/embed/' +
|
475
|
+
videoId +
|
476
|
+
'?autoplay=1&mute=1" allowfullscreen></iframe>';
|
477
|
+
}
|
478
|
+
// Function to handle lazy loading of the thumbnail
|
479
|
+
function lazyLoadThumbnail(entries, observer) {
|
480
|
+
entries.forEach((entry) => {
|
481
|
+
if (entry.isIntersecting) {
|
482
|
+
// Load thumbnail when it becomes visible
|
483
|
+
thumbnail.src = thumbnailUrl;
|
484
|
+
// Stop observing once loaded
|
485
|
+
observer.unobserve(entry.target);
|
486
|
+
}
|
487
|
+
});
|
488
|
+
}
|
489
|
+
// Set up the Intersection Observer
|
490
|
+
var observer = new IntersectionObserver(lazyLoadThumbnail, {
|
491
|
+
threshold: 0.1,
|
341
492
|
});
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
{%- endif -%}
|
350
|
-
</body>
|
351
|
-
|
352
|
-
</html>
|
493
|
+
observer.observe(thumbnail);
|
494
|
+
// Optionally, you can add an event listener to trigger video loading on click or other interactions
|
495
|
+
thumbnail.addEventListener("click", loadVideo);
|
496
|
+
</script>
|
497
|
+
{%- endif -%}
|
498
|
+
</body>
|
499
|
+
</html>
|