appscms-tools-theme 1.1.0 → 1.1.5
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/compress-pdf.json +2 -0
- data/_data/feature/en/split-pdf.json +77 -71
- data/_data/files/en/3gp.json +1 -0
- data/_data/files/en/aac.json +1 -0
- data/_data/files/en/acc.json +1 -0
- data/_data/files/en/aff.json +1 -0
- data/_data/files/en/ai.json +1 -0
- data/_data/files/en/aiff.json +1 -0
- data/_data/files/en/avi.json +1 -0
- data/_data/files/en/bmp.json +1 -0
- data/_data/files/en/cr2.json +1 -0
- data/_data/files/en/dvd.json +1 -0
- data/_data/files/en/flac.json +1 -0
- data/_data/files/en/flv.json +1 -0
- data/_data/files/en/gif.json +1 -0
- data/_data/files/en/heic.json +1 -0
- data/_data/files/en/html.json +1 -0
- data/_data/files/en/jfif.json +1 -0
- data/_data/files/en/jpeg.json +1 -0
- data/_data/files/en/jpg.json +1 -0
- data/_data/files/en/m4a.json +1 -0
- data/_data/files/en/mkv.json +1 -0
- data/_data/files/en/mov.json +1 -0
- data/_data/files/en/mp3.json +1 -0
- data/_data/files/en/mp4.json +1 -0
- data/_data/files/en/mpeg.json +1 -0
- data/_data/files/en/nef.json +1 -0
- data/_data/files/en/ogg.json +1 -0
- data/_data/files/en/opus.json +1 -0
- data/_data/files/en/pdf.json +1 -0
- data/_data/files/en/png.json +1 -0
- data/_data/files/en/psd.json +1 -0
- data/_data/files/en/svg.json +1 -0
- data/_data/files/en/tiff.json +1 -0
- data/_data/files/en/vmv.json +1 -0
- data/_data/files/en/wav.json +1 -0
- data/_data/files/en/webm.json +1 -0
- data/_data/files/en/webp.json +1 -0
- data/_data/files/en/wma.json +1 -0
- data/_includes/Rating/rating.html +6 -2
- data/_includes/fileformat/comparisonfiles.html +3 -10
- data/_includes/fileformat/fileformatdetail.html +3 -8
- data/_includes/head/index.html +3 -0
- data/_layouts/feature.html +11 -15
- data/_layouts/home.html +13 -12
- data/assets/css/tools.css +2 -2
- data/assets/fileimg/0RX6D8V.jpeg +0 -0
- data/assets/fileimg/11To9CR.jpeg +0 -0
- data/assets/fileimg/16q77H1.jpeg +0 -0
- data/assets/fileimg/1o2rNBD.jpeg +0 -0
- data/assets/fileimg/2DVHHaP.jpeg +0 -0
- data/assets/fileimg/38SErjW.jpeg +0 -0
- data/assets/fileimg/3JbciOH.jpeg +0 -0
- data/assets/fileimg/51PJjGr.jpeg +0 -0
- data/assets/fileimg/5938cLE.jpeg +0 -0
- data/assets/fileimg/5hGiNf7.jpeg +0 -0
- data/assets/fileimg/69oMRM0.jpeg +0 -0
- data/assets/fileimg/6WTDOAw.jpeg +0 -0
- data/assets/fileimg/6hQNdGk.jpeg +0 -0
- data/assets/fileimg/6uyiajm.jpeg +0 -0
- data/assets/fileimg/7Z9sNdy.jpeg +0 -0
- data/assets/fileimg/7eQehmc.jpeg +0 -0
- data/assets/fileimg/8A6rYqw.jpeg +0 -0
- data/assets/fileimg/8aN9yEj.jpeg +0 -0
- data/assets/fileimg/99jo0FJ.jpeg +0 -0
- data/assets/fileimg/A2QFJgs.jpeg +0 -0
- data/assets/fileimg/AuNqAKT.jpeg +0 -0
- data/assets/fileimg/BV8ML15.jpeg +0 -0
- data/assets/fileimg/Cjoa7OB.jpeg +0 -0
- data/assets/fileimg/Dh0nFk6.jpeg +0 -0
- data/assets/fileimg/EuFgmVh.jpeg +0 -0
- data/assets/fileimg/F87GDJM.jpeg +0 -0
- data/assets/fileimg/FAo0QEL.jpeg +0 -0
- data/assets/fileimg/FSHZ7pW.jpeg +0 -0
- data/assets/fileimg/FYEygcW.jpeg +0 -0
- data/assets/fileimg/FdqTl1x.jpeg +0 -0
- data/assets/fileimg/H7CZmss.jpeg +0 -0
- data/assets/fileimg/HAhjqEA.jpeg +0 -0
- data/assets/fileimg/HmizpGb.jpeg +0 -0
- data/assets/fileimg/IKdU9NN.jpeg +0 -0
- data/assets/fileimg/JEuwwVE.jpeg +0 -0
- data/assets/fileimg/JeFS57j.jpeg +0 -0
- data/assets/fileimg/KXTzTK7.jpeg +0 -0
- data/assets/fileimg/MX9qrvZ.jpeg +0 -0
- data/assets/fileimg/Mny97V6.jpeg +0 -0
- data/assets/fileimg/Mt9PAUF.jpeg +0 -0
- data/assets/fileimg/NY9GTXm.jpeg +0 -0
- data/assets/fileimg/O1HqazZ.jpeg +0 -0
- data/assets/fileimg/P6WGAMN.jpeg +0 -0
- data/assets/fileimg/PePZ5cb.jpeg +0 -0
- data/assets/fileimg/PtakFU2.jpeg +0 -0
- data/assets/fileimg/QdcouPN.jpeg +0 -0
- data/assets/fileimg/RUVWLwB.jpeg +0 -0
- data/assets/fileimg/SJ29L8A.jpeg +0 -0
- data/assets/fileimg/TmHdEAq.jpeg +0 -0
- data/assets/fileimg/TnwKQd9.jpeg +0 -0
- data/assets/fileimg/U6hLUgu.jpeg +0 -0
- data/assets/fileimg/V2G1SGL.jpeg +0 -0
- data/assets/fileimg/WBNj13N.jpeg +0 -0
- data/assets/fileimg/WofJU7C.jpeg +0 -0
- data/assets/fileimg/XLdMM90.jpeg +0 -0
- data/assets/fileimg/XYvKzO9.jpeg +0 -0
- data/assets/fileimg/Xa1wjEf.jpeg +0 -0
- data/assets/fileimg/YaqCA2d.jpeg +0 -0
- data/assets/fileimg/YmBdG16.jpeg +0 -0
- data/assets/fileimg/ZTI2NTv.jpeg +0 -0
- data/assets/fileimg/acdsee.png +0 -0
- data/assets/fileimg/b18tt3b.jpeg +0 -0
- data/assets/fileimg/bC8ZzSs.jpeg +0 -0
- data/assets/fileimg/c5Zl0O1.jpeg +0 -0
- data/assets/fileimg/cPO8bqH.jpeg +0 -0
- data/assets/fileimg/cfwD39J.jpeg +0 -0
- data/assets/fileimg/d5byEov.jpeg +0 -0
- data/assets/fileimg/diIDQ4M.jpeg +0 -0
- data/assets/fileimg/e9cgmZo.jpeg +0 -0
- data/assets/fileimg/fClLkgM.jpeg +0 -0
- data/assets/fileimg/ffv3iNy.jpeg +0 -0
- data/assets/fileimg/hJWCII5.jpeg +0 -0
- data/assets/fileimg/hnkzD4T.jpeg +0 -0
- data/assets/fileimg/hodO9zz.jpeg +0 -0
- data/assets/fileimg/irCSU4s.jpeg +0 -0
- data/assets/fileimg/jcTagMw.jpeg +0 -0
- data/assets/fileimg/jsU9KjR.jpeg +0 -0
- data/assets/fileimg/kXyPDCs.jpeg +0 -0
- data/assets/fileimg/lWFl5mc.jpeg +0 -0
- data/assets/fileimg/mF1gtxb.jpeg +0 -0
- data/assets/fileimg/mSrHgSp.jpeg +0 -0
- data/assets/fileimg/nrsG7Ys.jpeg +0 -0
- data/assets/fileimg/ovQYI78.jpeg +0 -0
- data/assets/fileimg/p5rWIzT.jpeg +0 -0
- data/assets/fileimg/p64BUbi.jpeg +0 -0
- data/assets/fileimg/pgXaxjb.jpeg +0 -0
- data/assets/fileimg/pqcWQ2F.jpeg +0 -0
- data/assets/fileimg/qwnEy06.jpeg +0 -0
- data/assets/fileimg/rElyIoV.jpeg +0 -0
- data/assets/fileimg/rawD7q8.jpeg +0 -0
- data/assets/fileimg/rrCOBeO.jpeg +0 -0
- data/assets/fileimg/t2WljZe.jpeg +0 -0
- data/assets/fileimg/uoX9gqI.jpeg +0 -0
- data/assets/fileimg/upbts7y.jpeg +0 -0
- data/assets/fileimg/vyEg9wb.jpeg +0 -0
- data/assets/fileimg/wAHKc6t.jpeg +0 -0
- data/assets/fileimg/wJy7aoh.jpeg +0 -0
- data/assets/fileimg/wK1B8lS.jpeg +0 -0
- data/assets/fileimg/wcqHWtb.jpeg +0 -0
- data/assets/fileimg/xbfyrdU.jpeg +0 -0
- data/assets/fileimg/xeDZX8x.jpeg +0 -0
- data/assets/js/multiselect.js +156 -0
- metadata +141 -2
data/_layouts/home.html
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
{%- if featureData.alertmsg -%}
|
14
14
|
{{featureData.alertmsg}}
|
15
15
|
{%- else -%}
|
16
|
-
|
16
|
+
We do not upload any files to server, hence your data is 100% secure.
|
17
17
|
{%- endif -%}
|
18
18
|
<img src="/assets/noserverupload.svg" height="23px" width="20px" alt="no server upload">
|
19
19
|
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
|
@@ -97,7 +97,7 @@
|
|
97
97
|
<div class="col-md-8 mx-auto">
|
98
98
|
<div class="faq">
|
99
99
|
{%- if homeData.FAQ.size>0 -%}
|
100
|
-
<h2 class="feature-h1 text-center">Frequently Asked Questions</h2>
|
100
|
+
<h2 class="feature-h1 text-center">{{homeData.faqheading | default: 'Frequently Asked Questions'}}</h2>
|
101
101
|
{%- endif -%}
|
102
102
|
<ul class="list-unstyled">
|
103
103
|
{% for data in homeData.FAQ %}
|
@@ -121,16 +121,13 @@
|
|
121
121
|
{%- endif -%}
|
122
122
|
{%- include share/socialshare.html -%}
|
123
123
|
{%- include Rating/rating.html -%}
|
124
|
-
{%- if
|
125
|
-
{%- include
|
126
|
-
|
127
|
-
{%-
|
128
|
-
{% endif %}
|
124
|
+
{%- if homeData.USPS -%}
|
125
|
+
{%- include /Usp/usp.html -%}
|
126
|
+
|
127
|
+
{%- endif -%}
|
129
128
|
{%- if homeData.display_formats -%}
|
130
|
-
<div class="container
|
131
|
-
<div class="px-md-4">
|
129
|
+
<div class="container file-detail-table ">
|
132
130
|
{%- include fileformat/fileformatdetail.html -%}
|
133
|
-
</div>
|
134
131
|
</div>
|
135
132
|
{%- endif -%}
|
136
133
|
{%- if homeData.compare_formats -%}
|
@@ -138,9 +135,13 @@
|
|
138
135
|
{%- include fileformat/comparisonfiles.html -%}
|
139
136
|
</div>
|
140
137
|
{%- endif -%}
|
141
|
-
|
138
|
+
{%- if page.categories or page.tags-%}
|
139
|
+
{%- include section/related_categories_post.html -%}
|
140
|
+
{%- else -%}
|
141
|
+
{%- include section/recent_posts.html -%}
|
142
|
+
{% endif %}
|
142
143
|
{% include footer/index.html %}
|
143
144
|
{% include script.html %}
|
144
145
|
</body>
|
145
146
|
|
146
|
-
</html>
|
147
|
+
</html>
|
data/assets/css/tools.css
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,156 @@
|
|
1
|
+
---
|
2
|
+
---
|
3
|
+
|
4
|
+
const addScripts=()=>{
|
5
|
+
const scripts=document.getElementsByTagName('script')
|
6
|
+
const check= Array.from(scripts).find(item=>item.src==='https://www.dropbox.com/static/api/2/dropins.js')
|
7
|
+
if(!check){
|
8
|
+
const dropboxscript = document.createElement('script')
|
9
|
+
dropboxscript.src = 'https://www.dropbox.com/static/api/2/dropins.js'
|
10
|
+
dropboxscript.dataset.appKey = '{{site.dropboxapikey}}'
|
11
|
+
dropboxscript.id='dropboxjs'
|
12
|
+
document.head.append(dropboxscript)
|
13
|
+
}
|
14
|
+
const checkgooglescript= Array.from(scripts).find(item=>item.src==='https://apis.google.com/js/api.js')
|
15
|
+
if(!checkgooglescript){
|
16
|
+
const googlescript = document.createElement('script')
|
17
|
+
googlescript.src = 'https://apis.google.com/js/api.js'
|
18
|
+
document.head.append(googlescript)
|
19
|
+
}
|
20
|
+
}
|
21
|
+
const developerKey = '{{site.developerKey}}'
|
22
|
+
const clientId ='{{site.clientId}}'
|
23
|
+
const appId = '{{site.appId}}'
|
24
|
+
const scope = [
|
25
|
+
'https://www.googleapis.com/auth/drive.file',
|
26
|
+
'https://www.googleapis.com/auth/drive.appdata',
|
27
|
+
]
|
28
|
+
let pickerApiLoaded = false
|
29
|
+
let oauthToken
|
30
|
+
const loadPicker = () => {
|
31
|
+
gapi.load('auth', { callback: onAuthApiLoad })
|
32
|
+
gapi.load('picker', { callback: onPickerApiLoad })
|
33
|
+
}
|
34
|
+
const onAuthApiLoad = () => {
|
35
|
+
window.gapi.auth.authorize(
|
36
|
+
{
|
37
|
+
client_id: clientId,
|
38
|
+
scope: scope,
|
39
|
+
immediate: false,
|
40
|
+
},
|
41
|
+
handleAuthResult
|
42
|
+
)
|
43
|
+
}
|
44
|
+
let onPickerApiLoad = () => {
|
45
|
+
pickerApiLoaded = true
|
46
|
+
createPicker()
|
47
|
+
}
|
48
|
+
const handleAuthResult = (authResult) => {
|
49
|
+
if (authResult && !authResult.error) {
|
50
|
+
oauthToken = authResult.access_token
|
51
|
+
createPicker()
|
52
|
+
}
|
53
|
+
}
|
54
|
+
const createPicker = () => {
|
55
|
+
if (pickerApiLoaded && oauthToken) {
|
56
|
+
const view = new google.picker.View(google.picker.ViewId.DOCS)
|
57
|
+
view.setMimeTypes(mimeTypes)
|
58
|
+
const picker = new google.picker.PickerBuilder()
|
59
|
+
.enableFeature(google.picker.Feature.NAV_HIDDEN)
|
60
|
+
.enableFeature(google.picker.Feature.MULTISELECT_ENABLED)
|
61
|
+
.setAppId(appId)
|
62
|
+
.setOAuthToken(oauthToken)
|
63
|
+
.addView(view)
|
64
|
+
.addView(new google.picker.DocsUploadView())
|
65
|
+
.setDeveloperKey(developerKey)
|
66
|
+
.setCallback(pickerCallback)
|
67
|
+
.build()
|
68
|
+
picker.setVisible(true)
|
69
|
+
}
|
70
|
+
}
|
71
|
+
const pickerCallback = async (data) => {
|
72
|
+
if (data.action == google.picker.Action.PICKED) {
|
73
|
+
showLoader()
|
74
|
+
var filesArray=data.docs.map(async(i)=>{
|
75
|
+
const res= await fetch(`https://www.googleapis.com/drive/v3/files/${i.id}?alt=media`,{
|
76
|
+
headers: {
|
77
|
+
'Authorization': `Bearer ${oauthToken}` }
|
78
|
+
}).then(res=>res.blob())
|
79
|
+
let metadata = {
|
80
|
+
type: i.mimeType
|
81
|
+
}
|
82
|
+
const file = new File([res], i.name, metadata);
|
83
|
+
return file
|
84
|
+
})
|
85
|
+
closeLoader()
|
86
|
+
getFile(filesArray)
|
87
|
+
}
|
88
|
+
}
|
89
|
+
function chooseFromDropbox() {
|
90
|
+
Dropbox.choose({
|
91
|
+
success: async (files) => {
|
92
|
+
if (files.length < 0) {
|
93
|
+
return
|
94
|
+
}
|
95
|
+
var dropboxArray=data.docs.map(async(file)=>{
|
96
|
+
showLoader()
|
97
|
+
const url = new URL(file.link)
|
98
|
+
const response = await fetch(url).then((res) => res.blob())
|
99
|
+
let metadata = {
|
100
|
+
type: response.type,
|
101
|
+
}
|
102
|
+
let newFile = new File([response], file.name, metadata)
|
103
|
+
return newFile
|
104
|
+
})
|
105
|
+
|
106
|
+
closeLoader()
|
107
|
+
getDropBoxFile(dropboxArray)
|
108
|
+
},
|
109
|
+
cancel: function () {},
|
110
|
+
linkType: 'direct',
|
111
|
+
multiselect: true,
|
112
|
+
extensions: [...filemimes],
|
113
|
+
folderselect: false,
|
114
|
+
})
|
115
|
+
}
|
116
|
+
|
117
|
+
const fileupload=(file)=>{
|
118
|
+
gapi.load('auth', {'callback': onAuthLoad});
|
119
|
+
}
|
120
|
+
const onAuthLoad=()=> {
|
121
|
+
window.gapi.auth.authorize(
|
122
|
+
{
|
123
|
+
'client_id': clientId,
|
124
|
+
'scope': scope,
|
125
|
+
'immediate': false
|
126
|
+
},
|
127
|
+
handleAuth);
|
128
|
+
}
|
129
|
+
const handleAuth=(authResult)=> {
|
130
|
+
if (authResult && !authResult.error) {
|
131
|
+
showuploadloading()
|
132
|
+
var formData = new FormData();
|
133
|
+
const fileToUpload = file
|
134
|
+
var metadata = {
|
135
|
+
name: fileToUpload.name,
|
136
|
+
mimeType: fileToUpload.type
|
137
|
+
};
|
138
|
+
formData.append( "metadata", new Blob( [JSON.stringify( metadata )], {type: "application/json"} ));
|
139
|
+
formData.append( "file", fileToUpload );
|
140
|
+
fetch( "https://www.googleapis.com/upload/drive/v3/files?uploadType=multipart", {
|
141
|
+
method: "POST",
|
142
|
+
headers: new Headers({ "Authorization": "Bearer " + gapi.auth.getToken().access_token }),
|
143
|
+
body: formData
|
144
|
+
}).then( function( response ){
|
145
|
+
stopuploadloading()
|
146
|
+
return response.json();
|
147
|
+
|
148
|
+
}).then( function( value ){
|
149
|
+
stopuploadloading()
|
150
|
+
showmessage()
|
151
|
+
});
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
|
156
|
+
|