From 8f7aa76f87fde2838b08c429ddde52412127b5ed Mon Sep 17 00:00:00 2001 From: Luiz Kill Date: Tue, 30 Jan 2024 17:35:46 -0300 Subject: add recipe for Portainer (#503) --- recipes/portainer/LICENSE | 21 +++++++++++++++++++++ recipes/portainer/icon.svg | 15 +++++++++++++++ recipes/portainer/index.js | 1 + recipes/portainer/package.json | 11 +++++++++++ recipes/portainer/webview.js | 9 +++++++++ 5 files changed, 57 insertions(+) create mode 100644 recipes/portainer/LICENSE create mode 100644 recipes/portainer/icon.svg create mode 100644 recipes/portainer/index.js create mode 100644 recipes/portainer/package.json create mode 100644 recipes/portainer/webview.js (limited to 'recipes') diff --git a/recipes/portainer/LICENSE b/recipes/portainer/LICENSE new file mode 100644 index 0000000..20b7e42 --- /dev/null +++ b/recipes/portainer/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Tom Chapman + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/recipes/portainer/icon.svg b/recipes/portainer/icon.svg new file mode 100644 index 0000000..6a0a92c --- /dev/null +++ b/recipes/portainer/icon.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/recipes/portainer/index.js b/recipes/portainer/index.js new file mode 100644 index 0000000..8244b1b --- /dev/null +++ b/recipes/portainer/index.js @@ -0,0 +1 @@ +module.exports = Ferdium => Ferdium; \ No newline at end of file diff --git a/recipes/portainer/package.json b/recipes/portainer/package.json new file mode 100644 index 0000000..7b61f23 --- /dev/null +++ b/recipes/portainer/package.json @@ -0,0 +1,11 @@ +{ + "id": "portainer", + "name": "Portainer", + "version": "1.0.0", + "license": "MIT", + "config": { + "hasHostedOption": true, + "hasCustomUrl": true, + "hasNotificationSound": false + } + } diff --git a/recipes/portainer/webview.js b/recipes/portainer/webview.js new file mode 100644 index 0000000..87ce926 --- /dev/null +++ b/recipes/portainer/webview.js @@ -0,0 +1,9 @@ +function _interopRequireDefault(obj) { + return obj && obj.__esModule ? obj : { default: obj }; + } + + const _path = _interopRequireDefault(require('path')); + + module.exports = Ferdium => { + Ferdium.injectCSS(_path.default.join(__dirname, 'service.css')); + }; \ No newline at end of file -- cgit v1.2.3-54-g00ecf