appscms-tools-theme 1.0.1 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -128,7 +128,7 @@
128
128
  <script>
129
129
  if ('serviceWorker' in navigator) {
130
130
  window.addEventListener('load', () => {
131
- navigator.serviceWorker.register('/assets/js/serviceworker.js')
131
+ navigator.serviceWorker.register('/serviceworker.js')
132
132
  .then((reg) => console.log('Success: ', reg.scope))
133
133
  .catch((err) => console.log('Failure: ', err));
134
134
  })
@@ -9,6 +9,6 @@
9
9
  {%- endif -%}
10
10
  {%- if scriptData.jscdns -%}
11
11
  {%- for item in scriptData.jscdns -%}
12
- {{item}}
12
+ {{item | replace:"$folderName", page.folderName | replace: "$fileName", page.fileName | replace: "$lang", page.lang | replace: "$tool", page.tool }}
13
13
  {%- endfor -%}
14
14
  {%- endif -%}
@@ -11,7 +11,7 @@
11
11
  <div class="download-section">
12
12
  <div class="row">
13
13
  <div class="col-md-12 px-0">
14
- <p class="success-msg" > <?xml version="1.0" encoding="iso-8859-1"?>
14
+ <p class="success-msg mb-0" > <?xml version="1.0" encoding="iso-8859-1"?>
15
15
  <svg height='22px' width='22px' version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
16
16
  viewBox="0 0 496.158 496.158" style="enable-background:new 0 0 496.158 496.158;" xml:space="preserve">
17
17
  <path style="fill:#32BEA6;" d="M496.158,248.085c0-137.021-111.07-248.082-248.076-248.082C111.07,0.003,0,111.063,0,248.085
@@ -55,14 +55,14 @@
55
55
  <g>
56
56
  </g>
57
57
  </svg>
58
- Hurry! your operation was completed</p>
58
+ {{downloadData.successmessage | default: 'Hurry! your operation was completed' }} </p>
59
59
  <div class="try-more-features ">
60
- <h2 class="success-msg border-bottom-none" >Try These features</h2>
60
+ <h2 class="success-msg border-bottom-none" > {{downloadData.tryfeatureheading | default: 'Try These features' }} </h2>
61
61
  <div class="row feature-showcase " >
62
62
  {%- if downloadData.recommendedfeatures -%}
63
63
  {%- for item in downloadData.recommendedfeatures -%}
64
64
  <div class="col-md-6 feature-showcase-div">
65
- <a class="px-2 w-100 d-flex justify-content-between " target="_blank" href="{{item.url}}"> <span><img src="{{item.logo}}" alt="feature-logo"> <span class="ml-3 "> {{item.name}}</span></span> <span class='d-inline-block ml-auto'><i class="fas fa-chevron-right"></i></span> </a> </div>
65
+ <a class="px-2 w-100 d-flex justify-content-between " href="{{item.url}}"> <span><img src="{{item.logo}}" alt="feature-logo"> <span class="ml-3 "> {{item.name}}</span></span> <span class='d-inline-block ml-auto'><i class="fas fa-chevron-right"></i></span> </a> </div>
66
66
  {%- endfor -%}
67
67
  {%- else -%}
68
68
  code2
@@ -71,19 +71,69 @@
71
71
  </div>
72
72
  </div>
73
73
  </div>
74
- <div class="col-md-12 download-page-rate-us">
74
+ <div class="row w-100 px-3">
75
+ <div class="col-12">
76
+ {%- if downloadData.recommendedsitesheading -%}
77
+ <p class="success-msg mb-0" >{{downloadData.recommendedsitesheading}}</p>
78
+ {%- else -%}
79
+ <p class="success-msg mb-0" >Try our other sites for safe processing of you files ! </p>
80
+ {%- endif -%}
81
+ </div>
82
+
83
+ {%- if downloadData.recommendedsites -%}
84
+ {%- assign recommendedsitesData = downloadData.recommendedsites -%}
85
+ {%- for item in recommendedsitesData -%}
86
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
87
+ <img loading='lazy' src="{{item.logo}}" alt="{{item.name}} logo"> <a target="_blank" href="{{item.url}}">{{item.name}}</a>
88
+ </div>
89
+ {%- endfor -%}
90
+ {%- else -%}
91
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
92
+ <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/0623ca017395ac8b757b16b645ff38a89963b01b/a43c6/assets/logo.svg" alt="safepdfkitlogo"> <a target="_blank" href="https://safepdfkit.com">Safepdfkit.com</a>
93
+ </div>
94
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
95
+ <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/796c1a01dae9c2d10224fd72a820156974b26ab1/3b885/assets/images/logo.png" alt="Safeaudiokit-logo"> <a target="_blank" href="https://safeaudiokit.com">safeaudiokit.com</a>
96
+ </div>
97
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
98
+ <img src="https://d33wubrfki0l68.cloudfront.net/ab0207d780c019c54db62b002396bc8c3fddddaf/9abb9/assets/safevideokit.svg" alt="Safevideokitlogo"> <a target="_blank" href="https://safevideokit.com">safevideokit.com</a>
99
+ </div>
100
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
101
+ <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/2e37a1020563aa528471da7425b8e58343e2baf7/a186c/picture.png" alt="Safeimagekitlogo"> <a target="_blank" href="https://safeimagekit.com/">safeimagekit.com</a>
102
+ </div>
103
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
104
+ <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/74bf3f3836d56b30d16137169cd4c28bf15494ed/11962/js/pt.png" alt="safezipkitlogo"> <a target="_blank" href="https://safezipkit.com/">safezipkit.com</a>
105
+ </div>
106
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
107
+ <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/325cdfad7de6cae4a03aecfadc70b38af754cbd0/d87f9/assets/images/logo.png" alt="Safeimageconverter logo"> <a target="_blank" href="https://safeaudioconverter.com/"> safeaudioconverter.com
108
+
109
+ </a>
110
+ </div>
111
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
112
+ <img loading='lazy' src="https://safevideoconverter.com/assets/logo.svg" alt="https:safevideoconverter logo"> <a target="_blank" href="https://safevideoconverter.com/">safevideoconverter.com</a>
113
+ </div>
114
+ <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
115
+ <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/c8fef6be5192b9fa57b8503c6ad93befa361926d/a66d0/picture.svg" alt="safeimageconverter logo"> <a target="_blank" href="https://safeimageconverter.com/">safeimageconverter</a>
116
+ </div>
117
+ {%- endif -%}
118
+
119
+ </div>
120
+ <div class="col-md-12 download-page-rate-us sites-config py-0">
75
121
  <div class="rating-tool" style="border: none;">
76
- <img id="rating-img" loading='lazy' src="/assets/images/rating.png" alt="rating-img">
77
- <div class="rating-text">Rate us</div>
122
+ <div class="rating-text">{{downloadData.rateus | default: 'Rate us'}}</div>
78
123
  <div class="rating-stars" >
79
124
  <i class="fas fa-star rating-star"></i><i class="fas fa-star rating-star"></i
80
125
  ><i class="fas fa-star rating-star"></i><i class="fas fa-star rating-star"></i
81
126
  ><i class="fas fa-star rating-star"></i>
82
127
  </div>
83
128
  <div class="rating-value ml-2">
84
-
129
+ {%- for item in data -%}
130
+ {%- if item.name ==tool -%}
131
+ {%- assign rating = item.rating -%}
132
+ {%- assign votes = item.votes -%}
133
+ {%- endif -%}
134
+ {%- endfor -%}
85
135
  <span class="rating"> <strong id='rating'>0</strong><span>/5</span> </span>
86
- &nbsp; <span class="total-ratings" id='count'>0 </span> votes
136
+ &nbsp; <span class="total-ratings" id='count'>0 </span>{{downloadData.votes | default: 'votes'}}
87
137
  </div>
88
138
  </div>
89
139
  <script>
@@ -118,8 +168,7 @@
118
168
  ratingValue.innerText=data.rating
119
169
  count.innerText=data.votes
120
170
  }
