From fe1c776f544a07ea55694e00e78c2c53956b65fd Mon Sep 17 00:00:00 2001 From: Neshura Date: Mon, 1 Jan 2024 07:07:04 +0100 Subject: [PATCH] Adjusted pending color --- src/app.pcss | 2 +- src/lib/components/Card.svelte | 0 .../data => src/lib/components}/pages.json | 85 +++++++------------ src/routes/services/+page.svelte | 0 4 files changed, 30 insertions(+), 57 deletions(-) create mode 100644 src/lib/components/Card.svelte rename {public/data => src/lib/components}/pages.json (69%) create mode 100644 src/routes/services/+page.svelte diff --git a/src/app.pcss b/src/app.pcss index 6f2c98b..17cd4bf 100644 --- a/src/app.pcss +++ b/src/app.pcss @@ -97,7 +97,7 @@ --offline: var(--destructive); --online: 142 76% 36%; /* #16a34a */ - --pending: 45 93% 47%; /* #eab308 */ + --pending: 25 95% 53%; /* #f97316 */ --maintenance: 224 76% 48%; /* #1d4ed8 */ /* that border thingy when you tab through stuff */ diff --git a/src/lib/components/Card.svelte b/src/lib/components/Card.svelte new file mode 100644 index 0000000..e69de29 diff --git a/public/data/pages.json b/src/lib/components/pages.json similarity index 69% rename from public/data/pages.json rename to src/lib/components/pages.json index ec16b5d..524400d 100644 --- a/public/data/pages.json +++ b/src/lib/components/pages.json @@ -7,9 +7,7 @@ "desc": "Self-hosted Cloud Storage Service", "warn": "Note: Registration requires approval", "extLink": "https://nextcloud.com/", - "type": "docker", - "docker_container_name": "nextcloud", - "location": "tower-0" + "id": 7 }, { "name": "Kavita", @@ -17,9 +15,7 @@ "href": "https://kavita.neshweb.net", "desc": "Self-hosted Manga Library", "warn": "Registration via Admin invite", - "type": "docker", - "docker_container_name": "kavita", - "location": "tower-0" + "id": 5 }, { "name": "Images", @@ -28,9 +24,7 @@ "desc": "Self-hosted Chevereto Image Service", "warn": "", "extLink": "https://chevereto.com/", - "type": "docker", - "docker_container_name": "chevereto", - "location": "tower-0" + "id": 4 }, { "name": "Calibre Web", @@ -38,9 +32,7 @@ "href": "https://calibre.neshweb.net/", "desc": "Self-hosted Ebook Library Service", "warn": "Note: Registration only via Admin", - "type": "docker", - "docker_container_name": "calibre-web", - "location": "tower-0" + "id": 6 }, { "name": "PeerTube", @@ -48,9 +40,7 @@ "href": "https://tube.neshweb.net/", "desc": "Self-hosted PeerTube Instance", "warn": "Note: Registration only via Admin", - "type": "docker", - "docker_container_name": "peertube", - "location": "tower-0" + "id": 8 }, { "name": "Mastodon", @@ -58,9 +48,7 @@ "href": "https://mastodon.neshweb.net/", "desc": "Self-hosted Mastodon Instance", "warn": "Note: Registration requires approval", - "type": "docker", - "docker_container_name": "mastodon-web", - "location": "tower-0" + "id": 3 }, { @@ -69,18 +57,7 @@ "href": "https://vault.neshweb.net", "desc": "Self-hosted Password Manager", "warn": "Note: Invite only", - "type": "docker", - "docker_container_name": "vaultwarden", - "location": "tower-0" - }, - { - "name": "File Browser", - "href": "https://files.neshweb.net/", - "desc": "Server File Browser", - "warn": "Note: Registration only via Admin", - "type": "docker", - "docker_container_name": "filebrowser", - "location": "tower-0" + "id": 9 }, { "name": "Jellyfin", @@ -88,9 +65,7 @@ "href": "https://jellyfin.neshweb.net/", "desc": "Open-Source, Self-Hosted Media Platform", "warn": "Note: Registration only via Admin", - "type": "docker", - "docker_container_name": "jellyfin", - "location": "tower-0" + "id": 37 }, { "name": "Navidrome", @@ -98,18 +73,7 @@ "href": "https://navidrome.neshweb.net/", "desc": "Open-Source, Self-Hosted Music Streaming Platform", "warn": "Note: Registration only via Admin", - "type": "docker", - "docker_container_name": "navidrome", - "location": "tower-0" - }, - { - "name": "Picard", - "href": "https://picard.neshweb.net/", - "desc": "MP3 Tagger", - "warn": "Note: Access only via Admin", - "type": "docker", - "docker_container_name": "picard", - "location": "tower-0" + "id": 10 }, { "name": "Gitlab", @@ -117,9 +81,15 @@ "href": "https://gitlab.neshweb.net/", "desc": "Self-hosted Git Service", "warn": "Note: Registration only via Admin", - "type": "docker", - "docker_container_name": "gitlab", - "location": "tower-0" + "id": 2 + }, + { + "name": "Forgejo", + "icon": "/icons/forgejo-logo.svg", + "href": "https://forgejo.neshweb.net/", + "desc": "Self-hosted Git Service", + "warn": "Note: Registration only via Admin", + "id": 36 }, { "name": "Portainer", @@ -127,9 +97,7 @@ "href": "https://portainer.neshweb.net/", "desc": "Docker Container Manager", "warn": "Note: Admin Only", - "type": "docker", - "docker_container_name": "portainer", - "location": "tower-0" + "id": 34 }, { "name": "Nginx", @@ -137,9 +105,7 @@ "href": "https://nginx.neshweb.net/", "desc": "Web-based Nginx Proxy Manager", "warn": "Note: Admin Only", - "type": "docker", - "docker_container_name": "nginx-prox", - "location": "tower-0" + "id": 31 }, { "name": "Proxmox", @@ -147,8 +113,15 @@ "href": "https://proxmox.neshweb.net/", "desc": "Hypervisor Webinterface", "warn": "Note: Admin Only", - "type": "app", - "location": "" + "id": 33 + }, + { + "name": "Dockge", + "icon": "/icons/dockge-logo.png", + "href": "https://dockge.neshweb.net/", + "desc": "Docker Compose WebUI", + "warn": "Note: Admin Only", + "id": 35 } ], "games": { diff --git a/src/routes/services/+page.svelte b/src/routes/services/+page.svelte new file mode 100644 index 0000000..e69de29