appscms-tools-theme 3.4.5 → 3.4.7
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/devtools.json +2 -2
- data/_layouts/devtools.html +8 -15
- data/assets/css/devtools.css +3 -0
- data/assets/js/devtools.js +2 -15
- 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: 138736c6791b8d94ec454bbd73f75cc9351a8249a0a62a3f7322b983d3ac5444
|
4
|
+
data.tar.gz: c282a3bb01ea40c62d972683728a3c65336516c2d892c8a19b129dab252f5fd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39972520ec9ccb2c1112416a9c24160bb7a971dd02c5b72b58794940193d9476a12805807d02f19edf6f842d3207e04b65b9a2fe422e668afde06564b097ab65
|
7
|
+
data.tar.gz: 53b8b721f52e98ccf65bcdcf057a0daabdcb32204416aaf88e9a01cd898ed1a500e82dcc68883c3393e8e10b4a049d8ef8a0c07cd17af68e2505f28a91a9f980
|
@@ -3,8 +3,8 @@
|
|
3
3
|
"feature": "compress-pdf",
|
4
4
|
"htmlLangAtt": "en",
|
5
5
|
"optionPanelTitle": "Options",
|
6
|
-
"
|
7
|
-
"
|
6
|
+
"h1": "Online Video Editor",
|
7
|
+
"h2": "Create your own video and edit it in any way on both your phone and computer",
|
8
8
|
"TITLE": "set alarm for $variable minutes from now",
|
9
9
|
"META": "easiest way to set alarm for $variable minutes from now. Choose sound for alarm from multiple options.",
|
10
10
|
"keywords": "key1,key2,key3,key4",
|
data/_layouts/devtools.html
CHANGED
@@ -9,14 +9,11 @@ layout: home
|
|
9
9
|
<div class="input_editor_bar" id="input_editor_bar">
|
10
10
|
<label class="mb-0">Input</label>
|
11
11
|
<div class="editor_action">
|
12
|
-
<i class="fas fa-upload" id="upload_div_inner"
|
13
|
-
title="File Upload">
|
12
|
+
<i class="fas fa-upload" id="upload_div_inner" title="File Upload">
|
14
13
|
</i>
|
15
|
-
<i class="fa fa-trash-alt cross_icon"
|
16
|
-
|
17
|
-
<i
|
18
|
-
title="Copy"></i>
|
19
|
-
<i data-toggle="tooltip" data-placement="top" title="Download"
|
14
|
+
<i class="fa fa-trash-alt cross_icon" title="Clear"></i>
|
15
|
+
<i class="fas fa-copy copy_icon" id="inputcopy" title="Copy"></i>
|
16
|
+
<i title="Download"
|
20
17
|
class="save_icon fas fa-cloud-download-alt" id="input_save"></i>
|
21
18
|
<!-- <img src="/img/download.png" class="save_icon" id="input_save" alt="save_icon" /> -->
|
22
19
|
</div>
|
@@ -43,12 +40,9 @@ layout: home
|
|
43
40
|
{%- endif -%}
|
44
41
|
|
45
42
|
<div class="editor_action">
|
46
|
-
<i
|
47
|
-
|
48
|
-
<i class="fas fa-
|
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>
|
43
|
+
<i title="Delete" class="fa fa-trash-alt cross_icon"></i>
|
44
|
+
<i class="fas fa-copy copy_icon" id="outputcopy" title="Copy"></i>
|
45
|
+
<i title="Download" class="save_icon fas fa-cloud-download-alt" id="input_save"></i>
|
52
46
|
</div>
|
53
47
|
|
54
48
|
</div>
|
@@ -59,5 +53,4 @@ layout: home
|
|
59
53
|
</div>
|
60
54
|
</div>
|
61
55
|
<input data-sitename="{{site.name}}" type="file" id="file_upload" accept="{{page.type}}"
|
62
|
-
style="height: 1px; width: 1px; visibility: hidden" />
|
63
|
-
|
56
|
+
style="height: 1px; width: 1px; visibility: hidden" />
|
data/assets/css/devtools.css
CHANGED
data/assets/js/devtools.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
let input_editor, output_editor, data;
|
2
2
|
output_editor = ace.edit("output_editor");
|
3
|
+
output_editor.setReadOnly(true)
|
3
4
|
output_editor.session.setMode("ace/mode/json");
|
4
5
|
input_editor = ace.edit("input_editor");
|
5
6
|
input_editor.session.setMode("ace/mode/json");
|
@@ -12,9 +13,7 @@ let deleteEditorInputTxt = document.querySelector(".input_editor_bar .cross_icon
|
|
12
13
|
let deleteEditorOuputTxt = document.querySelector(".output_editor_bar .cross_icon");
|
13
14
|
const siteName = file_upload.dataset.sitename
|
14
15
|
let selectedFile
|
15
|
-
|
16
|
-
$('[data-toggle="tooltip"]').tooltip()
|
17
|
-
})
|
16
|
+
|
18
17
|
upload_div_inner.onclick = function () {
|
19
18
|
document.querySelector("#file_upload").click();
|
20
19
|
};
|
@@ -47,12 +46,6 @@ function editorActions() {
|
|
47
46
|
el.select();
|
48
47
|
document.execCommand("copy");
|
49
48
|
e.target.setAttribute('data-original-title', 'Copied !')
|
50
|
-
const tooltip = new bootstrap.Tooltip(e.target);
|
51
|
-
tooltip.show()
|
52
|
-
setTimeout(() => {
|
53
|
-
e.target.setAttribute('data-original-title', 'Copy !')
|
54
|
-
tooltip.hide()
|
55
|
-
}, 800)
|
56
49
|
})
|
57
50
|
outputcopyButton.addEventListener("click", (e) => {
|
58
51
|
const el = document.createElement("textarea");
|
@@ -61,12 +54,6 @@ function editorActions() {
|
|
61
54
|
el.select();
|
62
55
|
document.execCommand("copy");
|
63
56
|
e.target.setAttribute('data-original-title', 'Copied !')
|
64
|
-
const tooltip = new bootstrap.Tooltip(e.target);
|
65
|
-
tooltip.show()
|
66
|
-
setTimeout(() => {
|
67
|
-
e.target.setAttribute('data-original-title', 'Copy !')
|
68
|
-
tooltip.hide()
|
69
|
-
}, 800)
|
70
57
|
})
|
71
58
|
}
|
72
59
|
function file_saving_decision(flag) {
|