appscms-tools-theme 2.3.1 → 2.3.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,52 +1,52 @@
1
- {% if page.url != '/' %}
2
- {% if jekyll.environment == 'production' and site.profitablecpmgateId %}
3
- <script>
4
- const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
5
- eventList.forEach(function (event) {
6
- window.addEventListener(event, triggerScripts, { passive: true })
7
- });
8
-
9
- function triggerScripts() {
10
- runScripts();
11
- eventList.forEach(function (event) {
12
- window.removeEventListener(event, triggerScripts, { passive: true });
13
- });
14
- }
15
-
16
- function runScripts() {
17
- document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
18
- scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
19
- });
20
- }
21
- </script>
22
- <script type="text/javascript" delay="/assets/js/append-div.js" crossorigin="anonymous"></script>
23
- <script async="async" type="text/javascript" data-cfasync="false"
24
- delay="//pl17448257.profitablecpmgate.com/{{site.profitablecpmgateId}}/invoke.js" crossorigin="anonymous"></script>
25
- {% endif %}
26
-
27
- {% if jekyll.environment == 'development' and site.profitablecpmgateId %}
28
- <script>
29
- const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
30
- eventList.forEach(function (event) {
31
- window.addEventListener(event, triggerScripts, { passive: true })
32
- });
33
-
34
- function triggerScripts() {
35
- runScripts();
36
- eventList.forEach(function (event) {
37
- window.removeEventListener(event, triggerScripts, { passive: true });
38
- });
39
- }
40
-
41
- function runScripts() {
42
- document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
43
- scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
44
- });
45
- }
46
- </script>
47
- <script type="text/javascript" delay="/assets/js/append-div.js" crossorigin="anonymous"></script>
48
- <script async="async" type="text/javascript" data-cfasync="false"
49
- delay="//pl17448257.profitablecpmgate.com/{{site.profitablecpmgateId}}/invoke.js" crossorigin="anonymous"></script>
50
-
51
- {% endif %}
1
+ {% if page.url != '/' %}
2
+ {% if jekyll.environment == 'production' and site.profitablecpmgateId %}
3
+ <script>
4
+ const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
5
+ eventList.forEach(function (event) {
6
+ window.addEventListener(event, triggerScripts, { passive: true })
7
+ });
8
+
9
+ function triggerScripts() {
10
+ runScripts();
11
+ eventList.forEach(function (event) {
12
+ window.removeEventListener(event, triggerScripts, { passive: true });
13
+ });
14
+ }
15
+
16
+ function runScripts() {
17
+ document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
18
+ scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
19
+ });
20
+ }
21
+ </script>
22
+ <script type="text/javascript" delay="/assets/js/append-div.js" crossorigin="anonymous"></script>
23
+ <script async="async" type="text/javascript" data-cfasync="false"
24
+ delay="//pl17448257.profitablecpmgate.com/{{site.profitablecpmgateId}}/invoke.js" crossorigin="anonymous"></script>
25
+ {% endif %}
26
+
27
+ {% if jekyll.environment == 'development' and site.profitablecpmgateId %}
28
+ <script>
29
+ const eventList = ["keydown", "mousemove", "wheel", "touchmove", "touchstart", "touchend"];
30
+ eventList.forEach(function (event) {
31
+ window.addEventListener(event, triggerScripts, { passive: true })
32
+ });
33
+
34
+ function triggerScripts() {
35
+ runScripts();
36
+ eventList.forEach(function (event) {
37
+ window.removeEventListener(event, triggerScripts, { passive: true });
38
+ });
39
+ }
40
+
41
+ function runScripts() {
42
+ document.querySelectorAll("script[delay]").forEach(function (scriptTag) {
43
+ scriptTag.setAttribute("src", scriptTag.getAttribute("delay"));
44
+ });
45
+ }
46
+ </script>
47
+ <script type="text/javascript" delay="/assets/js/append-div.js" crossorigin="anonymous"></script>
48
+ <script async="async" type="text/javascript" data-cfasync="false"
49
+ delay="//pl17448257.profitablecpmgate.com/{{site.profitablecpmgateId}}/invoke.js" crossorigin="anonymous"></script>
50
+
51
+ {% endif %}
52
52
  {% endif %}