121
- let ratingImg = document.querySelector('#rating-img');
122
- ratingImg.addEventListener('load', (event) => {
171
+ window.addEventListener('DOMContentLoaded', () => {
123
172
  fetchRating()
124
173
  });
125
174
  const ratingNode=document.getElementsByClassName('rating-star')
@@ -183,52 +232,7 @@
183
232
  {%- endif -%}</p>
184
233
  </div>
185
234
  </div>
186
- <div class="row sites-config px-3">
187
- <div class="col-12">
188
- {%- if downloadData.recommendedsitesheading -%}
189
- <p class="success-msg" >{{downloadData.recommendedsitesheading}}</p>
190
- {%- else -%}
191
- <p class="success-msg" >Try our other sites for safe processing of you files ! </p>
192
- {%- endif -%}
193
- </div>
194
-
195
- {%- if downloadData.recommendedsites -%}
196
- {%- assign recommendedsitesData = downloadData.recommendedsites -%}
197
- {%- for item in recommendedsitesData -%}
198
- <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
199
- <img loading='lazy' src="{{item.logo}}" alt="{{item.name}} logo"> <a target="_blank" href="{{item.url}}">{{item.name}}</a>
200
- </div>
201
- {%- endfor -%}
202
- {%- else -%}
203
- <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
204
- <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/0623ca017395ac8b757b16b645ff38a89963b01b/a43c6/assets/logo.svg" alt="safepdfkitlogo"> <a target="_blank" href="https://safepdfkit.com">Safepdfkit.com</a>
205
- </div>
206
- <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
207
- <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/796c1a01dae9c2d10224fd72a820156974b26ab1/3b885/assets/images/logo.png" alt="Safeaudiokit-logo"> <a target="_blank" href="https://safeaudiokit.com">safeaudiokit.com</a>
208
- </div>
209
- <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
210
- <img src="https://d33wubrfki0l68.cloudfront.net/ab0207d780c019c54db62b002396bc8c3fddddaf/9abb9/assets/safevideokit.svg" alt="Safevideokitlogo"> <a target="_blank" href="https://safevideokit.com">safevideokit.com</a>
211
- </div>
212
- <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
213
- <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/2e37a1020563aa528471da7425b8e58343e2baf7/a186c/picture.png" alt="Safeimagekitlogo"> <a target="_blank" href="https://safeimagekit.com/">safeimagekit.com</a>
214
- </div>
215
- <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
216
- <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/74bf3f3836d56b30d16137169cd4c28bf15494ed/11962/js/pt.png" alt="safezipkitlogo"> <a target="_blank" href="https://safezipkit.com/">safezipkit.com</a>
217
- </div>
218
- <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
219
- <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/325cdfad7de6cae4a03aecfadc70b38af754cbd0/d87f9/assets/images/logo.png" alt="Safeimageconverter logo"> <a target="_blank" href="https://safeaudioconverter.com/"> safeaudioconverter.com
220
235
 
221
- </a>
222
- </div>
223
- <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
224
- <img loading='lazy' src="https://safevideoconverter.com/assets/logo.svg" alt="https:safevideoconverter logo"> <a target="_blank" href="https://safevideoconverter.com/">safevideoconverter.com</a>
225
- </div>
226
- <div class="col-md-4 col-sm-6 mb-4 col-lg-3">
227
- <img loading='lazy' src="https://d33wubrfki0l68.cloudfront.net/c8fef6be5192b9fa57b8503c6ad93befa361926d/a66d0/picture.svg" alt="safeimageconverter logo"> <a target="_blank" href="https://safeimageconverter.com/">safeimageconverter</a>
228
- </div>
229
- {%- endif -%}
230
-
231
- </div>
232
236
  </div>
233
237
  </div>
234
238
 
@@ -10,7 +10,7 @@
10
10
  {% include header/index.html %}
11
11
  {%- include dropdown/langdropdown.html -%}
12
12
  {%- if featureData.nofileupload -%}
13
- <div class="alert alert-warning alert-dismissible fade show text-center" role="alert">
13
+ <div class="alert alert-{{featureData.variant | default: 'warning'}} alert-dismissible fade show text-center" role="alert">
14
14
  <img src="/assets/secure.svg" height="23px" width="18px" alt="secure"> &nbsp;
15
15
  {%- if featureData.alertmsg -%}
16
16
  {{featureData.alertmsg}}
@@ -0,0 +1,23 @@
1
+ {% assign file = page.fileName %}
2
+ {% assign lang = page.lang %}
3
+ {% assign folder = page.folderName %}
4
+ {% assign fileinfoData= site.data[folder][lang][file] %}
5
+ <!DOCTYPE html>
6
+ <html lang="{{fileinfoData.htmlLangAtt}}">
7
+ {% include head/index.html %}
8
+ <body>
9
+ {% include header/index.html %}
10
+ {%- if fileinfoData.display_formats -%}
11
+
12
+ <div class="container px-md-5 compare-table ">
13
+ <div class="px-md-4">
14
+ {%- include fileformat/fileformatdetail.html -%}
15
+ </div>
16
+ </div>
17
+ {%- endif -%}
18
+
19
+ {% include footer/index.html %}
20
+ {% include script.html %}
21
+ </body>
22
+
23
+ </html>
data/_layouts/home.html CHANGED
@@ -9,7 +9,7 @@
9
9
  {% include header/index.html %}
10
10
  {%- include dropdown/langdropdown.html -%}
11
11
  {%- if homeData.nofileupload -%}
12
- <div class="alert alert-warning alert-dismissible fade show text-center" role="alert">
12
+ <div class="alert alert-{{featureData.variant | default: 'warning'}} alert-dismissible fade show text-center" role="alert">
13
13
  <img src="/assets/secure.svg" height="23px" width="18px" alt="secure"> &nbsp;
14
14
  {%- if featureData.alertmsg -%}
15
15
  {{featureData.alertmsg}}
data/assets/css/tools.css CHANGED
@@ -1325,8 +1325,12 @@ ul li {
1325
1325
  position: relative;
1326
1326
  color: white;
1327
1327
  margin: 0;
1328
+ transition: 0.2s linear;
1328
1329
  border: 1px solid white;
1329
1330
  }
1331
+ .home-feature-box:hover {
1332
+ transform: translateY(-17px);
1333
+ }
1330
1334
  @media (min-width: 0px) and (max-width: 767px) {
1331
1335
  .home-feature-box {
1332
1336
  width: 100%;
@@ -1348,9 +1352,6 @@ ul li {
1348
1352
  .home-feature-name {
1349
1353
  line-height: 24px;
1350
1354
  font-size: 16px;
1351
- -webkit-font-smoothing: antialiased;
1352
- -webkit-font-smoothing: antialiased;
1353
- -webkit-font-smoothing: antialiased;
1354
1355
  font-stretch: 400;
1355
1356
  font-weight: 700;
1356
1357
  text-overflow: ellipsis;
@@ -1367,6 +1368,8 @@ ul li {
1367
1368
  .home-feature-name:hover {
1368
1369
  box-shadow: 0px 0px 24px rgba(26, 26, 26, 0.2);
1369
1370
  z-index: 1;
1371
+ color: currentColor;
1372
+ text-decoration: none;
1370
1373
  }
1371
1374
  @media (max-width: 767px) {
1372
1375
  .home-feature-name {
@@ -1602,7 +1605,7 @@ ul li {
1602
1605
  }
1603
1606
  .download-section {
1604
1607
  box-shadow: rgb(0 0 0 / 20%) 0px 0px 2px inset;
1605
- margin-top: 40px;
1608
+ margin-top: 5px;
1606
1609
  }
1607
1610
  .download-btn-container {
1608
1611
  border-bottom: 1px solid rgb(238, 238, 238);
@@ -1709,7 +1712,7 @@ ul li {
1709
1712
  outline: none;
1710
1713
  -webkit-box-align: center;
1711
1714
  align-items: center;
1712
- height: 80px;
1715
+ height: 66px;
1713
1716
  background: rgb(250, 250, 250);
1714
1717
  }
1715
1718
  .feature-showcase-div img {
@@ -0,0 +1,17 @@
1
+ ---
2
+ ---
3
+ {
4
+ "short_name": "{{site.name}}",
5
+ "name": "{{site.name}}",
6
+ "icons": [
7
+ {
8
+ "src": "{{site.pwalogo}}",
9
+ "type": "image/png",
10
+ "sizes": "1024x1024"
11
+ }
12
+ ],
13
+ "start_url": "/",
14
+ "display": "standalone",
15
+ "theme_color": "#000000",
16
+ "background_color": "#ffffff"
17
+ }
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: 1.0.1
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-21 00:00:00.000000000 Z
11
+ date: 2021-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -74,6 +74,7 @@ files:
74
74
  - _data/feature/en/compress-pdf.json
75
75
  - _data/feature/en/split-pdf.json
76
76
  - _data/feature/hi/compress-pdf.json
77
+ - _data/fileinfo/en/fileinfo.json
77
78
  - _data/files/en/jpg.json
78
79
  - _data/files/en/png.json
79
80
  - _data/footer/en/data.json
@@ -125,6 +126,7 @@ files:
125
126
  - _layouts/disclaimer.html
126
127
  - _layouts/download.html
127
128
  - _layouts/feature.html
129
+ - _layouts/fileInfo.html
128
130
  - _layouts/help.html
129
131
  - _layouts/home.html
130
132
  - _layouts/page.html
@@ -156,6 +158,7 @@ files:
156
158
  - assets/js/advancedFilter2.js
157
159
  - assets/js/advancedFilter3.js
158
160
  - assets/js/googledrive.js
161
+ - assets/js/manifest.json
159
162
  - assets/js/scrabbleDictonary.js
160
163
  - assets/js/wordScrabble.js
161
164
  - assets/linkdin.svg