appscms-tools-theme 1.7.5 → 1.7.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a3ab4826e34704a7c72f970f2c11cf2632970d7d82ae07579a7b16f8ddec0dda
4
- data.tar.gz: f093bd351f6e340f958d08974cf281e3cb3a445efd112a9bb0544a9d35f636af
3
+ metadata.gz: b294c62480e0ce828b43470b06faa1eba6fa01b1368fc242eee49ebfbe92bcba
4
+ data.tar.gz: 45ef10a98e11f8c26c9dd3b3aef7ee3e002fbc1e5a04d59e1036c77207801b2a
5
5
  SHA512:
6
- metadata.gz: eacf110172f193b08c8bbfaa338ace0bef2cf3e1d6aa1579994aa84efcdd4650a9beabdd97133aff29513c347d71706b7d4d4d2db52cc96a48ad19c0ec1c4516
7
- data.tar.gz: 04cfdcdd0fb89f8d1d8356dcefb22295c75f58dba08ec7788815788899367d9dea90888db7aced38e2d5d177ffb00083ec0d7a8c446ae7a538c112c45cc72a3b
6
+ metadata.gz: da88fb1de509d9b3b84f6bc16c76539967489cd253f4d4bd6b59e8b48c6163b8cc5d7e0c1320867d7f59091023375a73a4b82f1c027a76413dfcb26f4b6a6d6f
7
+ data.tar.gz: 7056753beecb2c3d76421794dc2993631bb81d2afd545ae7af2ca49e1090bfa3c30e03038935ca39917ff6a9b28095e0f237c792a24ef17d9451fb7d50ef585d
@@ -11,7 +11,6 @@
11
11
  "nofileupload": true,
12
12
  "rate": "Rate this tool",
13
13
  "votes": "votes",
14
- "variant": "info",
15
14
  "BREADCRUMB_LABEL": "DOCX TO PDF",
16
15
  "color": "purple",
17
16
  "height": "300px",
@@ -10,6 +10,7 @@
10
10
  "imgwidth": "40px",
11
11
  "imgheight": "40px",
12
12
  "imgalt": "altvalue",
13
+ "nofileupload": true,
13
14
  "features": [
14
15
  {
15
16
  "name": "Compress PDF",
@@ -24,16 +24,9 @@
24
24
  {%- else -%}
25
25
  <title>{{title}}</title>
26
26
  {%- endif -%}
27
-
28
-
29
27
  {%- if dataToShow.keywords -%}
30
28
  <meta name="keywords" content="{{keywords}}" />
31
29
  {%- endif -%}
32
-
33
-
34
-
35
-
36
-
37
30
  {%- if page.layout == "aboutUs" -%}
38
31
  <meta name="description" content="{{site.name}} - About us | {{description}}" />
39
32
  {% elsif page.layout == "termAndCondition" %}
@@ -47,20 +40,8 @@
47
40
  {%- else -%}
48
41
  <meta name="description" content="{{description}}" />
49
42
  {%- endif -%}
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
43
  <link rel="stylesheet" href="/assets/css/bootstrap.min.css" {%- if site.crossorigin -%} crossorigin {%- endif -%}>
62
44
  <link rel="canonical" href="{{site.url | append: page.url}}" />
63
-
64
45
  {%- if dataToShow.css -%}
65
46
  <link rel="stylesheet" href="{{dataToShow.css}}" {%- if site.crossorigin -%} crossorigin {%- endif -%} />
66
47
  {%- else -%}
@@ -0,0 +1,61 @@
1
+ {% if jekyll.environment == 'production' and site.monumetricId %}
2
+ <script>
3
+ const autoLoadDuration = 5; //In Seconds
4
+ const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
5
+
6
+ const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
7
+
8
+ eventList.forEach(function (event) {
9
+ window.addEventListener(event, triggerScripts, { passive: true })
10
+ });
11
+
12
+ function triggerScripts() {
13
+ runScripts();
14
+ clearTimeout(autoLoadTimeout);
15
+ eventList.forEach(function (event) {
16
+ window.removeEventListener(event, triggerScripts, { passive: true });
17
+ });
18
+ }
19
+
20
+ function runScripts() {
21
+ console.log(document.querySelector("script"))
22
+ console.log("Javascript Executed!")
23
+ console.log(document.querySelectorAll("script[delay]"))
24
+ document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
25
+ scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
26
+ });
27
+ }
28
+ </script>
29
+ <script type="text/javascript" defer delay="{{site.monumetricId}}" data-cfasync="false"></script>
30
+ {% endif %}
31
+
32
+ {% if jekyll.environment == 'development' and site.monumetricId %}
33
+ <script>
34
+ const autoLoadDuration = 5; //In Seconds
35
+ const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
36
+
37
+ const autoLoadTimeout = setTimeout(runScripts, autoLoadDuration * 1000);
38
+
39
+ eventList.forEach(function (event) {
40
+ window.addEventListener(event, triggerScripts, { passive: true })
41
+ });
42
+
43
+ function triggerScripts() {
44
+ runScripts();
45
+ clearTimeout(autoLoadTimeout);
46
+ eventList.forEach(function (event) {
47
+ window.removeEventListener(event, triggerScripts, { passive: true });
48
+ });
49
+ }
50
+
51
+ function runScripts() {
52
+ console.log(document.querySelector("script"))
53
+ console.log("Javascript Executed!")
54
+ console.log(document.querySelectorAll("script[delay]"))
55
+ document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
56
+ scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
57
+ });
58
+ }
59
+ </script>
60
+ <script type="text/javascript" delay="{{site.monumetricId}}"></script>
61
+ {% endif %}
@@ -13,18 +13,20 @@
13
13
  {%- if site.safeui -%}
