appscms-tools-theme 3.5.5 → 3.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/about/en/about.json +1 -1
- data/_data/feature/en/compress-pdf.json +2 -3
- data/_includes/cssfile/links.html +12 -0
- data/_includes/head/index.html +63 -162
- data/_includes/script.html +49 -0
- data/_layouts/feature.html +161 -158
- data/_layouts/home.html +194 -260
- data/assets/js/theme.js +5 -0
- metadata +2 -2
data/_layouts/home.html
CHANGED
@@ -2,290 +2,224 @@
|
|
2
2
|
= page.folderName %} {% assign homeData= site.data[folder][lang][file] %}
|
3
3
|
<!DOCTYPE html>
|
4
4
|
<html lang="{{page.lang}}">
|
5
|
-
|
5
|
+
{% include head/index.html %}
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
7
|
+
<body>
|
8
|
+
{% include header/index.html %} {%- if homeData.nofileupload -%}
|
9
|
+
<div id="safeui-alert" class="alert alert-{{homeData.variant | default: 'info'}} fade show text-center" role="alert">
|
10
|
+
<div class="container">
|
11
|
+
{%- if homeData.alertmsg -%} {{homeData.alertmsg}} {%- else -%} We do
|
12
|
+
not upload any files to server, hence your data is 100% secure. {%-
|
13
|
+
endif -%}
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
{%- endif -%} {%- if homeData.h1 or homeData.h2 -%}
|
17
|
+
<div class="flex-container mb-1">
|
18
|
+
<div class="flex-class py-5">
|
19
|
+
<div class="d-flex justify-content-center align-items-center">
|
20
|
+
<span class="fHhdVc">
|
21
|
+
<div class="div-cont feature-img mr-2">
|
22
|
+
{%- if homeData.img -%}
|
23
|
+
<img loading="lazy" style="width:{{homeData.imgwidth}};height:{{homeData.imgheight}};"
|
24
|
+
src="{{homeData.img}}" alt="{{homeData.imgalt}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
25
|
+
{%- endif -%}
|
26
|
+
</div>
|
27
|
+
</span>
|
28
|
+
<h1 class="home-top-h1">
|
29
|
+
{%- for word in homeData.h1 -%} {%- if forloop.first == true -%}
|
30
|
+
{{word | capitalize }} {%- else -%} {{word}} {%- endif -%} {%-
|
31
|
+
endfor -%}
|
32
|
+
</h1>
|
18
33
|
</div>
|
34
|
+
<h2 class="home-top-h2">
|
35
|
+
{%- for word in homeData.h2 -%} {%- if forloop.first == true -%}
|
36
|
+
{{word | capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor
|
37
|
+
-%}
|
38
|
+
</h2>
|
19
39
|
</div>
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
{
|
42
|
-
</
|
43
|
-
</
|
44
|
-
<h1 class="home-top-h1">
|
45
|
-
{%- for word in homeData.h1 -%} {%- if forloop.first == true -%}
|
46
|
-
{{word | capitalize }} {%- else -%} {{word}} {%- endif -%} {%-
|
47
|
-
endfor -%}
|
48
|
-
</h1>
|
40
|
+
</div>
|
41
|
+
{%- endif -%} {%- if homeData.features -%} {%- if site.monumetricId and
|
42
|
+
page.url != '/' and page.lang == "en" -%}
|
43
|
+
<div class="container">
|
44
|
+
<div class="row">
|
45
|
+
<div class="col-md-9 mx-auto">
|
46
|
+
{%- endif -%}
|
47
|
+
<div class="flex-container">
|
48
|
+
<div class="flex-class">
|
49
|
+
<ul class="home-features">
|
50
|
+
{% for product in homeData.features %}
|
51
|
+
<li style="background:{{product.color}}" class="home-feature-box">
|
52
|
+
<div class="home-inner-box">
|
53
|
+
<div class="div-cont feature-img" height="36px" width="36px">
|
54
|
+
<img loading="lazy" src="{{product.icon}}" height="36px" width="36px" alt="star icon" {%- if
|
55
|
+
site.crossorigin -%} crossorigin {%- endif -%} />
|
56
|
+
</div>
|
57
|
+
</div>
|
58
|
+
<div class="home-feature-desc">{{product.description}}</div>
|
59
|
+
<a class="home-feature-name" href="{{product.url}}">{{product.name}}</a>
|
60
|
+
</li>
|
61
|
+
{% endfor %}
|
62
|
+
</ul>
|
63
|
+
</div>
|
49
64
|
</div>
|
50
|
-
|
51
|
-
{%- for word in homeData.h2 -%} {%- if forloop.first == true -%}
|
52
|
-
{{word | capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor
|
53
|
-
-%}
|
54
|
-
</h2>
|
65
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
55
66
|
</div>
|
56
67
|
</div>
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
68
|
+
</div>
|
69
|
+
{%- endif -%} {%- endif -%}
|
70
|
+
<div class="home-content-box" id="theme-content-box">{{content}}</div>
|
71
|
+
{%- if homeData.TEXTUAL_CONTENT -%}
|
72
|
+
<div class="container mt-4 mb-4">
|
73
|
+
<div class="row px-0">
|
74
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
75
|
+
<div class="col-md-9 mx-auto">
|
76
|
+
<div class="row">
|
62
77
|
{%- endif -%}
|
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
|
-
crossorigin
|
88
|
-
{%-
|
89
|
-
endif
|
90
|
-
-%}
|
91
|
-
/>
|
92
|
-
</div>
|
93
|
-
</div>
|
94
|
-
<div class="home-feature-desc">{{product.description}}</div>
|
95
|
-
<a class="home-feature-name" href="{{product.url}}"
|
96
|
-
>{{product.name}}</a
|
97
|
-
>
|
98
|
-
</li>
|
99
|
-
{% endfor %}
|
100
|
-
</ul>
|
78
|
+
{% assign totalHeaderCount = 0 %}
|
79
|
+
{% for data in homeData.TEXTUAL_CONTENT %}
|
80
|
+
{% assign words = data.header | split: " " %}
|
81
|
+
{% assign word_count = words | size %}
|
82
|
+
{% assign totalHeaderCount = totalHeaderCount | plus: word_count %}
|
83
|
+
{% endfor %}
|
84
|
+
{% for data in homeData.TEXTUAL_CONTENT %}
|
85
|
+
<div
|
86
|
+
class="{%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%} col-md-6 my-4 {%- else -%} col-md-4 my-4 {%- endif -%}">
|
87
|
+
<div>
|
88
|
+
<img class="feature-card-img" height="48px" width="48px" loading="lazy" src="{{data.logoUrl}}"
|
89
|
+
alt="{{data.header}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
|
90
|
+
|
91
|
+
{%- if totalHeaderCount > site.count_of_words_in_headings -%}
|
92
|
+
<h2 class="feature-card-title">{{data.header | replace: "$variable", page.value}}</h2>
|
93
|
+
{%- else -%}
|
94
|
+
<div class="feature-card-title">
|
95
|
+
{{data.header | replace: "$variable", page.value}}
|
96
|
+
</div>
|
97
|
+
{%- endif -%}
|
98
|
+
<div class="feature-card-desc">
|
99
|
+
{{data.content | replace: "$variable", page.value}}
|
100
|
+
</div>
|
101
101
|
</div>
|
102
102
|
</div>
|
103
|
-
{%- if site.monumetricId and page.url != '/' and
|
103
|
+
{% endfor %} {%- if site.monumetricId and page.url != '/' and
|
104
|
+
page.lang == "en" -%}
|
104
105
|
</div>
|
105
106
|
</div>
|
107
|
+
{%- endif -%}
|
106
108
|
</div>
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
<div class="container
|
111
|
-
<div class="row
|
109
|
+
</div>
|
110
|
+
{%- endif -%} {%- if homeData.HOW_TO_CONTENT -%}
|
111
|
+
<section class="how-to-section">
|
112
|
+
<div class="container">
|
113
|
+
<div class="row">
|
112
114
|
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
113
115
|
<div class="col-md-9 mx-auto">
|
114
116
|
<div class="row">
|
115
|
-
{%- endif -%}
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
{% for data in homeData.TEXTUAL_CONTENT %}
|
123
|
-
<div
|
124
|
-
class="{%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%} col-md-6 my-4 {%- else -%} col-md-4 my-4 {%- endif -%}"
|
125
|
-
>
|
126
|
-
<div>
|
127
|
-
<img
|
128
|
-
class="feature-card-img"
|
129
|
-
height="48px"
|
130
|
-
width="48px"
|
131
|
-
loading="lazy"
|
132
|
-
src="{{data.logoUrl}}"
|
133
|
-
alt="{{data.header}}"
|
134
|
-
{%-
|
135
|
-
if
|
136
|
-
site.crossorigin
|
137
|
-
-%}
|
138
|
-
crossorigin
|
139
|
-
{%-
|
140
|
-
endif
|
141
|
-
-%}
|
142
|
-
/>
|
143
|
-
<div class="feature-card-title">
|
144
|
-
{%- if totalHeaderCount > site.count_of_words_in_headings -%}
|
145
|
-
<h2 class="feature_heading" style="font-size: 16px; font-weight: 900;">{{data.header | replace: "$variable", page.value}}</h2>
|
146
|
-
{%- else -%}
|
147
|
-
{{data.header | replace: "$variable", page.value}}
|
148
|
-
{%- endif -%}
|
149
|
-
</div>
|
150
|
-
<div class="feature-card-desc">
|
151
|
-
{{data.content | replace: "$variable", page.value}}
|
152
|
-
</div>
|
117
|
+
{%- endif -%}
|
118
|
+
<div class="col-md-6 order-0">
|
119
|
+
{%- if featureData.HOW_TO_CONTENT.YoutubeVideoUrl -%}
|
120
|
+
<div class="how-to-video-wrapper">
|
121
|
+
<iframe width="500" height="315"
|
122
|
+
src="https://www.youtube.com/embed/{{featureData.HOW_TO_CONTENT.YoutubeVideoUrl}}?autoplay=1&mute=1">
|
123
|
+
</iframe>
|
153
124
|
</div>
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
{%- endif -%}
|
160
|
-
</div>
|
161
|
-
</div>
|
162
|
-
{%- endif -%} {%- if homeData.HOW_TO_CONTENT -%}
|
163
|
-
<section class="how-to-section">
|
164
|
-
<div class="container">
|
165
|
-
<div class="row">
|
166
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en" -%}
|
167
|
-
<div class="col-md-9 mx-auto">
|
168
|
-
<div class="row">
|
169
|
-
{%- endif -%}
|
170
|
-
<div class="col-md-6 order-0">
|
171
|
-
{%- if featureData.HOW_TO_CONTENT.YoutubeVideoUrl -%}
|
172
|
-
<div class="how-to-video-wrapper">
|
173
|
-
<iframe width="500" height="315" src="https://www.youtube.com/embed/{{featureData.HOW_TO_CONTENT.YoutubeVideoUrl}}?autoplay=1&mute=1">
|
174
|
-
</iframe>
|
175
|
-
</div>
|
176
|
-
{%- else -%}
|
177
|
-
<div class="how-to-img-wrapper">
|
178
|
-
<img
|
179
|
-
class="how-to-leftimg"
|
180
|
-
height="180px"
|
181
|
-
width="300px"
|
182
|
-
src="{{homeData.HOW_TO_CONTENT.logoImageUrl}}"
|
183
|
-
loading="lazy"
|
184
|
-
alt="{{homeData.HOW_TO_CONTENT.logoImageAlt | default: 'how to image' }}"
|
185
|
-
{%-
|
186
|
-
if
|
187
|
-
site.crossorigin
|
188
|
-
-%}
|
189
|
-
crossorigin
|
190
|
-
{%-
|
191
|
-
endif
|
192
|
-
-%}
|
193
|
-
/>
|
194
|
-
</div>
|
195
|
-
{%- endif -%}
|
125
|
+
{%- else -%}
|
126
|
+
<div class="how-to-img-wrapper">
|
127
|
+
<img class="how-to-leftimg" height="180px" width="300px" src="{{homeData.HOW_TO_CONTENT.logoImageUrl}}"
|
128
|
+
loading="lazy" alt="{{homeData.HOW_TO_CONTENT.logoImageAlt | default: 'how to image' }}" {%- if
|
129
|
+
site.crossorigin -%} crossorigin {%- endif -%} />
|
196
130
|
</div>
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
131
|
+
{%- endif -%}
|
132
|
+
</div>
|
133
|
+
<div class="col-md-6 order-1">
|
134
|
+
<div class="how-to-right">
|
135
|
+
<h3 class="how-to-title text-left">
|
136
|
+
{{homeData.HOW_TO_CONTENT.heading | replace: "$variable",
|
137
|
+
page.value}}
|
138
|
+
</h3>
|
139
|
+
<ol class="how-to-list">
|
140
|
+
{% for data in homeData.HOW_TO_CONTENT.steps %}
|
205
141
|
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
</div>
|
142
|
+
<li id="step{{forloop.index}}" class="how-to-list-item">
|
143
|
+
<span>{{forloop.index}}.</span>{{data | replace:
|
144
|
+
"$variable", page.value}}
|
145
|
+
</li>
|
146
|
+
{% endfor %}
|
147
|
+
</ol>
|
213
148
|
</div>
|
214
|
-
{%- if site.monumetricId and page.url != '/' and page.lang == "en"
|
215
|
-
-%}
|
216
149
|
</div>
|
150
|
+
{%- if site.monumetricId and page.url != '/' and page.lang == "en"
|
151
|
+
-%}
|
217
152
|
</div>
|
218
|
-
{%- endif -%}
|
219
153
|
</div>
|
154
|
+
{%- endif -%}
|
220
155
|
</div>
|
221
|
-
</
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
>
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
{% endfor %}
|
253
|
-
</ul>
|
254
|
-
</div>
|
156
|
+
</div>
|
157
|
+
</section>
|
158
|
+
{%- endif -%} {%- assign showFaqs = true -%} {%- for item in site.noFaqsList
|
159
|
+
-%} {%- if item == page.lang -%} {%- assign showFaqs = false -%} {%- break
|
160
|
+
-%} {%- else -%} {%- assign showFaqs = true -%} {%- endif -%} {%- endfor -%}
|
161
|
+
{%- if showFaqs == true -%} {%- if homeData.FAQ -%}
|
162
|
+
<section class="faq-section">
|
163
|
+
<div class="container">
|
164
|
+
<div class="row">
|
165
|
+
<div class="col-md-8 mx-auto">
|
166
|
+
<div class="faq">
|
167
|
+
{%- if homeData.FAQ.size>0 -%}
|
168
|
+
<h3 class="feature-h1 text-center mb-4">
|
169
|
+
{{homeData.faqheading | default: 'Frequently Asked Questions'}}
|
170
|
+
</h3>
|
171
|
+
{%- endif -%}
|
172
|
+
<ul class="list-unstyled">
|
173
|
+
{% for data in homeData.FAQ %}
|
174
|
+
<li>
|
175
|
+
<h3 class="faq-question" itemprop="name">
|
176
|
+
{{data.question | replace: "$variable", page.value}}<em style="transform: rotate(-135deg)">
|
177
|
+
<i></i></em>
|
178
|
+
</h3>
|
179
|
+
<div style="display: block">
|
180
|
+
<p class="faq-answer" itemprop="text">
|
181
|
+
{{data.answer | replace: "$variable", page.value}}
|
182
|
+
</p>
|
183
|
+
</div>
|
184
|
+
</li>
|
185
|
+
{% endfor %}
|
186
|
+
</ul>
|
255
187
|
</div>
|
256
188
|
</div>
|
257
189
|
</div>
|
258
|
-
</section>
|
259
|
-
{%- endif -%} {%- endif -%} {%- include share/socialshare.html -%} {%-
|
260
|
-
include Rating/rating.html -%} {%- if homeData.USPS -%} {%- include
|
261
|
-
/Usp/usp.html -%} {%- endif -%} {%- if homeData.display_formats -%}
|
262
|
-
<div class="container file-detail-table">
|
263
|
-
{%- include fileformat/fileformatdetail.html -%}
|
264
190
|
</div>
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
191
|
+
</section>
|
192
|
+
{%- endif -%} {%- endif -%} {%- include share/socialshare.html -%} {%-
|
193
|
+
include Rating/rating.html -%} {%- if homeData.USPS -%} {%- include
|
194
|
+
/Usp/usp.html -%} {%- endif -%} {%- if homeData.display_formats -%}
|
195
|
+
<div class="container file-detail-table">
|
196
|
+
{%- include fileformat/fileformatdetail.html -%}
|
197
|
+
</div>
|
198
|
+
{%- endif -%} {%- if homeData.compare_formats -%}
|
199
|
+
<div class="container compare-table">
|
200
|
+
{%- include fileformat/comparisonfiles.html -%}
|
201
|
+
</div>
|
202
|
+
{%- endif -%} {%- assign langen = "en" -%} {%- if
|
203
|
+
site.data[folder][langen][file].categories -%} {% assign categories=
|
204
|
+
site.data[folder][langen][file].categories %} {%- else -%} {% assign
|
205
|
+
categories= page.categories %} {%- endif -%} {%- if
|
206
|
+
site.data[folder][langen][file].tags -%} {% assign tags=
|
207
|
+
site.data[folder][langen][file].tags %} {%- else -%} {% assign tags=
|
208
|
+
page.tags %} {%- endif -%} {%- if categories.size> 0 or tags.size>0-%} {%-
|
209
|
+
include section/related_categories_post.html -%} {%- else -%} {%- include
|
210
|
+
section/recent_posts.html -%} {% endif %} {%- if site.customblogdata -%} {%-
|
211
|
+
if categories.size> 0 or tags.size>0-%} {%- include
|
212
|
+
customblog/relatedposts.html -%} {%- else -%} {%- include
|
213
|
+
customblog/recentposts.html -%} {% endif %} {%- endif -%}
|
214
|
+
|
215
|
+
|
216
|
+
|
217
|
+
{%- if homeData.author.size > 0 -%}
|
218
|
+
{% include featurePageAuthors/featurePageAuthors.html %}
|
219
|
+
{%- endif -%}
|
220
|
+
{% include footer/index.html %}
|
221
|
+
|
222
|
+
{% include script.html %}
|
223
|
+
</body>
|
224
|
+
|
225
|
+
</html>
|
data/assets/js/theme.js
CHANGED
@@ -84,8 +84,11 @@ let dropmenu = document.querySelector(".dropmenu");
|
|
84
84
|
navbarDropdown.addEventListener("click", () => {
|
85
85
|
if (dropmenu.classList.contains("show")) {
|
86
86
|
dropmenu.classList.remove("show");
|
87
|
+
dropmenu.style.display = "none"
|
87
88
|
} else {
|
88
89
|
dropmenu.classList.add("show");
|
90
|
+
dropmenu.style.display = "block"
|
91
|
+
dropmenu.style.padding = ".5rem 0"
|
89
92
|
}
|
90
93
|
});
|
91
94
|
const navbarToggler=document.querySelector('.navbar-toggler')
|
@@ -93,8 +96,10 @@ const navBar=document.querySelector('#navbarSupportedContent')
|
|
93
96
|
navbarToggler.addEventListener('click',()=>{
|
94
97
|
if (navBar.classList.contains("show")) {
|
95
98
|
navBar.classList.remove("show");
|
99
|
+
navBar.style.display = "none"
|
96
100
|
} else {
|
97
101
|
navBar.classList.add("show");
|
102
|
+
navBar.style.display = "block"
|
98
103
|
}
|
99
104
|
})
|
100
105
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appscms-tools-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.5.
|
4
|
+
version: 3.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vivek-appscms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|