appscms-tools-theme 2.4.5 → 2.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_data/feature/en/allele-frequency.json +2 -0
- data/_data/feature/en/compress-pdf.json +1 -2
- data/_data/feature/en/theframe.json +4 -0
- data/_includes/header/index.html +6 -4
- data/_layouts/calculator.html +15 -1
- data/_layouts/feature.html +5 -3
- data/_layouts/imagekit.html +7 -0
- data/assets/css/imagekit.css +9 -0
- data/assets/css/tools.css +2 -1
- data/assets/js/theme.js +16 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21f85a696be3759a40b22de3291da467d625ecf0a7662c7c58d7ecd5448f97db
|
4
|
+
data.tar.gz: c5712ac2408db8bb694a103b43e5e0d86c99bda79ab143543e75f4b52cd1975c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5f69879fc11a09a17add1639a0fbaa7b45dd95b5cf71008623f86de45c5661df7dc5fb443828e2fb4aea586db7b1af9b7986377c18d30297fb407d19f4bebb2
|
7
|
+
data.tar.gz: f75b4f7cb60484200f2d6e43f165daf058890f98d4ef00af3f1b613241cbae1cbdb22ef3f4ba11054816f662196614e71b0ba6d574676fe2682c535fd478dc91
|
@@ -198,6 +198,7 @@
|
|
198
198
|
"/assets/js/redirectResult.js"
|
199
199
|
],
|
200
200
|
"calculatorData": {
|
201
|
+
"calculatorWarning": "❗ Our PECARN calculator shouldn't be used as a single source of knowledge; this tool cannot replace professional clinical judgment.",
|
201
202
|
"calculatorRow": [
|
202
203
|
{
|
203
204
|
"labelName": "Given in: ",
|
@@ -212,6 +213,7 @@
|
|
212
213
|
"labelName": "Occurrence of the disease: 1 in..",
|
213
214
|
"labelId": "Occurrence of the disease: 1 in..__id",
|
214
215
|
"inputBox": "text",
|
216
|
+
"inputType": "text",
|
215
217
|
"inputId": "Occurrence of the disease: 1 in.._input_Id",
|
216
218
|
"dropDownId": "Occurrence of the disease: 1 in.._dd_Id",
|
217
219
|
"dateTimePicker": false
|
@@ -197,7 +197,6 @@
|
|
197
197
|
"<link rel=\"stylesheet\" href=\"/css/feature1.css\" crossorigin='anonymous' />"
|
198
198
|
],
|
199
199
|
"jscdns": [
|
200
|
-
"<script crossorigin='anonymous' src=\"/assets/js/googledrive.js\"></script>"
|
201
|
-
"<script crossorigin='anonymous' src=\"/js/feature1.js\"></script>"
|
200
|
+
"<script crossorigin='anonymous' src=\"/assets/js/googledrive.js\"></script>"
|
202
201
|
]
|
203
202
|
}
|
@@ -9,6 +9,10 @@
|
|
9
9
|
"imgalt": "altvalue",
|
10
10
|
"nofileupload": true,
|
11
11
|
"variant": "primary",
|
12
|
+
"downloadFormats": [
|
13
|
+
"png",
|
14
|
+
"jpg"
|
15
|
+
],
|
12
16
|
"TITLE": "Image border tool- Surround your images with a border",
|
13
17
|
"META": "Image border tool helps you to add a simple border frame to your image. You can customize border colour and width. Border sets the focal subject.",
|
14
18
|
"TEXTUAL_CONTENT": [],
|
data/_includes/header/index.html
CHANGED
@@ -9,9 +9,10 @@
|
|
9
9
|
<nav class="header-navbar navbar navbar-expand-lg">
|
10
10
|
<div class="container px-0">
|
11
11
|
{% if dataToShow.navbarBrandText != "" %}
|
12
|
-
<a class="navbar-brand" href="/"
|
12
|
+
<a id="home-link" class="navbar-brand" href="/"
|
13
|
+
title="{{dataToShow.navbarBrandText}}">{{dataToShow.navbarBrandText}}</a>
|
13
14
|
{% else %}
|
14
|
-
<a href="/">
|
15
|
+
<a id="home-link" href="/">
|
15
16
|
<img class="header-logo-height" src="{{ dataToShow.navbarBrandLogo }}" alt="{{ dataToShow.navbarBrandLogo }}"
|
16
17
|
{%- if site.crossorigin -%} crossorigin {%- endif -%}>
|
17
18
|
</a>
|
@@ -100,9 +101,10 @@
|
|
100
101
|
<header id="header">
|
101
102
|
<nav class="navbar navbar-expand-lg py-3 px-sm-2">
|
102
103
|
{% if dataToShow.navbarBrandText != "" %}
|
103
|
-
<a class="navbar-brand" href="/"
|
104
|
+
<a id="home-link" class="navbar-brand" href="/"
|
105
|
+
title="{{dataToShow.navbarBrandText}}">{{dataToShow.navbarBrandText}}</a>
|
104
106
|
{% else %}
|
105
|
-
<a href="/">
|
107
|
+
<a id="home-link" href="/">
|
106
108
|
<img class="logo-height" src="{{ dataToShow.navbarBrandLogo }}" alt="{{ dataToShow.navbarBrandLogo }}" {%- if
|
107
109
|
site.crossorigin -%} crossorigin {%- endif -%}>
|
108
110
|
</a>
|
data/_layouts/calculator.html
CHANGED
@@ -22,7 +22,12 @@ layout: feature
|
|
22
22
|
<div class="col-md-12">
|
23
23
|
<div class="d-flex calculator-inputs">
|
24
24
|
{%- if item.inputBox -%}
|
25
|
-
|
25
|
+
{%- assign inputBoxType = "number" -%}
|
26
|
+
{%- if item.inputType -%}
|
27
|
+
{%- assign inputBoxType = item.inputType -%}
|
28
|
+
{%- endif -%}
|
29
|
+
<input class="form-control" type="{{inputBoxType}}" name="{{item.inputName}}"
|
30
|
+
id="{{item.inputId}}">
|
26
31
|
{%- endif -%}
|
27
32
|
{%- if item.dropDown -%}
|
28
33
|
<select class="form-control" name="{{item.dropDownName}}" id="{{item.dropDownId}}"></select>
|
@@ -66,5 +71,14 @@ layout: feature
|
|
66
71
|
</div>
|
67
72
|
{%- endif -%}
|
68
73
|
</div>
|
74
|
+
|
69
75
|
</div>
|
76
|
+
{%- if calculatorData.calculatorWarning-%}
|
77
|
+
<div class="warning-alert-box mt-4">
|
78
|
+
<div class="alert alert-danger" role="alert">
|
79
|
+
{{ calculatorData.calculatorWarning }}
|
80
|
+
</div>
|
81
|
+
</div>
|
82
|
+
{%- endif -%}
|
83
|
+
|
70
84
|
</div>
|
data/_layouts/feature.html
CHANGED
@@ -30,7 +30,8 @@
|
|
30
30
|
{%- if page.layout != "frame" and page.layout != "photo-effects-home" -%}
|
31
31
|
<div class="flex-container pb-3">
|
32
32
|
<div class="flex-class py-4 mt-4 mt-md-0 ">
|
33
|
-
<div class="d-flex justify-content-center align-items-center"><span
|
33
|
+
<div id="h1-img-wrapper" class="d-flex justify-content-center align-items-center"><span id="h1-img"
|
34
|
+
class="fHhdVc">
|
34
35
|
<div class="div-cont feature-img mr-2">
|
35
36
|
{%- if featureData.img -%}
|
36
37
|
<img style=width:{{featureData.imgwidth}};height:{{featureData.imgheight}};
|
@@ -47,7 +48,7 @@
|
|
47
48
|
</div>
|
48
49
|
</span>
|
49
50
|
{%- assign featureh1 = featureData.H1 | replace: "$variable", page.value -%}
|
50
|
-
<h1 class="feature-h1">{%- for word in featureh1-%}
|
51
|
+
<h1 id="feature-h1" class="feature-h1">{%- for word in featureh1-%}
|
51
52
|
{%- if forloop.first == true -%}
|
52
53
|
{{word | capitalize }}
|
53
54
|
{%- else -%}
|
@@ -56,7 +57,7 @@
|
|
56
57
|
{%- endfor -%}</h1>
|
57
58
|
</div>
|
58
59
|
{%- assign featureh2 = featureData.H2 | replace: "$variable", page.value -%}
|
59
|
-
<h2 class="feature-h2">
|
60
|
+
<h2 id="feature-h2" class="feature-h2">
|
60
61
|
{%- for word in featureh2 -%}
|
61
62
|
{%- if forloop.first == true -%}
|
62
63
|
{{word | capitalize }}
|
@@ -254,6 +255,7 @@
|
|
254
255
|
{%- endif -%}
|
255
256
|
{% include footer/index.html %}
|
256
257
|
{% include script.html %}
|
258
|
+
<script defer src="/app.js"></script>
|
257
259
|
</body>
|
258
260
|
|
259
261
|
</html>
|
data/_layouts/imagekit.html
CHANGED
@@ -64,11 +64,18 @@ layout: feature
|
|
64
64
|
<div class="select-format-title">image's format</div>
|
65
65
|
<div class="download-format">
|
66
66
|
<select name="image-format" id="image-format">
|
67
|
+
{%- if pageData.downloadFormats -%}
|
68
|
+
{%- for item in pageData.downloadFormats -%}
|
69
|
+
<option value="{{item}}">{{item}}</option>
|
70
|
+
{%- endfor -%}
|
71
|
+
{%- else -%}
|
67
72
|
<option value="png">png</option>
|
68
73
|
<option value="jpg">jpg</option>
|
69
74
|
<option value="jpeg">jpeg</option>
|
70
75
|
<option value="webp">webp</option>
|
71
76
|
<option value="gif">gif</option>
|
77
|
+
{%- endif -%}
|
78
|
+
|
72
79
|
</select>
|
73
80
|
</div>
|
74
81
|
</div>
|
data/assets/css/imagekit.css
CHANGED
data/assets/css/tools.css
CHANGED
@@ -1264,7 +1264,7 @@ ol li::marker {
|
|
1264
1264
|
}
|
1265
1265
|
|
1266
1266
|
#header {
|
1267
|
-
display: block
|
1267
|
+
display: block;
|
1268
1268
|
position: sticky;
|
1269
1269
|
top: 0;
|
1270
1270
|
z-index: 10;
|
@@ -1279,3 +1279,4 @@ ol li::marker {
|
|
1279
1279
|
.catPad li {
|
1280
1280
|
margin: 0 0 20px !important;
|
1281
1281
|
}
|
1282
|
+
|
data/assets/js/theme.js
CHANGED
@@ -9,3 +9,19 @@ $(document).ready(function () {
|
|
9
9
|
})
|
10
10
|
}
|
11
11
|
})
|
12
|
+
var removeNav = () => {
|
13
|
+
let homeLink = document.getElementById('home-link')
|
14
|
+
homeLink.style.marginRight = '10px'
|
15
|
+
document.getElementById('h1-img-wrapper').prepend(homeLink)
|
16
|
+
document
|
17
|
+
.getElementById('h1-img-wrapper')
|
18
|
+
.style.setProperty('align-items', 'unset', 'important')
|
19
|
+
document.getElementById('header').style.display = 'none'
|
20
|
+
document.getElementById('h1-img').style.display = 'none'
|
21
|
+
document.getElementById('feature-h1').style.width = '100%'
|
22
|
+
document.getElementById('feature-h2').style.display = 'none'
|
23
|
+
let safeUiAlert = document.getElementById('safeui-alert')
|
24
|
+
if (safeUiAlert) {
|
25
|
+
safeUiAlert.style.display = 'none'
|
26
|
+
}
|
27
|
+
}
|