14
14
  <div class="alert alert-{{featureData.variant | default: 'warning'}} alert-dismissible fade show text-center"
15
15
  role="alert">
16
- <img src="/assets/secure.svg" height="23px" width="18px" alt="secure" {%- if site.crossorigin -%} crossorigin
17
- {%- endif -%}> &nbsp;
18
- {%- if featureData.alertmsg -%}
19
- {{featureData.alertmsg}}
20
- {%- else -%}
21
- We do not upload any files to server, hence your data is 100% secure.
22
- {%- endif -%} &nbsp;
23
- <img src="/assets/noserverupload.svg" height="23px" width="20px" alt="no server upload" {%- if site.crossorigin
24
- -%} crossorigin {%- endif -%}>
25
- <button type="button" class="close" data-dismiss="alert" aria-label="Close">
26
- <span aria-hidden="true">&times;</span>
27
- </button>
16
+ <div class="container">
17
+ <img src="/assets/secure.svg" height="23px" width="18px" alt="secure" {%- if site.crossorigin -%}
18
+ crossorigin {%- endif -%}> &nbsp;
19
+ {%- if featureData.alertmsg -%}
20
+ {{featureData.alertmsg}}
21
+ {%- else -%}
22
+ We do not upload any files to server, hence your data is 100% secure.
23
+ {%- endif -%} &nbsp;
24
+ <img src="/assets/noserverupload.svg" height="23px" width="20px" alt="no server upload" {%- if
25
+ site.crossorigin -%} crossorigin {%- endif -%}>
26
+ <button type="button" class="close" data-dismiss="alert" aria-label="Close">
27
+ <span aria-hidden="true">&times;</span>
28
+ </button>
29
+ </div>
28
30
  </div>
29
31
  {%- endif -%}
30
32
  <div class="flex-container pb-3">
@@ -105,15 +107,23 @@
105
107
  </div>
106
108
  </div>
107
109
  </div>
108
- {%- if site.noFaqs != true or page.lang == 'en' -%}
110
+ {%- assign showFaqs= true -%}
111
+ {%- for item in site.noFaqsList -%}
112
+ {%- if item == page.lang -%}
113
+ {%- assign showFaqs = false -%}
114
+ {%- break -%}
115
+ {%- else -%}
116
+ {%- assign showFaqs = true -%}
117
+ {%- endif -%}
118
+ {%- endfor -%}
119
+ {%- if showFaqs == true -%}
120
+ {%- if featureData.FAQ.size>0 -%}
109
121
  <div class="container">
