appscms-tools-theme 3.5.0 → 3.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/feature.html +25 -147
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2fbf05a8c0a675bd818fe238dc01d10c61db5f08de67b5600390241a86f7a39
4
- data.tar.gz: f3e17c78626db7b077b8d3a20438fb63971d998389e34b1aada02051dcaf660e
3
+ metadata.gz: cc31d15ade11dc4182ca96658569b7085bb61ed1ee9d12c25deee66702801899
4
+ data.tar.gz: 0022064dc97913c97dcfb683f0021ba1218c2c5a614389653186fcfa70cd0a0d
5
5
  SHA512:
6
- metadata.gz: ac8120295e36723a17599c521eb342a5bf8937ad9a0706a86652b4fb572e21c335296b725fd1bded5e028de864959fed6a39459efbb4818f9b04b9825c6a54fd
7
- data.tar.gz: e219fe85cf56b857b5e5f7fbc54eed5f411d0b5b4b36c8843bdafc99913a1d9d65c572dc870fc1127b352bbc725d5aace5e7d31bd7b93c3adbe89356257e02e8
6
+ metadata.gz: 855d136e2a4437a8fb5d6594e2444065c483f191b92d7bb66928bc2ef119893e72be3b1686a9ab4385e94984429a3eb9e5311d7796d263dfbb6e46d1ace30774
7
+ data.tar.gz: b9439412b66776f8160ce6e49c4b080c04a706f4bf252a452d1a97dc719820a7f4d5af7b698380bf50110813a6d966c958ddb9d0c8324c6c78cd7d6fd5341a42
@@ -54,6 +54,8 @@
54
54
  </h2>
55
55
  </div>
56
56
  </div>
57
+
58
+
57
59
  {%- endif -%} {%- if site.noFeatureBox == true -%}
58
60
  <div class="feature-content-box" id="theme-content-box">{{content}}</div>
59
61
  {%- elsif site.newFeatureBox -%}
@@ -108,72 +110,11 @@
108
110
  <p id="error" class="p-3"></p>
109
111
  </div>
110
112
  </div>
111
- {%- endif -%} {%- if page.workspace -%}
112
- <div class="workspace" style="display: none">
113
+ <div class="workspace">
113
114
  <div class="row mx-auto">
114
115
  <div class="col-md-10 mx-auto">{{content}}</div>
115
116
  </div>
116
117
  </div>
117
- {%- else -%}
118
- <div class="workspace" style="display: none">
119
- <div class="row">
120
- <div class="col-12">
121
- <div class="download-wrapper mt-3">
122
- <div class="row rowclass">
123
- <div class="col-7">
124
- <div class="d-flex align-items-center">
125
- <div class="select-format-title">image's format</div>
126
- <div class="download-format">
127
- <select name="image-format" id="image-format">
128
- {%- if pageData.downloadFormats -%} {%- for item in
129
- pageData.downloadFormats -%}
130
- <option value="{{item}}">{{item}}</option>
131
- {%- endfor -%} {%- else -%}
132
- <option value="png">png</option>
133
- <option value="jpg">jpg</option>
134
- <option value="jpeg">jpeg</option>
135
- <option value="webp">webp</option>
136
- <option value="gif">gif</option>
137
- {%- endif -%}
138
- </select>
139
- </div>
140
- </div>
141
- </div>
142
- <div class="col-5">
143
- <div class="d-flex align-items-center">
144
- <button id="download-button" style="background-color: {{pageData.color}};">
145
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
146
- <path
147
- d="M256 0C114.6 0 0 114.6 0 256c0 141.4 114.6 256 256 256s256-114.6 256-256C512 114.6 397.4 0 256 0zM382.6 302.6l-103.1 103.1C270.7 414.6 260.9 416 256 416c-4.881 0-14.65-1.391-22.65-9.398L129.4 302.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 306.8V128c0-17.69 14.33-32 32-32s32 14.31 32 32v178.8l49.38-49.38c12.5-12.5 32.75-12.5 45.25 0S395.1 290.1 382.6 302.6z" />
148
- </svg>Download
149
- </button>
150
- </div>
151
- </div>
152
- </div>
153
- </div>
154
- </div>
155
- </div>
156
- {%- if page.commonStructure != false -%}
157
- <div class="row">
158
- <div class="col-md-7 mx-auto mb-2">
159
- <div class="select-img-panel">
160
- <div id="saving-data" style="display: none">
161
- <img loading="lazy" src="/assets/images/loader.gif" alt="saving" />
162
- <span class="ml-2" {%- if site.crossorigin -%} crossorigin {%- endif -%}>Saving your images...</span>
163
- </div>
164
- <div id="canvas-box-panel"></div>
165
- </div>
166
- </div>
167
- <div class="col-md-5">
168
- <div class="options-panel">
169
- {%- if pageData.optionPanelTitle -%}
170
- <div class="title">{{pageData.optionPanelTitle}}</div>
171
- {%- endif -%} {{content}}
172
- </div>
173
- </div>
174
- </div>
175
- {%- else -%} {{content}} {%- endif -%}
176
- </div>
177
118
  {%- endif -%}
