diff options
Diffstat (limited to 'recipes/infomaniak-calendar')
-rw-r--r-- | recipes/infomaniak-calendar/icon.svg | 10 | ||||
-rw-r--r-- | recipes/infomaniak-calendar/index.js | 1 | ||||
-rw-r--r-- | recipes/infomaniak-calendar/package.json | 9 | ||||
-rw-r--r-- | recipes/infomaniak-calendar/webview.js | 16 |
4 files changed, 36 insertions, 0 deletions
diff --git a/recipes/infomaniak-calendar/icon.svg b/recipes/infomaniak-calendar/icon.svg new file mode 100644 index 0000000..c991cb1 --- /dev/null +++ b/recipes/infomaniak-calendar/icon.svg | |||
@@ -0,0 +1,10 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <svg width="300px" height="300px" viewBox="0 0 300 300" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> | ||
3 | <title>logo-k</title> | ||
4 | <g id="logo-k" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> | ||
5 | <g id="infomaniak-avatar"> | ||
6 | <rect id="Rectangle" fill="#0098FF" fill-rule="nonzero" x="0" y="0" width="300" height="300" rx="30"></rect> | ||
7 | <polygon id="k" fill="#FFFFFF" points="64 250.8 126.4 250.8 126.4 210 149.178194 188.036564 181.6 250.8 250.6 250.8 189.749559 149.181938 247 94.7986784 172 94.7986784 126.4 146.398678 126.4 0 64 0"></polygon> | ||
8 | </g> | ||
9 | </g> | ||
10 | </svg> \ No newline at end of file | ||
diff --git a/recipes/infomaniak-calendar/index.js b/recipes/infomaniak-calendar/index.js new file mode 100644 index 0000000..dd41f72 --- /dev/null +++ b/recipes/infomaniak-calendar/index.js | |||
@@ -0,0 +1 @@ | |||
module.exports = Ferdium => Ferdium; | |||
diff --git a/recipes/infomaniak-calendar/package.json b/recipes/infomaniak-calendar/package.json new file mode 100644 index 0000000..9fac862 --- /dev/null +++ b/recipes/infomaniak-calendar/package.json | |||
@@ -0,0 +1,9 @@ | |||
1 | { | ||
2 | "id": "infomaniak-calendar", | ||
3 | "name": "Infomaniak Calendar", | ||
4 | "version": "1.0.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://calendar.infomaniak.com" | ||
8 | } | ||
9 | } | ||
diff --git a/recipes/infomaniak-calendar/webview.js b/recipes/infomaniak-calendar/webview.js new file mode 100644 index 0000000..2a81dec --- /dev/null +++ b/recipes/infomaniak-calendar/webview.js | |||
@@ -0,0 +1,16 @@ | |||
1 | function _interopRequireDefault(obj) { | ||
2 | return obj && obj.__esModule ? obj : { default: obj }; | ||
3 | } | ||
4 | |||
5 | const _path = _interopRequireDefault(require('path')); | ||
6 | |||
7 | module.exports = Ferdium => { | ||
8 | // TODO: If your SNAME service has unread messages, uncomment these lines to implement the logic for updating the badges | ||
9 | // const getMessages = () => { | ||
10 | // // TODO: Insert your notification-finding code here | ||
11 | // Ferdium.setBadge(0, 0); | ||
12 | // }; | ||
13 | // Ferdium.loop(getMessages); | ||
14 | |||
15 | Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
16 | }; | ||