aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/unraid
diff options
context:
space:
mode:
authorLibravatar Bennett <hello@vantezzen.io>2020-09-22 20:56:48 +0200
committerLibravatar GitHub <noreply@github.com>2020-09-22 19:56:48 +0100
commit6f5e4a00588aefdda7a5a1cfe70935870e7e234a (patch)
tree9e29aa7aa0620a1a4a968ff8739b4b8ba96791a9 /recipes/unraid
parentUpdated logos for Outlook/OWA (diff)
downloadferdium-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 'recipes/unraid')
-rw-r--r--recipes/unraid/README.md3
-rw-r--r--recipes/unraid/icon.pngbin0 -> 101230 bytes
-rw-r--r--recipes/unraid/icon.svg20
-rw-r--r--recipes/unraid/index.js6
-rw-r--r--recipes/unraid/package.json16
-rw-r--r--recipes/unraid/webview.js11
6 files changed, 56 insertions, 0 deletions
diff --git a/recipes/unraid/README.md b/recipes/unraid/README.md
new file mode 100644
index 0000000..0900af3
--- /dev/null
+++ b/recipes/unraid/README.md
@@ -0,0 +1,3 @@
1# franz-recipe-unraid
2
3This is a recipe for [Unraid](unraid.com) that provides access to the dashboard.
diff --git a/recipes/unraid/icon.png b/recipes/unraid/icon.png
new file mode 100644
index 0000000..16023df
--- /dev/null
+++ b/recipes/unraid/icon.png
Binary files differ
diff --git a/recipes/unraid/icon.svg b/recipes/unraid/icon.svg
new file mode 100644
index 0000000..b2bbebb
--- /dev/null
+++ b/recipes/unraid/icon.svg
@@ -0,0 +1,20 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<svg width="1024px" height="1024px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3 <!-- Generator: Sketch 43.2 (39069) - http://www.bohemiancoding.com/sketch -->
4 <title>icon</title>
5 <desc>Created with Sketch.</desc>
6 <defs>
7 <linearGradient x1="17.7436282%" y1="105.82987%" x2="82.2136432%" y2="-5.86233766%" id="linearGradient-1">
8 <stop stop-color="#E32929" offset="0%"></stop>
9 <stop stop-color="#FF8D30" offset="100%"></stop>
10 </linearGradient>
11 </defs>
12 <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
13 <g id="icon" fill-rule="nonzero">
14 <g id="unraid-stacked-dark" transform="translate(0.000000, 155.500000)">
15 <path d="M675.453237,668.000138 L621.582734,668.000138 L607.769784,709.438987 L577.841727,709.438987 L639.539568,532.1728 L676.374101,532.1728 L738.071942,709.438987 L705.381295,709.438987 L656.57554,563.942584 L629.870504,641.755534 L667.625899,641.755534 L675.453237,668.000138 L675.453237,668.000138 Z M136.748201,532.633232 L136.748201,649.582872 C136.748201,690.561289 110.043165,712.201577 68.1438849,712.201577 C26.705036,712.201577 0,690.561289 0,649.582872 L0,532.633232 L29.9280576,532.633232 L29.9280576,649.582872 C29.9280576,673.525318 44.6618705,685.956973 67.6834532,685.956973 C91.6258993,685.956973 106.359712,673.525318 106.359712,649.582872 L106.359712,532.633232 L136.748201,532.633232 L136.748201,532.633232 Z M234.359712,587.424598 L234.359712,709.438987 L204.431655,709.438987 L204.431655,532.1728 L232.517986,532.1728 L310.791367,654.187188 L310.791367,532.1728 L340.719424,532.1728 L340.719424,709.438987 L312.633094,709.438987 L234.359712,587.424598 L234.359712,587.424598 Z M788.719424,532.633232 L818.647482,532.633232 L818.647482,709.899419 L788.719424,709.899419 L788.719424,532.633232 L788.719424,532.633232 Z M1024,645.899419 C1024,687.338268 996.834532,709.438987 954.014388,709.438987 L887.251799,709.438987 L887.251799,532.1728 L954.47482,532.1728 C996.834532,532.1728 1024,554.273519 1024,595.712368 L1024,645.899419 L1024,645.899419 Z M993.611511,596.1728 C993.611511,571.769922 978.417266,558.877836 954.47482,558.877836 L917.179856,558.877836 L917.179856,683.654814 L954.014388,683.654814 C978.417266,683.654814 993.611511,670.762728 993.611511,646.35985 L993.611511,596.1728 L993.611511,596.1728 Z M498.647482,642.676397 C518.446043,635.309491 530.417266,618.273519 530.417266,589.726757 C530.417266,549.669203 506.935252,532.633232 471.482014,532.633232 L408.863309,532.633232 L408.863309,709.899419 L438.791367,709.899419 L438.791367,558.877836 L470.561151,558.877836 C488.057554,558.877836 499.107914,567.165606 499.107914,589.726757 C499.107914,612.287908 488.057554,621.036109 470.561151,621.036109 L454.906475,621.036109 L497.266187,710.35985 L531.798561,710.35985 L498.647482,642.676397 Z" id="Shape" fill="#000000"></path>
16 <path d="M492.98701,111.359943 L530.436839,111.359943 L530.436839,333.178164 L492.98701,333.178164 L492.98701,111.359943 Z M165.156963,333.178164 L127.707134,333.178164 L127.707134,111.359943 L165.156963,111.359943 L165.156963,333.178164 Z M310.347072,359.68112 L347.796901,359.68112 L347.796901,444.37535 L310.347072,444.37535 L310.347072,359.68112 L310.347072,359.68112 Z M218.739027,264.616169 L256.188857,264.616169 L256.188857,401.74016 L218.739027,401.74016 L218.739027,264.616169 Z M401.378965,264.616169 L438.828795,264.616169 L438.828795,401.74016 L401.378965,401.74016 L401.378965,264.616169 Z M858.843037,111.359943 L896.292866,111.359943 L896.292866,333.178164 L858.843037,333.178164 L858.843037,111.359943 L858.843037,111.359943 Z M713.652928,85.433138 L676.203099,85.433138 L676.203099,0.738908152 L713.652928,0.738908152 L713.652928,85.433138 L713.652928,85.433138 Z M805.260973,179.921939 L767.811143,179.921939 L767.811143,43.3740987 L805.260973,43.3740987 L805.260973,179.921939 Z M622.044884,179.921939 L584.595054,179.921939 L584.595054,43.3740987 L622.044884,43.3740987 L622.044884,179.921939 Z" id="Shape" fill="url(#linearGradient-1)"></path>
17 </g>
18 </g>
19 </g>
20</svg> \ No newline at end of file
diff --git a/recipes/unraid/index.js b/recipes/unraid/index.js
new file mode 100644
index 0000000..0c500c1
--- /dev/null
+++ b/recipes/unraid/index.js
@@ -0,0 +1,6 @@
1"use strict";
2
3// just pass through Franz
4module.exports = function (Franz) {
5 return Franz;
6}; \ No newline at end of file
diff --git a/recipes/unraid/package.json b/recipes/unraid/package.json
new file mode 100644
index 0000000..df20561
--- /dev/null
+++ b/recipes/unraid/package.json
@@ -0,0 +1,16 @@
1
2{
3 "id": "unraid",
4 "name": "Unraid",
5 "version": "1.0.1",
6 "description": "Unraid dashboard",
7 "main": "index.js",
8 "author": "Neil Tonge <me@neiltonge.co.uk>",
9 "license": "MIT",
10 "repository": "https://github.com/rctneil/franz-recipe-unraid",
11 "config": {
12 "serviceURL": "{teamId}",
13 "hasNotificationSound": false,
14 "hasTeamId": true
15 }
16} \ No newline at end of file
diff --git a/recipes/unraid/webview.js b/recipes/unraid/webview.js
new file mode 100644
index 0000000..38695da
--- /dev/null
+++ b/recipes/unraid/webview.js
@@ -0,0 +1,11 @@
1module.exports = (Franz) => {
2
3 const getMessages = () => {
4 const messages = $('#jGrowl .jGrowl-notify').length;
5
6 Franz.setBadge(messages - 1);
7 }
8
9 Franz.loop(getMessages);
10
11}; \ No newline at end of file