appscms-tools-theme 3.2.7 → 3.2.8

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: cdb1cfbf214537edba0b3060a8b39e1eabcc2d809bcf1a0bd5779b0ddd27df0f
4
- data.tar.gz: aacb9095ade60b46f348cf52855ade97db6074e06a59d0edfa867647f0f70e18
3
+ metadata.gz: 825230b7d1f4f93d99d63e676817d4a54066bd25e873791a3620df6c737e039d
4
+ data.tar.gz: 1f2bae410e386e97a8e4de1611f9fc74d91e21c94a640ff70aa65ea69395ef20
5
5
  SHA512:
6
- metadata.gz: 75b7757db719d33fa64971a4e59f03f56dba80cd72905a2f64e83ef85041be65f6557f906a07a238c8fef53189ebcbf41cf6dea8e3bfb26dcdba6a8aea0a43c3
7
- data.tar.gz: 67d84bd1e0f94299d0cfd2c95f63357f11f738dbb63d1d271a1dd63365ce661049dfe57598fdc268dcc514cf93a48999b381c318eef84b8b9e0fb9dc404eb46a
6
+ metadata.gz: 9677ad50e6be56167783ad7fb6c024fad5777900c70785fa11d5f3092bb9ca0f5859bf158e05d2e0081d6a3809788dfce0416c24877f6ceb723f2808da01b527
7
+ data.tar.gz: 9ea057b4ff31929decc3391685d991429a15a10b89e7ec80ded310b6d9b35cc46db44cc305a53c2d8a2cf46942fadeb2c729b37e8af8adef191c804672edc72c
@@ -0,0 +1,205 @@
1
+ {
2
+ "Language": "English",
3
+ "feature": "compress-pdf",
4
+ "htmlLangAtt": "en",
5
+ "optionPanelTitle": "Options",
6
+ "H1": "Online Video Editor",
7
+ "H2": "Create your own video and edit it in any way on both your phone and computer",
8
+ "TITLE": "set alarm for $variable minutes from now",
9
+ "META": "easiest way to set alarm for $variable minutes from now. Choose sound for alarm from multiple options.",
10
+ "keywords": "key1,key2,key3,key4",
11
+ "LABEL": "DOCX to PDF",
12
+ "nofileupload": true,
13
+ "rate": "Rate this tool",
14
+ "votes": "votes",
15
+ "BREADCRUMB_LABEL": "DOCX TO PDF",
16
+ "color": "#dc3c2c",
17
+ "height": "300px",
18
+ "imgwidth": "40px",
19
+ "imgheight": "40px",
20
+ "imgalt": "altvalue",
21
+ "TEXTUAL_CONTENT": [
22
+ {
23
+ "priority": 1,
24
+ "logoUrl": "/assets/images/bulb.svg",
25
+ "header": "Simple to use",
26
+ "content": "The tool will do everything for you, just upload your file and it'll set the best parameters to reduce its size and to keep quality as much as possible."
27
+ },
28
+ {
29
+ "priority": 1,
30
+ "logoUrl": "/assets/images/target.svg",
31
+ "header": "Accurate alarms",
32
+ "content": "You're the only one who has access to your files because all the communications are performed via secure channels."
33
+ },
34
+ {
35
+ "priority": 1,
36
+ "logoUrl": "/assets/images/cross.svg",
37
+ "header": "Cross platform",
38
+ "content": "You can setup alarm for $variable minutes from now on any operating system, like Windows/Mac/Linux/Android/iPhone."
39
+ },
40
+ {
41
+ "priority": 1,
42
+ "logoUrl": "/assets/images/shield.svg",
43
+ "header": "Secure and trustworthy",
44
+ "content": "Setalarmforme.com does not require users to login for setting alarm for $variable minutes from now. No user information is send to our servers."
45
+ },
46
+ {
47
+ "priority": 1,
48
+ "logoUrl": "/assets/images/fast.svg",
49
+ "header": "All timezones supported",
50
+ "content": "Using Setalarmforme.com you can set alarm to start after $variable minutes from current time, in any time zone."
51
+ },
52
+ {
53
+ "priority": 1,
54
+ "logoUrl": "/assets/images/target.svg",
55
+ "header": "No need to install any software",
56
+ "content": "Setalarmforme.com is a cloud and web based application. You do not need to install any software to use Setalarmforme.com while setting alarms for $variable minutes from now."
57
+ }
58
+ ],
59
+ "HOW_TO_CONTENT": {
60
+ "logoImageUrl": "https://smallpdf.com/build/73d77e3d204fd7defc9de80bf83fcbeb.svg",
61
+ "mainHeading": "How to use this tool",
62
+ "steps": [
63
+ {
64
+ "heading": "Upload files",
65
+ "desc": "Choose the videos and photos you would like to merge. Several files can be chosen simultaneously or they can be added one by one after the first file is uploaded."
66
+ },
67
+ {
68
+ "heading": "Join videos and other files",
69
+ "desc": "Rearrange them using drag-and-drop until they're the desired order. For images, you can set duration. Then add audio, change its length and volume. At last, choose the aspect ratio and click the 'Export' button. Take a look at the guide to learn more."
70
+ },
71
+ {
72
+ "heading": "Download the merged video",
73
+ "desc": "Once your files have been merged, watch the preview. If you want to change something, click on 'Back to edit', otherwise click on the 'Download' button to save the video."
74
+ }
75
+ ]
76
+ },
77
+ "FAQ": [
78
+ {
79
+ "question": "How many seconds from now, will the alarm ring ?",
80
+ "answer": "To complete the atmosphere of your video, add music to the project. Don't forget to adjust its length and volume.To complete the atmosphere of your video, add music to the project. Don't forget to adjust its length and volume."
81
+ },
82
+ {
83
+ "question": "Can I rely on Setalarmforme.com to setup alarm for $variable minutes from now ?",
84
+ "answer": "If you have set alarm for $variable minutes from now, you can be 100% sure that alarm will ring after $variable minutes. You can trust us completely."
85
+ },
86
+ {
87
+ "question": "What will happen to the alarm that I have set, if I refresh the browser ?",
88
+ "answer": "The alarm will still ring after $variable minutes, even if you refresh the browser, since we store the information in browser's local cache."
89
+ },
90
+ {
91
+ "question": "What will happen to the alarm that I have set, if I close the tab of browser in which Setalarmforme.com is opened ?",
92
+ "answer": "It will be gone. The alarm will not ring after $variable minutes, if you close the tab."
93
+ },
94
+ {
95
+ "question": "What will happen to the alarm that I have set, if I close the browser ?",
96
+ "answer": "It will be gone. The alarm will not ring after $variable minutes, if you close the browser."
97
+ }
98
+ ],
99
+ "megaMenu": {
100
+ "nav-link-name": "Tools",
101
+ "dropdown": [
102
+ {
103
+ "categoryName": " Pdf",
104
+ "links": [
105
+ {
106
+ "iconSrc": "/assets/cloud.svg",
107
+ "name": "Compress",
108
+ "url": "/",
109
+ "hover": "red"
110
+ },
111
+ {
112
+ "iconSrc": "/assets/cloud.svg",
113
+ "name": "Split",
114
+ "url": "/",
115
+ "hover": "blue"
116
+ },
117
+ {
118
+ "iconSrc": "/assets/easy.svg",
119
+ "name": "Merge Pdf",
120
+ "url": "/",
121
+ "hover": "green"
122
+ }
123
+ ]
124
+ },
125
+ {
126
+ "categoryName": " Pdf",
127
+ "links": [
128
+ {
129
+ "iconSrc": "/assets/cloud.svg",
130
+ "name": "Compress",
131
+ "url": "/",
132
+ "hover": "red"
133
+ },
134
+ {
135
+ "iconSrc": "/assets/cloud.svg",
136
+ "name": "Split",
137
+ "url": "/",
138
+ "hover": "blue"
139
+ },
140
+ {
141
+ "iconSrc": "/assets/easy.svg",
142
+ "name": "Merge Pdf",
143
+ "url": "/",
144
+ "hover": "green"
145
+ }
146
+ ]
147
+ },
148
+ {
149
+ "categoryName": "Compress Pdf",
150
+ "links": [
151
+ {
152
+ "iconSrc": "/assets/cloud.svg",
153
+ "name": "Compress",
154
+ "url": "/",
155
+ "hover": "red"
156
+ },
157
+ {
158
+ "iconSrc": "/assets/cloud.svg",
159
+ "name": "Split",
160
+ "url": "/",
161
+ "hover": "blue"
162
+ },
163
+ {
164
+ "iconSrc": "/assets/easy.svg",
165
+ "name": "Merge Pdf",
166
+ "url": "/",
167
+ "hover": "green"
168
+ }
169
+ ]
170
+ },
171
+ {
172
+ "categoryName": "Compress Pdf",
173
+ "links": [
174
+ {
175
+ "iconSrc": "/assets/cloud.svg",
176
+ "name": "Compress",
177
+ "url": "/",
178
+ "hover": "red"
179
+ },
180
+ {
181
+ "iconSrc": "/assets/cloud.svg",
182
+ "name": "Split",
183
+ "url": "/",
184
+ "hover": "blue"
185
+ },
186
+ {
187
+ "iconSrc": "/assets/easy.svg",
188
+ "name": "Merge Pdf",
189
+ "url": "/",
190
+ "hover": "green"
191
+ }
192
+ ]
193
+ }
194
+ ]
195
+ },
196
+ "csscdns": [
197
+ "<link rel=\"stylesheet\" href=\"/assets/css/devtools.css\" />"
198
+ ],
199
+ "jscdns": [
200
+ "<script defer src=\"https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.12/ace.js\"></script>",
201
+ "<script defer src=\"js/jsonlint.js\"></script>",
202
+ "<script defer src=\"/assets/js/devtools.js\"></script>",
203
+ "<script defer src=\"/js/editor.js\"></script>"
204
+ ]
205
+ }
@@ -0,0 +1,62 @@
1
+ ---
2
+ layout: feature
3
+ ---
4
+ <div class="container">
5
+ <div class="row">
6
+ <div class="col-md-12 mx-auto">
7
+ <div class="editor d-flex justify-content-between">
8
+ <div id="left_editor_div">
9
+ <div class="input_editor_bar" id="input_editor_bar">
10
+ <label class="mb-0">Input</label>
11
+ <div class="editor_action">
12
+ <i class="fas fa-upload" id="upload_div_inner" data-toggle="tooltip" data-placement="top"
13
+ title="File Upload">
14
+ </i>
15
+ <i class="fa fa-trash-alt cross_icon" data-toggle="tooltip" data-placement="top"
16
+ title="Clear"></i>
17
+ <i class="fas fa-copy copy_icon" id="inputcopy" data-toggle="tooltip" data-placement="top"
18
+ title="Copy"></i>
19
+ <i data-toggle="tooltip" data-placement="top" title="Download"
20
+ class="save_icon fas fa-cloud-download-alt" id="input_save"></i>
21
+ <!-- <img src="/img/download.png" class="save_icon" id="input_save" alt="save_icon" /> -->
22
+ </div>
23
+ </div>
24
+ <div id="input_editor"></div>
25
+ </div>
26
+ <div class="format_json">
27
+ <div onclick="editor()" class="editor_btns" id="format_btn">
28
+ <img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDI0IDI0Ij4KICAgIDxwYXRoIGQ9Ik04IDV2MTRsMTEtN3oiIGZpbGw9IiNmZmYiLz4KICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz4KPC9zdmc+Cg=="
29
+ alt="format" />
30
+ </div>
31
+ </div>
32
+ <div id="right_editor_div">
33
+ <div class="output_editor_bar" id="output_editor_bar">
34
+ <label class="mb-0">Output</label>
35
+ {%- if page.convert_to -%}
36
+ <div class="convert_to">
37
+ <select class="form-control py-0 px-3" name="convert_to_x" id="convert_to_x"
38
+ style="height:auto;">
39
+ <option value="yaml">yaml</option>
40
+ <option value="xml">xml</option>
41
+ </select>
42
+ </div>
43
+ {%- endif -%}
44
+
45
+ <div class="editor_action">
46
+ <i data-toggle="tooltip" data-placement="top" title="Delete"
47
+ class="fa fa-trash-alt cross_icon"></i>
48
+ <i class="fas fa-copy copy_icon" id="outputcopy" data-toggle="tooltip" data-placement="top"
49
+ title="Copy"></i>
50
+ <i data-toggle="tooltip" data-placement="top" title="Download"
51
+ class="save_icon fas fa-cloud-download-alt" id="input_save"></i>
52
+ </div>
53
+
54
+ </div>
55
+ <div id="output_editor"></div>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ <input data-sitename="{{site.name}}" type="file" id="file_upload" accept="{{page.type}}"
62
+ style="height: 1px; width: 1px; visibility: hidden" />
@@ -0,0 +1,103 @@
1
+ .social-icons {
2
+ display: none;
3
+ }
4
+
5
+ #header_img {
6
+ width: 40px;
7
+ height: 40px;
8
+ }
9
+
10
+ .editor {
11
+ position: relative;
12
+ /* gap: 20px; */
13
+ }
14
+
15
+ .input_editor_bar,
16
+ .output_editor_bar {
17
+ background-color: rgba(32, 152, 243, .8);
18
+ display: flex;
19
+ justify-content: space-between;
20
+ align-items: center;
21
+ color: #fff;
22
+ font-weight: 900;
23
+ padding: 8px 20px;
24
+ border-right: 1px solid #fff;
25
+ /* border-top-right-radius: 4px;
26
+ border-top-left-radius: 4px; */
27
+ }
28
+
29
+ .editor_action {
30
+ display: flex;
31
+ align-items: center;
32
+ gap: 15px;
33
+ }
34
+
35
+ .editor_action>i {
36
+ cursor: pointer;
37
+ font-size: 20px;
38
+ margin: 0px;
39
+ color: #fff;
40
+ }
41
+
42
+ .editor_action .copy_icon,
43
+ .save_icon {
44
+ cursor: pointer;
45
+ width: 20px;
46
+ height: 20px;
47
+ }
48
+
49
+ #left_editor_div,
50
+ #right_editor_div {
51
+ width: 100%;
52
+ }
53
+
54
+ #output_editor,
55
+ #input_editor {
56
+ border-right: 1px solid rgba(0, 0, 0, .1);
57
+ font-size: 17px;
58
+ height: 450px;
59
+ border-bottom: 1px solid rgba(0, 0, 0, .1);
60
+ }
61
+
62
+ .format_json {
63
+ background: rgba(32, 152, 243, .8);
64
+ position: absolute;
65
+ left: 530px;
66
+ top: 230px;
67
+ border-radius: 30px;
68
+ z-index: 9;
69
+ height: 40px;
70
+ width: 80px;
71
+ display: flex;
72
+ justify-content: center;
73
+ align-items: center;
74
+ }
75
+
76
+
77
+ .editor_btns {
78
+ align-items: center;
79
+ height: 100%;
80
+ cursor: pointer;
81
+ width: 100%;
82
+ margin: 0 auto;
83
+ text-align: center;
84
+ display: flex;
85
+ justify-content: center;
86
+ }
87
+
88
+ .editor_btns img {
89
+ cursor: pointer;
90
+ }
91
+
92
+ @media (max-width:768px) {
93
+ .editor {
94
+ flex-direction: column;
95
+ gap: 20px;
96
+ }
97
+
98
+ .format_json {
99
+ position: unset;
100
+ margin: 0 auto;
101
+ }
102
+
103
+ }
@@ -0,0 +1,93 @@
1
+ let input_editor, output_editor, data;
2
+ output_editor = ace.edit("output_editor");
3
+ output_editor.session.setMode("ace/mode/json");
4
+ input_editor = ace.edit("input_editor");
5
+ input_editor.session.setMode("ace/mode/json");
6
+ let upload_div_inner = document.getElementById("upload_div_inner")
7
+ let file_upload = document.getElementById("file_upload")
8
+ let format_btn = document.getElementById("format_btn")
9
+ let inputcopyButton = document.querySelector("#inputcopy");
10
+ let outputcopyButton = document.querySelector("#outputcopy");
11
+ let deleteEditorInputTxt = document.querySelector(".input_editor_bar .cross_icon");
12
+ let deleteEditorOuputTxt = document.querySelector(".output_editor_bar .cross_icon");
13
+ const siteName = file_upload.dataset.sitename
14
+ $(function () {
15
+ $('[data-toggle="tooltip"]').tooltip()
16
+ })
17
+ upload_div_inner.onclick = function () {
18
+ document.querySelector("#file_upload").click();
19
+ };
20
+ file_upload.onchange = function (e) {
21
+ var input = e.target.files[0];
22
+ input_editor = ace.edit("input_editor");
23
+ input_editor.session.setMode("ace/mode/json");
24
+ var reader = new FileReader();
25
+ reader.onload = function () {
26
+ input_editor.setValue(reader.result);
27
+ }
28
+ reader.readAsText(input);
29
+ };
30
+ document.querySelector("#input_editor_bar .save_icon").onclick = function () {
31
+ file_saving_decision(1);
32
+ };
33
+ editorActions();
34
+ function editorActions() {
35
+ deleteEditorInputTxt.onclick = function () {
36
+ input_editor.setValue("");
37
+ }
38
+ deleteEditorOuputTxt.onclick = function () {
39
+ output_editor.setValue("");
40
+ }
41
+ inputcopyButton.addEventListener("click", (e) => {
42
+ const el = document.createElement("textarea");
43
+ el.value = input_editor.getValue();
44
+ document.body.appendChild(el);
45
+ el.select();
46
+ document.execCommand("copy");
47
+ e.target.setAttribute('data-original-title', 'Copied !')
48
+ const tooltip = new bootstrap.Tooltip(e.target);
49
+ tooltip.show()
50
+ setTimeout(() => {
51
+ e.target.setAttribute('data-original-title', 'Copy !')
52
+ tooltip.hide()
53
+ }, 800)
54
+ })
55
+ outputcopyButton.addEventListener("click", (e) => {
56
+ const el = document.createElement("textarea");
57
+ el.value = output_editor.getValue();
58
+ document.body.appendChild(el);
59
+ el.select();
60
+ document.execCommand("copy");
61
+ e.target.setAttribute('data-original-title', 'Copied !')
62
+ const tooltip = new bootstrap.Tooltip(e.target);
63
+ tooltip.show()
64
+ setTimeout(() => {
65
+ e.target.setAttribute('data-original-title', 'Copy !')
66
+ tooltip.hide()
67
+ }, 800)
68
+ })
69
+ }
70
+ function file_saving_decision(flag) {
71
+ if (flag == 1) {
72
+ if (input_editor.getValue == "" || input_editor.getValue == undefined) {
73
+ return false;
74
+ } else {
75
+ file_download(input_editor.getValue(), "application/json", "json");
76
+ }
77
+ } else if (flag == 0) {
78
+ if (output_editor.getValue == "" || output_editor.getValue == undefined) {
79
+ return false;
80
+ } else {
81
+ file_download(output_editor.getValue(), "text/plain", "txt");
82
+ }
83
+ }
84
+ }
85
+ function file_download(code, mimetype, extension) {
86
+ var a = document.createElement("a");
87
+ var data = new Blob([code], {
88
+ type: mimetype,
89
+ });
90
+ a.href = window.URL.createObjectURL(data);
91
+ a.download = `${siteName}.` + extension;
92
+ a.click();
93
+ }
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.2.7
4
+ version: 3.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
@@ -2361,6 +2361,7 @@ files:
2361
2361
  - _data/feature/en/allele-frequency.json