178
119
  </div>
179
120
  </div>
@@ -198,50 +139,31 @@
198
139
  {%- endif -%} {%- endif -%} {%- if page.layout == "batch" -%}
199
140
  <div class="w-100 line" style="border-top: 1px solid rgb(224, 224, 224)"></div>
200
141
  {%- endif -%}
142
+
143
+
144
+
145
+
201
146
  <div class="container mt-4 mb-5">
202
147
  <div class="row px-0">
203
148
  {%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%}
204
149
 
205
150
  <div class="col-md-9 mx-auto">
206
151
  <div class="row">
207
- {%- endif -%}
208
- {% assign totalHeaderCount = 0 %}
209
- {% for data in featureData.TEXTUAL_CONTENT %}
210
- {% assign words = data.header | split: " " %}
211
- {% assign word_count = words | size %}
212
- {% assign totalHeaderCount = totalHeaderCount | plus: word_count %}
213
- {% endfor %}
214
-
215
-
216
- {% for data in featureData.TEXTUAL_CONTENT %}
152
+ {%- endif -%} {% for data in featureData.TEXTUAL_CONTENT %}
217
153
  <div
218
154
  class="{%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%} col-md-6 my-4 {%- else -%} col-md-4 my-4 {%- endif -%}">
219
155
  <div>
220
156
  <img class="feature-card-img" src="{{data.logoUrl}}" loading="lazy" height="48px" width="48px"
221
157
  alt="{{data.header}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
222
158
  <div class="feature-card-title">
