diff options
author | 2020-09-22 20:56:48 +0200 | |
---|---|---|
committer | 2020-09-22 19:56:48 +0100 | |
commit | 6f5e4a00588aefdda7a5a1cfe70935870e7e234a (patch) | |
tree | 9e29aa7aa0620a1a4a968ff8739b4b8ba96791a9 /uncompressed/zendesk | |
parent | Updated logos for Outlook/OWA (diff) | |
download | ferdium-recipes-6f5e4a00588aefdda7a5a1cfe70935870e7e234a.tar.gz ferdium-recipes-6f5e4a00588aefdda7a5a1cfe70935870e7e234a.tar.zst ferdium-recipes-6f5e4a00588aefdda7a5a1cfe70935870e7e234a.zip |
Unpack recipes and update recipes icons (#292)
Co-authored-by: Amine Mouafik <amine@mouafik.fr>
Diffstat (limited to 'uncompressed/zendesk')
-rw-r--r-- | uncompressed/zendesk/README.md | 5 | ||||
-rw-r--r-- | uncompressed/zendesk/icon.png | bin | 2386 -> 0 bytes | |||
-rw-r--r-- | uncompressed/zendesk/icon.svg | 14 | ||||
-rw-r--r-- | uncompressed/zendesk/index.js | 3 | ||||
-rw-r--r-- | uncompressed/zendesk/package.json | 14 | ||||
-rw-r--r-- | uncompressed/zendesk/service.css | 3 | ||||
-rw-r--r-- | uncompressed/zendesk/webview.js | 21 |
7 files changed, 0 insertions, 60 deletions
diff --git a/uncompressed/zendesk/README.md b/uncompressed/zendesk/README.md deleted file mode 100644 index 5fea5e3..0000000 --- a/uncompressed/zendesk/README.md +++ /dev/null | |||
@@ -1,5 +0,0 @@ | |||
1 | # Zendesk for Franz | ||
2 | This is the official Franz recipe for Zendesk | ||
3 | |||
4 | ### How to create your own Franz recipes: | ||
5 | * [Read the documentation](https://github.com/meetfranz/plugins) | ||
diff --git a/uncompressed/zendesk/icon.png b/uncompressed/zendesk/icon.png deleted file mode 100644 index 4093d24..0000000 --- a/uncompressed/zendesk/icon.png +++ /dev/null | |||
Binary files differ | |||
diff --git a/uncompressed/zendesk/icon.svg b/uncompressed/zendesk/icon.svg deleted file mode 100644 index 5b8e482..0000000 --- a/uncompressed/zendesk/icon.svg +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <svg width="80px" height="80px" viewBox="0 0 80 80" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
3 | <!-- Generator: Sketch 54.1 (76490) - https://sketchapp.com --> | ||
4 | <title>zendesk</title> | ||
5 | <desc>Created with Sketch.</desc> | ||
6 | <g id="zendesk" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> | ||
7 | <g id="Group" transform="translate(0.000000, 10.000000)" fill="#03363D" fill-rule="nonzero"> | ||
8 | <polygon id="Shape" points="36.8394089 15.964532 36.8394089 60.4413793 0 60.4413793"></polygon> | ||
9 | <path d="M36.8394089,0 C36.8394089,10.1729219 28.5926263,18.4197044 18.4197044,18.4197044 C8.24678258,18.4197044 0,10.1729219 0,0 L36.8394089,0 L36.8394089,0 Z" id="Shape"></path> | ||
10 | <path d="M42.9083744,60.4413793 C42.9083744,50.2684575 51.155157,42.0216749 61.3280788,42.0216749 C71.5010007,42.0216749 79.7477833,50.2684575 79.7477833,60.4413793 L42.9083744,60.4413793 Z" id="Shape"></path> | ||
11 | <polygon id="Shape" points="42.9083744 44.4768473 42.9083744 0 79.7517241 0"></polygon> | ||
12 | </g> | ||
13 | </g> | ||
14 | </svg> \ No newline at end of file | ||
diff --git a/uncompressed/zendesk/index.js b/uncompressed/zendesk/index.js deleted file mode 100644 index e8243fb..0000000 --- a/uncompressed/zendesk/index.js +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | module.exports = Franz => Franz; \ No newline at end of file | ||
diff --git a/uncompressed/zendesk/package.json b/uncompressed/zendesk/package.json deleted file mode 100644 index 8991b9a..0000000 --- a/uncompressed/zendesk/package.json +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | { | ||
2 | "id": "zendesk", | ||
3 | "name": "zendesk", | ||
4 | "version": "1.0.2", | ||
5 | "description": "Zendesk", | ||
6 | "main": "index.js", | ||
7 | "author": "Stefan Malzner <stefan@adlk.io>", | ||
8 | "license": "MIT", | ||
9 | "config": { | ||
10 | "serviceURL": "https://{teamId}.zendesk.com/agent", | ||
11 | "hasTeamId": true, | ||
12 | "urlInputSuffix": ".zendesk.com" | ||
13 | } | ||
14 | } | ||
diff --git a/uncompressed/zendesk/service.css b/uncompressed/zendesk/service.css deleted file mode 100644 index a3d3c69..0000000 --- a/uncompressed/zendesk/service.css +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | html, body { | ||
2 | background: #FFF !important; | ||
3 | } \ No newline at end of file | ||
diff --git a/uncompressed/zendesk/webview.js b/uncompressed/zendesk/webview.js deleted file mode 100644 index c4a77a3..0000000 --- a/uncompressed/zendesk/webview.js +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | "use strict"; | ||
2 | |||
3 | var _path = _interopRequireDefault(require("path")); | ||
4 | |||
5 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
6 | |||
7 | module.exports = Franz => { | ||
8 | const getMessages = () => { | ||
9 | let count = 0; | ||
10 | const el = document.querySelector('.dashboard-top-panel .indicators .stats-group .cell-value'); | ||
11 | |||
12 | if (el) { | ||
13 | count = parseInt(el.innerHTML, 10); | ||
14 | } | ||
15 | |||
16 | Franz.setBadge(count); | ||
17 | }; | ||
18 | |||
19 | Franz.loop(getMessages); | ||
20 | Franz.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
21 | }; \ No newline at end of file | ||