2362
2362
  - _data/feature/en/batch-conversion.json
2363
2363
  - _data/feature/en/compress-pdf.json
2364
+ - _data/feature/en/devtools.json
2364
2365
  - _data/feature/en/face-detection.json
2365
2366
  - _data/feature/en/split-pdf.json
2366
2367
  - _data/feature/en/theframe.json
@@ -2437,6 +2438,7 @@ files:
2437
2438
  - _layouts/categories.html
2438
2439
  - _layouts/contactUs.html
2439
2440
  - _layouts/default.html
2441
+ - _layouts/devtools.html
2440
2442
  - _layouts/disclaimer.html
2441
2443
  - _layouts/download.html
2442
2444
  - _layouts/feature-1.html
@@ -2468,6 +2470,7 @@ files:
2468
2470
  - assets/css/bootstrap.min.css
2469
2471
  - assets/css/calculators.css
2470
2472
  - assets/css/common.css
2473
+ - assets/css/devtools.css
2471
2474
  - assets/css/feature-1.css
2472
2475
  - assets/css/filecomparison.css
2473
2476
  - assets/css/frame.css
@@ -2660,6 +2663,7 @@ files:
2660
2663
  - assets/js/append-div.js
2661
2664
  - assets/js/batch.js
2662
2665
  - assets/js/calculator-tooltip.js
2666
+ - assets/js/devtools.js
2663
2667
  - assets/js/face-api.js
2664
2668
  - assets/js/face-detection.js
2665
2669
  - assets/js/faceSystem.js