@@ -1,70 +1,70 @@
1
- ---
2
- layout: feature
3
- ---
4
-
5
- {% assign file = page.fileName %}
6
- {% assign lang = page.lang %}
7
- {% assign folder = page.folderName %}
8
- {% assign calculatorData= site.data[folder][lang][file].calculatorData %}
9
-
10
- <div class="container">
11
- <div class="calculator-workspace">
12
- <div class="row w-100 mx-auto">
13
- <form id="calculator-form" class="w-100">
14
- {%- for item in calculatorData.calculatorRow -%}
15
- <div class="row" id="calculator-row-{{forloop.index}}">
16
- {%- if item.labelName -%}
17
- <div class="col-md-12">
18
- <label for="{{item.labelId}}">{{item.labelName}}</label>
19
- </div>
20
- {%- endif -%}
21
- {%- if item.dropDown or item.inputBox or item.dateTimePicker -%}
22
- <div class="col-md-12">
23
- <div class="d-flex calculator-inputs">
24
- {%- if item.inputBox -%}
25
- <input class="form-control" type="text" name="{{item.inputName}}" id="{{item.inputId}}">
26
- {%- endif -%}
27
- {%- if item.dropDown -%}
28
- <select class="form-control" name="{{item.dropDownName}}" id="{{item.dropDownId}}"></select>
29
- {%- endif -%}
30
- {%- if item.dateTimePicker -%}
31
- <input class="form-control" type="date" name="{{item.dateTimePicker}}"
32
- id="{{item.dateTimePickerId}}">
33
- {%- endif -%}
34
- {%- if item.unit -%}
35
- <div class="unit">{{item.unit}}</div>
36
- {%- endif -%}
37
-
38
- </div>
39
-
40
- </div>
41
- {%- endif -%}
42
-
43
-
44
- </div>
45
- {%- endfor -%}
46
- <div id="dynamic-section"></div>
47
- </form>
48
-
49
- </div>
50
- <div class="row w-100 mx-auto">
51
- {%- if calculatorData.ButtonValue -%}
52
- <div class="col-12 mt-4 px-0">
53
- <div class="d-flex justify-content-end">
54
- <button class="submit-button" style="background-color:{{site.data[folder][lang][file].color}} ;"
55
- type="{{calculatorData.ButtonType}}"
56
- id="{{calculatorData.ButtonId}}">{{calculatorData.ButtonValue}}</button>
57
- </div>
58
-
59
- </div>
60
- {%- endif -%}
61
- {%- if calculatorData.resultDiv -%}
62
- <div class="col-12 mt-3">
63
- <div class="result-section" id="result-section">
64
-
65
- </div>
66
- </div>
67
- {%- endif -%}
68
- </div>
69
- </div>
1
+ ---
2
+ layout: feature
3
+ ---
4
+
5
+ {% assign file = page.fileName %}
6
+ {% assign lang = page.lang %}
7
+ {% assign folder = page.folderName %}
8
+ {% assign calculatorData= site.data[folder][lang][file].calculatorData %}
9
+
10
+ <div class="container">
11
+ <div class="calculator-workspace">
12
+ <div class="row w-100 mx-auto">
13
+ <form id="calculator-form" class="w-100">
14
+ {%- for item in calculatorData.calculatorRow -%}
15
+ <div class="row" id="calculator-row-{{forloop.index}}">
16
+ {%- if item.labelName -%}
17
+ <div class="col-md-12">
18
+ <label for="{{item.labelId}}">{{item.labelName}}</label>
19
+ </div>
20
+ {%- endif -%}
21
+ {%- if item.dropDown or item.inputBox or item.dateTimePicker -%}
22
+ <div class="col-md-12">
23
+ <div class="d-flex calculator-inputs">
24
+ {%- if item.inputBox -%}
25
+ <input class="form-control" type="text" name="{{item.inputName}}" id="{{item.inputId}}">
26
+ {%- endif -%}
27
+ {%- if item.dropDown -%}
28
+ <select class="form-control" name="{{item.dropDownName}}" id="{{item.dropDownId}}"></select>
29
+ {%- endif -%}
30
+ {%- if item.dateTimePicker -%}
31
+ <input class="form-control" type="date" name="{{item.dateTimePicker}}"
32
+ id="{{item.dateTimePickerId}}">
33
+ {%- endif -%}
34
+ {%- if item.unit -%}
35
+ <div class="unit">{{item.unit}}</div>
36
+ {%- endif -%}
37
+
38
+ </div>
39
+
40
+ </div>
41
+ {%- endif -%}
42
+
43
+
44
+ </div>
45
+ {%- endfor -%}
46
+ <div id="dynamic-section"></div>
47
+ </form>
48
+
49
+ </div>
50
+ <div class="row w-100 mx-auto">
51
+ {%- if calculatorData.ButtonValue -%}
52
+ <div class="col-12 mt-4 px-0">
53
+ <div class="d-flex justify-content-end">
54
+ <button class="submit-button" style="background-color:{{site.data[folder][lang][file].color}} ;"
55
+ type="{{calculatorData.ButtonType}}"
56
+ id="{{calculatorData.ButtonId}}">{{calculatorData.ButtonValue}}</button>
57
+ </div>
58
+
59
+ </div>
60
+ {%- endif -%}
61
+ {%- if calculatorData.resultDiv -%}
62
+ <div class="col-12 mt-3">
63
+ <div class="result-section" id="result-section">
64
+
65
+ </div>
66
+ </div>
67
+ {%- endif -%}
68
+ </div>
69
+ </div>
70
70
  </div>