appscms-tools-theme 0.8.5 → 0.8.6

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: b139bd1d8e620e6fc3aae9c15f19527aa3a0ec9eaf2741cb823e9124b1b923df
4
- data.tar.gz: 45329ec0c9ee294f476ea1a1f94e33097a84d45f8edb49d3eecde250b122e1f6
3
+ metadata.gz: bcb15d5f122000cbe30404525bfd94b07e76474cb3cdcafdad3179f5fa14d789
4
+ data.tar.gz: cd0e99288772315f3a164d0888f300f42ccff361c1036c0ca800e5d1cdca90b2
5
5
  SHA512:
6
- metadata.gz: dca0fc395ae735e725eb79e9768519986212b587b78e1ca1692351daa8252ff5124b1f660ed256da522713c1c875500282662bd8a67e54a73000d1c38111538a
7
- data.tar.gz: 6615c7f673d6dee9d039e38d2988f06436891bdec8fc5ce97985b086f3e35a26911542af322d6dbe97d4e523487082949aaa7ca94f72dba5a52e2b76d222c436
6
+ metadata.gz: 734246e54e28a0aebb6828d498f7c2b84df71d20e47b4a914448e001532bfd2bcd53054307320c4c2931f7aba73d35da23c47933eda50f1b11207f79c15eb0d7
7
+ data.tar.gz: 2ada78a92354fdad02dd8c593889a435d2580e8abaaf059986c5323f1619dc248b1119e808df98fa176810968355046e03d05e5aa6df69c47f65f81747751212
@@ -1,9 +1,14 @@
1
1
  {
2
- "Language":"English",
3
- "htmlLangAtt":"en",
4
- "h1":"About us",
5
- "h2":"Welcome to Example site",
6
- "TITLE":"List of all Android alarm libraries for use in your project",
7
- "META":"See collection of all Android alarm libraries, filter by license, modified date, languages, and select best for your usecase.",
8
- "paragraph" : "Company is registered under the provisions of the Limited Liability Partnership Act 2008, having its registered office at “Mohan Nagar, Tiwari Gali No 3, Pilkhuwa, Ghaziabad, Uttar Pradesh – 245 304, INDIA” represented by its Directors, hereinafter referred to as the “FIRM” (where such expression shall, unless repugnant to the context thereof, be deemed to include its respective legal heirs, representatives, administrators, permitted successors and assigns).Company is registered under the provisions of the Limited Liability Partnership Act 2008, having its registered office at “Mohan Nagar, Tiwari Gali No 3, Pilkhuwa, Ghaziabad, Uttar Pradesh – 245 304, INDIA” represented by its Directors, hereinafter referred to as the “FIRM” (where such expression shall, unless repugnant to the context thereof, be deemed to include its respective legal heirs, representatives, administrators, permitted successors and assigns).Company is registered under the provisions of the Limited Liability Partnership Act 2008, having its registered office at “Mohan Nagar, Tiwari Gali No 3, Pilkhuwa, Ghaziabad, Uttar Pradesh – 245 304, INDIA” represented by its Directors, hereinafter referred to as the “FIRM” (where such expression shall, unless repugnant to the context thereof, be deemed to include its respective legal heirs, representatives, administrators, permitted successors and assigns).Company is registered under the provisions of the Limited Liability Partnership Act 2008, having its registered office at “Mohan Nagar, Tiwari Gali No 3, Pilkhuwa, Ghaziabad, Uttar Pradesh – 245 304, INDIA” represented by its Directors, hereinafter referred to as the “FIRM” (where such expression shall, unless repugnant to the context thereof, be deemed to include its respective legal heirs, representatives, administrators, permitted successors and assigns).Company is registered under the provisions of the Limited Liability Partnership Act 2008, having its registered office at “Mohan Nagar, Tiwari Gali No 3, Pilkhuwa, Ghaziabad, Uttar Pradesh – 245 304, INDIA” represented by its Directors, hereinafter referred to as the “FIRM” (where such expression shall, unless repugnant to the context thereof, be deemed to include its respective legal heirs, representatives, administrators, permitted successors and assigns)."
9
- }
2
+ "Language": "English",
3
+ "htmlLangAtt": "en",
4
+ "h1": "About us",
5
+ "jscdns": [
6
+ "<script type=\"text/javascript\" src=\"https://apis.google.com/js/api.js\"></script>",
7
+ "<script src=\"/assets/js/googledrive.js\"></script>",
8
+ "<script src=\"../js/new.js\"></script>"
9
+ ],
10
+ "h2": "Welcome to Example site",
11
+ "TITLE": "List of all Android alarm libraries for use in your project",
12
+ "META": "See collection of all Android alarm libraries, filter by license, modified date, languages, and select best for your usecase.",
13
+ "paragraph": "Company is registered under the provisions of the Limited Liability Partnership Act 2008, having its registered office at “Mohan Nagar, Tiwari Gali No 3, Pilkhuwa, Ghaziabad, Uttar Pradesh – 245 304, INDIA” represented by its Directors, hereinafter referred to as the “FIRM” (where such expression shall, unless repugnant to the context thereof, be deemed to include its respective legal heirs, representatives, administrators, permitted successors and assigns).Company is registered under the provisions of the Limited Liability Partnership Act 2008, having its registered office at “Mohan Nagar, Tiwari Gali No 3, Pilkhuwa, Ghaziabad, Uttar Pradesh – 245 304, INDIA” represented by its Directors, hereinafter referred to as the “FIRM” (where such expression shall, unless repugnant to the context thereof, be deemed to include its respective legal heirs, representatives, administrators, permitted successors and assigns).Company is registered under the provisions of the Limited Liability Partnership Act 2008, having its registered office at “Mohan Nagar, Tiwari Gali No 3, Pilkhuwa, Ghaziabad, Uttar Pradesh – 245 304, INDIA” represented by its Directors, hereinafter referred to as the “FIRM” (where such expression shall, unless repugnant to the context thereof, be deemed to include its respective legal heirs, representatives, administrators, permitted successors and assigns).Company is registered under the provisions of the Limited Liability Partnership Act 2008, having its registered office at “Mohan Nagar, Tiwari Gali No 3, Pilkhuwa, Ghaziabad, Uttar Pradesh – 245 304, INDIA” represented by its Directors, hereinafter referred to as the “FIRM” (where such expression shall, unless repugnant to the context thereof, be deemed to include its respective legal heirs, representatives, administrators, permitted successors and assigns).Company is registered under the provisions of the Limited Liability Partnership Act 2008, having its registered office at “Mohan Nagar, Tiwari Gali No 3, Pilkhuwa, Ghaziabad, Uttar Pradesh – 245 304, INDIA” represented by its Directors, hereinafter referred to as the “FIRM” (where such expression shall, unless repugnant to the context thereof, be deemed to include its respective legal heirs, representatives, administrators, permitted successors and assigns)."
14
+ }
@@ -1,18 +1,16 @@
1
1
  {
2
- "networkSites":[
2
+ "networkSites": [
3
3
  {
4
- "name":"wordswithletters",
5
- "url":"http://wordswithletters.org/"
6
-
4
+ "name": "wordswithletters",
5
+ "url": "http://wordswithletters.org/"
7
6
  },
8
7
  {
9
- "name":"alarmsetter",
10
- "url":"https://alarmsetter.com/"
8
+ "name": "alarmsetter",
9
+ "url": "https://alarmsetter.com/"
11
10
  },
12
11
  {
13
- "name":"safepdfkit",
14
- "url":"http://safepdfkit.com/"
15
-
12
+ "name": "safepdfkit",
13
+ "url": "http://safepdfkit.com/"
16
14
  }
17
15
  ]
18
16
  }
@@ -86,16 +86,7 @@
86
86
  "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."
87
87
  }
88
88
  ],
89
- "HOW_TO_CONTENT": {
90
- "logoImageUrl": "/assets/pdf.svg",
91
- "heading": "",
92
- "steps": [
93
- "Click on set alarm",
94
- "Set $variable minutes for alarm.",
95
- "Choose sound of your choice.",
96
- "Click submit to set alarm, that's it !."
97
- ]
98
- },
89
+
99
90
  "FAQ": [
100
91
  {
101
92
  "question": "How many seconds from now, will the alarm ring ?",
@@ -0,0 +1,64 @@
1
+ const developerKey = 'AIzaSyDr30lsukCywJXYYPSn5prs6FwvmgqQkxg'
2
+ const clientId =
3
+ '762288849553-blsuhbaecksbh4tsi5blkhvp2hq9beo5.apps.googleusercontent.com'
4
+ const appId = '762288849553'
5
+ const scope = [
6
+ 'https://www.googleapis.com/auth/drive.file',
7
+ 'https://www.googleapis.com/auth/drive.appdata',
8
+ ]
9
+ let pickerApiLoaded = false
10
+ let oauthToken
11
+ const loadPicker = () => {
12
+ gapi.load('auth', { callback: onAuthApiLoad })
13
+ gapi.load('picker', { callback: onPickerApiLoad })
14
+ }
15
+ const onAuthApiLoad = () => {
16
+ window.gapi.auth.authorize(
17
+ {
18
+ client_id: clientId,
19
+ scope: scope,
20
+ immediate: false,
21
+ },
22
+ handleAuthResult
23
+ )
24
+ }
25
+ let onPickerApiLoad = () => {
26
+ pickerApiLoaded = true
27
+ createPicker()
28
+ }
29
+ const handleAuthResult = (authResult) => {
30
+ if (authResult && !authResult.error) {
31
+ oauthToken = authResult.access_token
32
+ createPicker()
33
+ }
34
+ }
35
+ const createPicker = () => {
36
+ if (pickerApiLoaded && oauthToken) {
37
+ const view = new google.picker.View(google.picker.ViewId.DOCS)
38
+ view.setMimeTypes('application/pdf,image/jpeg,image/png,image/jpg')
39
+ const picker = new google.picker.PickerBuilder()
40
+ .enableFeature(google.picker.Feature.NAV_HIDDEN)
41
+ .enableFeature(google.picker.Feature.MULTISELECT_ENABLED)
42
+ .setAppId(appId)
43
+ .setOAuthToken(oauthToken)
44
+ .addView(view)
45
+ .addView(new google.picker.DocsUploadView())
46
+ .setDeveloperKey(developerKey)
47
+ .setCallback(pickerCallback)
48
+ .build()
49
+ picker.setVisible(true)
50
+ }
51
+ }
52
+ const pickerCallback = async (data) => {
53
+ if (data.action == google.picker.Action.PICKED) {
54
+ const res = await fetch(
55
+ `https://www.googleapis.com/drive/v2/files/${data.docs[0].id}?key=${developerKey}`
56
+ ).then((res) => res.json())
57
+ const response = await fetch(res.downloadUrl).then((res) => res.blob)
58
+ let metadata = {
59
+ type: data.docs[0].mimeType,
60
+ }
61
+ let file = new File([response], data.docs[0].name, metadata)
62
+ getFile(file)
63
+ }
64
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appscms-tools-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.8.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek-appscms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-12 00:00:00.000000000 Z
11
+ date: 2021-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -151,6 +151,7 @@ files:
151
151
  - assets/images/rating.png
152
152
  - assets/instagram.svg
153
153
  - assets/js/TopScroll.js
154
+ - assets/js/googledrive.js
154
155
  - assets/linkdin.svg
155
156
  - assets/noserverupload.svg
156
157
  - assets/pdf.svg