aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/podio
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-06-20 11:08:00 +0530
committerLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-06-20 05:47:40 +0000
commit8a0971ff9f41fdaa1af15e88740ce9479e1ec6ea (patch)
treedbbc5d0bf44f56a1024eae1d9799c47853401e0d /recipes/podio
parentRenamed 'glowingbear' --> 'glowing-bear' and 'ex-google-voice' --> 'google-vo... (diff)
downloadferdium-recipes-8a0971ff9f41fdaa1af15e88740ce9479e1ec6ea.tar.gz
ferdium-recipes-8a0971ff9f41fdaa1af15e88740ce9479e1ec6ea.tar.zst
ferdium-recipes-8a0971ff9f41fdaa1af15e88740ce9479e1ec6ea.zip
Added new services
- 'air-droid' - 'basecamp' - 'box' - 'buffer' - 'chatra' - 'easy-redmine' - 'feedbin' - 'iCloud' - 'jollor' - 'nomadlist' - 'paymo' - 'pivotal-tracker' - 'plan' - 'podio' - 'protonet' - 'teamleader'
Diffstat (limited to 'recipes/podio')
-rw-r--r--recipes/podio/css/franz.css22
-rw-r--r--recipes/podio/icon.pngbin0 -> 143907 bytes
-rw-r--r--recipes/podio/icon.svg1
-rw-r--r--recipes/podio/index.js2
-rw-r--r--recipes/podio/package.json24
-rw-r--r--recipes/podio/webview.js22
6 files changed, 71 insertions, 0 deletions
diff --git a/recipes/podio/css/franz.css b/recipes/podio/css/franz.css
new file mode 100644
index 0000000..b5668ee
--- /dev/null
+++ b/recipes/podio/css/franz.css
@@ -0,0 +1,22 @@
1#header-global {
2 display: none !important;
3}
4
5.content-container
6{
7 margin-top: -15px !important;
8 padding-top: 0px !important;
9}
10
11.settings-trigger {
12 display: none !important;
13}
14
15.grid {
16 box-sizing: border-box;
17 padding: 0 !important;
18}
19
20.grid .grid-column-1-2:last-of-type, .grid .grid-column-1-3:last-of-type, .grid .grid-column-1-4:last-of-type, .grid .grid-column-1:last-of-type, .grid .grid-column-2-3:last-of-type, .grid .grid-column-3-4:last-of-type {
21 padding-right: -10px !important;
22} \ No newline at end of file
diff --git a/recipes/podio/icon.png b/recipes/podio/icon.png
new file mode 100644
index 0000000..5c20fac
--- /dev/null
+++ b/recipes/podio/icon.png
Binary files differ
diff --git a/recipes/podio/icon.svg b/recipes/podio/icon.svg
new file mode 100644
index 0000000..ca5bc1f
--- /dev/null
+++ b/recipes/podio/icon.svg
@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg width="1024" height="1024" viewBox="0 0 256 303" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid"> <g> <path d="M219.773101,37.6558611 C169.760016,-12.3545763 88.4928348,-12.5557545 38.222101,37.0796796 L37.6335664,37.6673318 C-12.5577549,87.885124 -12.5409901,169.577603 37.6626843,219.775984 L115.208069,297.30725 C118.594569,300.69375 123.028431,302.379941 127.462293,302.379941 C131.895273,302.379941 136.340606,300.69375 139.724459,297.30725 C146.485107,290.537779 146.485107,279.558565 139.724459,272.791741 L62.1667222,195.254298 C25.5911082,158.683979 25.4737542,99.2278703 61.826131,62.5040197 L62.18084,62.1572519 C98.8791022,25.4819311 158.579624,25.4934018 195.254945,62.1687226 C225.370797,92.2872214 229.693482,143.827672 205.289151,182.072713 C200.142341,190.136607 202.513244,200.854642 210.577138,206.003216 C218.660444,211.166791 229.364361,208.785299 234.507641,200.724052 C267.995876,148.250064 261.79641,79.6765228 219.773101,37.6558611 M188.740476,223.751901 C195.504653,230.522254 195.513477,241.500585 188.740476,248.262115 C185.366329,251.653909 180.92629,253.348924 176.495958,253.348924 C172.053272,253.348924 167.611468,251.653909 164.222321,248.270939 L86.6795837,170.741437 C63.5149693,147.568881 63.5149693,109.857669 86.6795837,86.6815841 C97.904976,75.4667801 112.827459,69.2849613 128.699363,69.2849613 L128.71701,69.2849613 C144.586267,69.2849613 159.510515,75.4756037 170.727966,86.7071725 C186.183395,102.162602 191.905504,124.787212 185.644273,145.766219 C182.887778,154.940122 173.24887,160.162815 164.072319,157.417791 C154.898416,154.681591 149.675723,145.022389 152.409276,135.843191 C155.029005,127.100761 152.652808,117.657737 146.20981,111.217387 C141.532416,106.533817 135.324127,103.956441 128.708187,103.953794 L128.699363,103.953794 C122.083423,103.953794 115.875133,106.52764 111.195092,111.19974 C101.541184,120.853648 101.541184,136.566726 111.195092,146.223281 L188.740476,223.751901" fill="#5088AC"></path> </g></svg>
diff --git a/recipes/podio/index.js b/recipes/podio/index.js
new file mode 100644
index 0000000..46f936f
--- /dev/null
+++ b/recipes/podio/index.js
@@ -0,0 +1,2 @@
1// just pass through Franz
2module.exports = Franz => Franz;
diff --git a/recipes/podio/package.json b/recipes/podio/package.json
new file mode 100644
index 0000000..9ed76dd
--- /dev/null
+++ b/recipes/podio/package.json
@@ -0,0 +1,24 @@
1{
2 "id": "podio",
3 "name": "podio",
4 "version": "1.0.0",
5 "description": "Podio",
6 "main": "index.js",
7 "author": "Jan Willem Kaper <kapersoft@gmail.com>",
8 "license": "MIT",
9 "config": {
10 "serviceURL": "https://podio.com",
11 "serviceName": "Podio",
12 "message": "",
13 "popup": [
14 ],
15 "hasNotificationSound": true,
16 "hasIndirectMessages": false,
17 "hasTeamID": false,
18 "customURL": false,
19 "hostedOnly": false,
20 "webviewOptions": {
21 },
22 "openDevTools": false
23 }
24}
diff --git a/recipes/podio/webview.js b/recipes/podio/webview.js
new file mode 100644
index 0000000..b1ddc4f
--- /dev/null
+++ b/recipes/podio/webview.js
@@ -0,0 +1,22 @@
1const path = require('path');
2
3module.exports = (Franz, options) => {
4 const getMessages = () => {
5 // get unread messages
6 const updates = document.getElementsByClassName('counter')[0].innerHTML;
7
8 // get conversations in 'My Inbox'
9 //const inbox = document.getElementById('franz').getAttribute('data-inbox');
10
11 // set Franz badge
12 // updates => active unread count
13 // inbox => passive unread count
14 Franz.setBadge(updates, 0);
15 };
16
17 // inject franz.css stylesheet
18 Franz.injectCSS(path.join(__dirname, 'css', 'franz.css'));
19
20 // check for new messages every second and update Franz badge
21 Franz.loop(getMessages);
22};