110
122
  <div class="row">
111
123
  <div class="col-md-8 mx-auto">
112
124
  <div class="faq">
113
- {%- if featureData.FAQ.size>0 -%}
114
125
  <h2 class="feature-h1 text-center">{{featureData.faqheading | default: 'Frequently Asked
115
126
  Questions'}}</h2>
116
- {%- endif -%}
117
127
  <ul class="list-unstyled">
118
128
  {% for data in featureData.FAQ %}
119
129
  <li>
@@ -134,8 +144,7 @@
134
144
  </div>
135
145
  </div>
136
146
  {%- endif -%}
137
-
138
-
147
+ {%- endif -%}
139
148
  {%- include share/socialshare.html -%}
140
149
  {%- include Rating/rating.html -%}
141
150
  {%- include /Usp/usp.html -%}
data/_layouts/home.html CHANGED
@@ -9,20 +9,21 @@
9
9
  <body>
10
10
  {% include header/index.html %}
11
11
  {%- if homeData.nofileupload -%}
12
- <div class="alert alert-{{featureData.variant | default: 'warning'}} alert-dismissible fade show text-center"
12
+ <div class="alert alert-{{homeData.variant | default: 'warning'}} alert-dismissible fade show text-center"
13
13
  role="alert">
14
- <img src="/assets/secure.svg" height="23px" width="18px" alt="secure" {%- if site.crossorigin -%} crossorigin
15
- {%- endif -%}> &nbsp;
16
- {%- if featureData.alertmsg -%}
17
- {{featureData.alertmsg}}
18
- {%- else -%}
19
- We do not upload any files to server, hence your data is 100% secure.
20
- {%- endif -%} &nbsp;
21
- <img src="/assets/noserverupload.svg" height="23px" width="20px" alt="no server upload" {%- if site.crossorigin
22
- -%} crossorigin {%- endif -%}>
23
- <button type="button" class="close" data-dismiss="alert" aria-label="Close">
24
- <span aria-hidden="true">&times;</span>
25
- </button>
14
+ <div class="container"> <img src="/assets/secure.svg" height="23px" width="18px" alt="secure" {%- if
15
+ site.crossorigin -%} crossorigin {%- endif -%}> &nbsp;
16
+ {%- if homeData.alertmsg -%}
17
+ {{homeData.alertmsg}}
18
+ {%- else -%}
19
+ We do not upload any files to server, hence your data is 100% secure.
20
+ {%- endif -%} &nbsp;
21
+ <img src="/assets/noserverupload.svg" height="23px" width="20px" alt="no server upload" {%- if
22
+ site.crossorigin -%} crossorigin {%- endif -%}>
23
+ <button type="button" class="close" data-dismiss="alert" aria-label="Close">
24
+ <span aria-hidden="true">&times;</span>
25
+ </button>
26
+ </div>
26
27
  </div>
27
28
  {%- endif -%}
28
29
  {%- if homeData.h1 or homeData.h2 -%}
@@ -108,7 +109,16 @@
108
109
  </div>
109
110
 
110
111
  {%- endif -%}
111
- {%- if site.noFaqs != true or page.lang == 'en' -%}
112
+ {%- assign showFaqs = true -%}
113
+ {%- for item in site.noFaqsList -%}
114
+ {%- if item == page.lang -%}
115
+ {%- assign showFaqs = false -%}
116
+ {%- break -%}
117
+ {%- else -%}
118
+ {%- assign showFaqs = true -%}
119
+ {%- endif -%}
120
+ {%- endfor -%}
121
+ {%- if showFaqs == true -%}
112
122
  {%- if homeData.FAQ -%}
113
123
  <div class="container">
114
124
  <div class="row">
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: 1.7.5
4
+ version: 1.7.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
@@ -152,6 +152,7 @@ files:
152
152
  - _includes/header/blogHeader.html
153
153
  - _includes/header/index.html
154
154
  - _includes/languages/languages.html
155
+ - _includes/monumetric/monumetric.html
155
156
  - _includes/nofiletransfer/nofiletransfer.html
156
157
  - _includes/paginationBlogPage.html
157
158
  - _includes/paginationPostPage.html