223
- {%- if totalHeaderCount > site.count_of_words_in_headings -%}
224
- {%- for word in featureh2 -%} {%- if forloop.first == true -%} {{word
225
- | capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%}
226
- {%- else -%}
227
159
  {{data.header | replace: "$variable", page.value}}
228
- {%- endif -%}
229
160
  </div>
230
161
  <div class="feature-card-desc">
231
162
  {{data.content | replace: "$variable", page.value}}
232
163
  </div>
233
164
  </div>
234
165
  </div>
235
- {% endfor %}
236
-
237
-
238
-
239
-
240
-
241
-
242
-
243
-
244
- {%- if site.monumetricId and page.url != '/' and
166
+ {% endfor %} {%- if site.monumetricId and page.url != '/' and
245
167
  page.lang == 'en' -%}
246
168
  </div>
247
169
  </div>
@@ -257,26 +179,7 @@
257
179
  <div class="row">
258
180
  {%- endif -%}
259
181
  <div class="col-md-6 order-0">
260
- {%- if featureData.HOW_TO_CONTENT.YoutubeVideoUrl.size > 0 -%}
261
- <div class="how-to-video-wrapper">
262
- {% assign video_url = featureData.HOW_TO_CONTENT.YoutubeVideoUrl %}
263
- {% assign params = video_url | split: "?" | last | split: "&" %}
264
- {% for param in params %}
265
- {% if param contains "v=" %}
266
- {% assign video_id = param | split: "=" | last %}
267
- {% endif %}
268
- {% endfor %}
269
-
270
- {%- if site.monumetricId -%}
271
- <iframe class="youtubeVideoPlayer mb-5" width="400" height="315" src="https://www.youtube.com/embed/{{video_id}}?autoplay=1&mute=1" allowfullscreen>
272
- </iframe>
273
- {%- else -%}
274
- <iframe class="youtubeVideoPlayer mb-5" width="500" height="315" src="https://www.youtube.com/embed/{{video_id}}?autoplay=1&mute=1" allowfullscreen>
275
- </iframe>
276
- {%- endif -%}
277
-
278
- </div>
279
- {%- else -%}
182
+ {%- if featureData.HOW_TO_CONTENT.logoImageUrl -%}
280
183
  <div class="how-to-img-wrapper">
281
184
  <img class="how-to-leftimg" height="180px" width="300px"
282
185
  src="{{featureData.HOW_TO_CONTENT.logoImageUrl}}" loading="lazy"
@@ -284,7 +187,6 @@
284
187
  -%} crossorigin {%- endif -%} />
285
188
  </div>
286
189
  {%- endif -%}
287
-
288
190
  </div>
289
191
  <div class="col-md-6 order-1">
290
192
  <div class="how-to-right">
@@ -345,12 +247,8 @@
345
247
  </div>
346
248
  </div>
347
249
  </section>
348
- {%- endif -%} {%- endif -%} {%- include share/socialshare.html -%}
349
- {%- include Rating/rating.html -%}
350
- {%- if featureData.infographics.size > 0 -%}
351
- {%- include infographics/infographics.html -%}
352
- {%- endif -%}
353
- {%- include /Usp/usp.html -%} {%- if
250
+ {%- endif -%} {%- endif -%} {%- include share/socialshare.html -%} {%-
251
+ include Rating/rating.html -%} {%- include /Usp/usp.html -%} {%- if
354
252
  featureData.display_formats -%}
355
253
  <div class="container compare-table">
356
254
  {%- include fileformat/fileformatdetail.html -%}
@@ -359,39 +257,19 @@
359
257
  <div class="container file-detail-table">
360
258
  {%- include fileformat/comparisonfiles.html -%}
361
259
  </div>
362
-
363
-
364
- {%- endif -%}
365
- {%- assign langen = "en" -%}
366
- {%- if site.data[folder][langen][file].categories -%}
367
- {% assign categories= site.data[folder][langen][file].categories %}
368
- {%- else -%}
369
- {% assign categories= page.categories %}
370
- {%- endif -%}
371
- {%- if site.data[folder][langen][file].tags -%}
372
- {% assign tags= site.data[folder][langen][file].tags %}
373
- {%- else -%}
374
- {% assign tags= page.tags %}
375
- {%- endif -%}
376
- {%- if categories.size> 0 or tags.size>0-%}
377
- {%- include section/related_categories_post.html -%}
378
- {%- else -%}
379
- {%- include section/recent_posts.html -%}
380
- {% endif %}
381
- {%- if site.customblogdata -%}
382
- {%- if categories.size> 0 or tags.size>0-%}
383
- {%- include customblog/relatedposts.html -%}
384
- {%- else -%}
385
- {%- include customblog/recentposts.html -%}
386
- {% endif %}
387
- {%- endif -%}
388
-
389
-
390
- {%- if featureData.author.size > 0 -%}
391
- {% include featurePageAuthors/featurePageAuthors.html %}
392
- {%- endif -%}
393
- {% include footer/index.html %} {% include script.html %}
394
-
260
+ {%- endif -%} {%- assign langen = "en" -%} {%- if
261
+ site.data[folder][langen][file].categories -%} {% assign categories=
262
+ site.data[folder][langen][file].categories %} {%- else -%} {% assign
263
+ categories= page.categories %} {%- endif -%} {%- if
264
+ site.data[folder][langen][file].tags -%} {% assign tags=
265
+ site.data[folder][langen][file].tags %} {%- else -%} {% assign tags=
266
+ page.tags %} {%- endif -%} {%- if categories.size> 0 or tags.size>0-%} {%-
267
+ include section/related_categories_post.html -%} {%- else -%} {%- include
268
+ section/recent_posts.html -%} {% endif %} {%- if site.customblogdata -%} {%-
269
+ if categories.size> 0 or tags.size>0-%} {%- include
270
+ customblog/relatedposts.html -%} {%- else -%} {%- include
271
+ customblog/recentposts.html -%} {% endif %} {%- endif -%} {% include
272
+ footer/index.html %} {% include script.html %}
395
273
  </body>
396
274
 
397
275
  </html>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms