Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

Update template icons and enhance sidebar user menu

Juan Denis3ca6bd23a92f
diff --git a/.gitignore b/.gitignore
index dea2a4b2..7f7547dd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -54,3 +54,4 @@ new_templates/
# Test artifacts
*.test
*.out
+/template-icons
diff --git a/backend/templates/authelia.yaml b/backend/templates/authelia.yaml
index 95f73282..3838aaf3 100644
--- a/backend/templates/authelia.yaml
+++ b/backend/templates/authelia.yaml
@@ -2,7 +2,7 @@ id: authelia
name: Authelia
version: "4.37"
description: Authentication and authorization server providing 2FA and SSO
-icon: https://www.authelia.com/images/branding/logo-cropped.png
+icon: https://serverkit.ai/imgs/template-icons/authelia.png
website: https://www.authelia.com
documentation: https://www.authelia.com/docs/
categories:
diff --git a/backend/templates/bookstack.yaml b/backend/templates/bookstack.yaml
index 065c09fe..1b98b5f7 100644
--- a/backend/templates/bookstack.yaml
+++ b/backend/templates/bookstack.yaml
@@ -2,7 +2,7 @@ id: bookstack
name: BookStack
version: "23.12"
description: Simple, self-hosted platform for organizing and storing information
-icon: https://www.bookstackapp.com/images/bookstack-logo.svg
+icon: https://serverkit.ai/imgs/template-icons/bookstack.png
website: https://www.bookstackapp.com
documentation: https://www.bookstackapp.com/docs/
categories:
diff --git a/backend/templates/caddy.yaml b/backend/templates/caddy.yaml
index addafaa8..309c7325 100644
--- a/backend/templates/caddy.yaml
+++ b/backend/templates/caddy.yaml
@@ -2,7 +2,7 @@ id: caddy
name: Caddy
version: "2.7"
description: Fast, multi-platform web server with automatic HTTPS
-icon: https://caddyserver.com/resources/images/caddy-circle-lock.svg
+icon: https://serverkit.ai/imgs/template-icons/caddy.svg
website: https://caddyserver.com
documentation: https://caddyserver.com/docs/
categories:
diff --git a/backend/templates/code-server.yaml b/backend/templates/code-server.yaml
index 6fdffc26..1c4ab489 100644
--- a/backend/templates/code-server.yaml
+++ b/backend/templates/code-server.yaml
@@ -2,7 +2,7 @@ id: code-server
name: Code Server
version: "4.20"
description: VS Code in the browser with full IDE features and extensions support
-icon: https://code.visualstudio.com/favicon.ico
+icon: https://serverkit.ai/imgs/template-icons/code-server.ico
website: https://coder.com/code-server
documentation: https://coder.com/docs/code-server/latest
categories:
diff --git a/backend/templates/crowdsec.yaml b/backend/templates/crowdsec.yaml
index e265dad7..0a6890b5 100644
--- a/backend/templates/crowdsec.yaml
+++ b/backend/templates/crowdsec.yaml
@@ -2,7 +2,7 @@ id: crowdsec
name: CrowdSec
version: "1.6"
description: Collaborative security engine for detecting and blocking threats
-icon: https://www.crowdsec.net/wp-content/uploads/2022/01/logo-crowdsec.svg
+icon: https://serverkit.ai/imgs/template-icons/crowdsec.png
website: https://www.crowdsec.net
documentation: https://docs.crowdsec.net
categories:
diff --git a/backend/templates/directus.yaml b/backend/templates/directus.yaml
index ec1a9f23..b2954752 100644
--- a/backend/templates/directus.yaml
+++ b/backend/templates/directus.yaml
@@ -2,7 +2,7 @@ id: directus
name: Directus
version: "10.8"
description: Open-source data platform with instant REST and GraphQL API for any SQL database
-icon: https://directus.io/favicon.ico
+icon: https://serverkit.ai/imgs/template-icons/directus.ico
website: https://directus.io
documentation: https://docs.directus.io
categories:
diff --git a/backend/templates/drone.yaml b/backend/templates/drone.yaml
index 015738b1..4e3e9db1 100644
--- a/backend/templates/drone.yaml
+++ b/backend/templates/drone.yaml
@@ -2,7 +2,7 @@ id: drone
name: Drone CI
version: "2.22"
description: Container-native continuous integration platform with simple pipeline configuration
-icon: https://raw.githubusercontent.com/drone/brand/master/logos/vector/drone-logo-vector-dark.svg
+icon: https://serverkit.ai/imgs/template-icons/drone.svg
website: https://www.drone.io
documentation: https://docs.drone.io
categories:
diff --git a/backend/templates/duplicati.yaml b/backend/templates/duplicati.yaml
index 9368e6ae..e7b5cb09 100644
--- a/backend/templates/duplicati.yaml
+++ b/backend/templates/duplicati.yaml
@@ -2,7 +2,7 @@ id: duplicati
name: Duplicati
version: "2.0"
description: Free backup software to store encrypted backups online
-icon: https://www.duplicati.com/images/duplicati-logo.svg
+icon: https://serverkit.ai/imgs/template-icons/duplicati.png
website: https://www.duplicati.com
documentation: https://duplicati.readthedocs.io
categories:
diff --git a/backend/templates/excalidraw.yaml b/backend/templates/excalidraw.yaml
index 0c5dd9f3..fc27e1ad 100644
--- a/backend/templates/excalidraw.yaml
+++ b/backend/templates/excalidraw.yaml
@@ -2,7 +2,7 @@ id: excalidraw
name: Excalidraw
version: "0.17"
description: Virtual whiteboard for sketching hand-drawn like diagrams
-icon: https://excalidraw.com/apple-touch-icon.png
+icon: https://serverkit.ai/imgs/template-icons/excalidraw.png
website: https://excalidraw.com
documentation: https://github.com/excalidraw/excalidraw
categories:
diff --git a/backend/templates/filebrowser.yaml b/backend/templates/filebrowser.yaml
index fe0d7a62..e124f76d 100644
--- a/backend/templates/filebrowser.yaml
+++ b/backend/templates/filebrowser.yaml
@@ -2,7 +2,7 @@ id: filebrowser
name: File Browser
version: "2.27"
description: Web-based file manager with upload, download, and file sharing features
-icon: https://raw.githubusercontent.com/filebrowser/logo/master/icon.svg
+icon: https://serverkit.ai/imgs/template-icons/filebrowser.svg
website: https://filebrowser.org
documentation: https://filebrowser.org/
categories:
diff --git a/backend/templates/flask-hello-world.yaml b/backend/templates/flask-hello-world.yaml
index 9e3d7f3e..f098ca0a 100644
--- a/backend/templates/flask-hello-world.yaml
+++ b/backend/templates/flask-hello-world.yaml
@@ -2,7 +2,7 @@ id: flask-hello-world
name: Flask - Hello World
version: "1.0"
description: Simple Flask app for testing and debugging. Shows server info, port, and connection status. No database needed.
-icon: https://flask.palletsprojects.com/en/2.3.x/_images/flask-logo.png
+icon: https://serverkit.ai/imgs/template-icons/flask-hello-world.ico
website: https://flask.palletsprojects.com
documentation: https://flask.palletsprojects.com/en/2.3.x/quickstart/
categories:
diff --git a/backend/templates/ghost.yaml b/backend/templates/ghost.yaml
index b3d7a619..86d0e8d8 100644
--- a/backend/templates/ghost.yaml
+++ b/backend/templates/ghost.yaml
@@ -2,7 +2,7 @@ id: ghost
name: Ghost
version: "5.75"
description: Professional publishing platform for blogs and newsletters
-icon: /icons/ghost.png
+icon: https://serverkit.ai/imgs/template-icons/ghost.ico
categories:
- cms
- blog
diff --git a/backend/templates/gitea.yaml b/backend/templates/gitea.yaml
index d976fd46..3e220c15 100644
--- a/backend/templates/gitea.yaml
+++ b/backend/templates/gitea.yaml
@@ -2,7 +2,7 @@ id: gitea
name: Gitea
version: "1.21"
description: Lightweight self-hosted Git service
-icon: /icons/gitea.png
+icon: https://serverkit.ai/imgs/template-icons/gitea.svg
categories:
- devops
- git
diff --git a/backend/templates/gitlab-runner.yaml b/backend/templates/gitlab-runner.yaml
index abd5adc2..20d8f70d 100644
--- a/backend/templates/gitlab-runner.yaml
+++ b/backend/templates/gitlab-runner.yaml
@@ -2,7 +2,7 @@ id: gitlab-runner
name: GitLab Runner
version: "16.6"
description: Application that works with GitLab CI/CD to run jobs in a pipeline
-icon: https://about.gitlab.com/images/press/logo/png/gitlab-icon-rgb.png
+icon: https://serverkit.ai/imgs/template-icons/gitlab-runner.png
website: https://docs.gitlab.com/runner/
documentation: https://docs.gitlab.com/runner/
categories:
diff --git a/backend/templates/grafana.yaml b/backend/templates/grafana.yaml
index a436b5cb..5e07d678 100644
--- a/backend/templates/grafana.yaml
+++ b/backend/templates/grafana.yaml
@@ -2,7 +2,7 @@ id: grafana
name: Grafana
version: "10.2"
description: Open-source analytics and interactive visualization platform for metrics, logs, and traces
-icon: https://raw.githubusercontent.com/grafana/grafana/main/public/img/grafana_icon.svg
+icon: https://serverkit.ai/imgs/template-icons/grafana.svg
website: https://grafana.com
documentation: https://grafana.com/docs/grafana/latest/
categories:
diff --git a/backend/templates/grav.yaml b/backend/templates/grav.yaml
index b6b9cd4b..fa532eff 100644
--- a/backend/templates/grav.yaml
+++ b/backend/templates/grav.yaml
@@ -2,7 +2,7 @@ id: grav
name: Grav CMS
version: "1.7"
description: Modern flat-file CMS that is fast, simple, and flexible
-icon: https://getgrav.org/user/themes/flavor-flavor/images/favicon.png
+icon: https://serverkit.ai/imgs/template-icons/grav.png
website: https://getgrav.org
documentation: https://learn.getgrav.org
categories:
diff --git a/backend/templates/homeassistant.yaml b/backend/templates/homeassistant.yaml
index 1caf0f21..84d74235 100644
--- a/backend/templates/homeassistant.yaml
+++ b/backend/templates/homeassistant.yaml
@@ -2,7 +2,7 @@ id: homeassistant
name: Home Assistant
version: "2024.1"
description: Open-source home automation platform with focus on local control and privacy
-icon: https://www.home-assistant.io/images/favicon-192x192-full.png
+icon: https://serverkit.ai/imgs/template-icons/homeassistant.png
website: https://www.home-assistant.io
documentation: https://www.home-assistant.io/docs/
categories:
diff --git a/backend/templates/immich.yaml b/backend/templates/immich.yaml
index b6b257f0..15b5b33b 100644
--- a/backend/templates/immich.yaml
+++ b/backend/templates/immich.yaml
@@ -2,7 +2,7 @@ id: immich
name: Immich
version: "1.91"
description: High-performance self-hosted photo and video backup solution with mobile apps
-icon: https://immich.app/img/immich-logo.svg
+icon: https://serverkit.ai/imgs/template-icons/immich.svg
website: https://immich.app
documentation: https://immich.app/docs/overview/introduction
categories:
diff --git a/backend/templates/jaeger.yaml b/backend/templates/jaeger.yaml
index 44f074ba..ce1a465d 100644
--- a/backend/templates/jaeger.yaml
+++ b/backend/templates/jaeger.yaml
@@ -2,7 +2,7 @@ id: jaeger
name: Jaeger
version: "1.52"
description: Open-source distributed tracing system for monitoring and troubleshooting microservices
-icon: https://www.jaegertracing.io/img/jaeger-icon-color.png
+icon: https://serverkit.ai/imgs/template-icons/jaeger.png
website: https://www.jaegertracing.io
documentation: https://www.jaegertracing.io/docs/
categories:
diff --git a/backend/templates/jellyfin.yaml b/backend/templates/jellyfin.yaml
index 595d61cb..db8de56b 100644
--- a/backend/templates/jellyfin.yaml
+++ b/backend/templates/jellyfin.yaml
@@ -2,7 +2,7 @@ id: jellyfin
name: Jellyfin
version: "10.8"
description: Free and open-source media server for streaming movies, TV shows, music, and more
-icon: https://jellyfin.org/images/logo.svg
+icon: https://serverkit.ai/imgs/template-icons/jellyfin.svg
website: https://jellyfin.org
documentation: https://jellyfin.org/docs/
categories:
diff --git a/backend/templates/jenkins.yaml b/backend/templates/jenkins.yaml
index 8338df4d..93acba54 100644
--- a/backend/templates/jenkins.yaml
+++ b/backend/templates/jenkins.yaml
@@ -2,7 +2,7 @@ id: jenkins
name: Jenkins
version: "2.426"
description: Leading open-source automation server for building, deploying, and automating projects
-icon: https://www.jenkins.io/images/logos/jenkins/jenkins.svg
+icon: https://serverkit.ai/imgs/template-icons/jenkins.svg
website: https://www.jenkins.io
documentation: https://www.jenkins.io/doc/
categories:
diff --git a/backend/templates/jitsi.yaml b/backend/templates/jitsi.yaml
index c941304d..f8139089 100644
--- a/backend/templates/jitsi.yaml
+++ b/backend/templates/jitsi.yaml
@@ -2,7 +2,7 @@ id: jitsi
name: Jitsi Meet
version: "9111"
description: Secure, fully featured, and completely free video conferencing
-icon: https://jitsi.org/wp-content/uploads/2020/04/oie_ij7MkXQDMfUP.png
+icon: https://serverkit.ai/imgs/template-icons/jitsi.ico
website: https://jitsi.org
documentation: https://jitsi.github.io/handbook/
categories:
diff --git a/backend/templates/keycloak.yaml b/backend/templates/keycloak.yaml
index b8072ea0..642ca22a 100644
--- a/backend/templates/keycloak.yaml
+++ b/backend/templates/keycloak.yaml
@@ -2,7 +2,7 @@ id: keycloak
name: Keycloak
version: "23.0"
description: Open-source identity and access management for modern applications
-icon: https://www.keycloak.org/resources/images/logo.svg
+icon: https://serverkit.ai/imgs/template-icons/keycloak.svg
website: https://www.keycloak.org
documentation: https://www.keycloak.org/documentation
categories:
diff --git a/backend/templates/loki.yaml b/backend/templates/loki.yaml
index 1f8a8e1a..3bc4fcd5 100644
--- a/backend/templates/loki.yaml
+++ b/backend/templates/loki.yaml
@@ -2,7 +2,7 @@ id: loki
name: Grafana Loki
version: "2.9"
description: Horizontally scalable, highly available log aggregation system inspired by Prometheus
-icon: https://grafana.com/static/img/logos/logo-loki.svg
+icon: https://serverkit.ai/imgs/template-icons/loki.svg
website: https://grafana.com/oss/loki/
documentation: https://grafana.com/docs/loki/latest/
categories:
diff --git a/backend/templates/matrix-synapse.yaml b/backend/templates/matrix-synapse.yaml
index b1e31d75..4473d87e 100644
--- a/backend/templates/matrix-synapse.yaml
+++ b/backend/templates/matrix-synapse.yaml
@@ -2,7 +2,7 @@ id: matrix-synapse
name: Matrix Synapse
version: "1.98"
description: Decentralized communication server for secure, federated messaging
-icon: https://matrix.org/images/matrix-logo.svg
+icon: https://serverkit.ai/imgs/template-icons/matrix-synapse.svg
website: https://matrix.org
documentation: https://matrix-org.github.io/synapse/latest/
categories:
diff --git a/backend/templates/mattermost.yaml b/backend/templates/mattermost.yaml
index f2536e29..981ee389 100644
--- a/backend/templates/mattermost.yaml
+++ b/backend/templates/mattermost.yaml
@@ -2,7 +2,7 @@ id: mattermost
name: Mattermost
version: "9.2"
description: Open-source Slack alternative for secure team collaboration and messaging
-icon: https://mattermost.com/wp-content/uploads/2022/02/icon.svg
+icon: https://serverkit.ai/imgs/template-icons/mattermost.png
website: https://mattermost.com
documentation: https://docs.mattermost.com
categories:
diff --git a/backend/templates/minio.yaml b/backend/templates/minio.yaml
index f2fa2bcb..8b11a2b9 100644
--- a/backend/templates/minio.yaml
+++ b/backend/templates/minio.yaml
@@ -2,7 +2,7 @@ id: minio
name: MinIO
version: "2024-01"
description: High-performance, S3-compatible object storage for cloud-native applications
-icon: https://min.io/resources/img/logo/MINIO_wordmark.png
+icon: https://serverkit.ai/imgs/template-icons/minio.png
website: https://min.io
documentation: https://min.io/docs/minio/linux/index.html
categories:
diff --git a/backend/templates/mongo-express.yaml b/backend/templates/mongo-express.yaml
index e5e004bf..863e4673 100644
--- a/backend/templates/mongo-express.yaml
+++ b/backend/templates/mongo-express.yaml
@@ -2,7 +2,7 @@ id: mongo-express
name: Mongo Express
version: "1.0"
description: Web-based MongoDB admin interface for managing databases and collections
-icon: https://www.mongodb.com/assets/images/global/favicon.ico
+icon: https://serverkit.ai/imgs/template-icons/mongo-express.ico
website: https://github.com/mongo-express/mongo-express
documentation: https://github.com/mongo-express/mongo-express#readme
categories:
diff --git a/backend/templates/mosquitto.yaml b/backend/templates/mosquitto.yaml
index 05e4e2fb..e3337227 100644
--- a/backend/templates/mosquitto.yaml
+++ b/backend/templates/mosquitto.yaml
@@ -2,7 +2,7 @@ id: mosquitto
name: Eclipse Mosquitto
version: "2.0"
description: Lightweight MQTT message broker for IoT and home automation
-icon: https://mosquitto.org/images/mosquitto-logo-only.svg
+icon: https://serverkit.ai/imgs/template-icons/mosquitto.svg
website: https://mosquitto.org
documentation: https://mosquitto.org/documentation/
categories:
diff --git a/backend/templates/n8n.yaml b/backend/templates/n8n.yaml
index c163473a..b29aeec0 100644
--- a/backend/templates/n8n.yaml
+++ b/backend/templates/n8n.yaml
@@ -2,7 +2,7 @@ id: n8n
name: n8n
version: "1.22"
description: Extendable workflow automation tool for connecting apps and services
-icon: https://n8n.io/favicon.ico
+icon: https://serverkit.ai/imgs/template-icons/n8n.ico
website: https://n8n.io
documentation: https://docs.n8n.io
categories:
diff --git a/backend/templates/navidrome.yaml b/backend/templates/navidrome.yaml
index 4719a48c..6068380d 100644
--- a/backend/templates/navidrome.yaml
+++ b/backend/templates/navidrome.yaml
@@ -2,7 +2,7 @@ id: navidrome
name: Navidrome
version: "0.50"
description: Modern music server and streamer compatible with Subsonic/Airsonic
-icon: https://www.navidrome.org/logo.png
+icon: https://serverkit.ai/imgs/template-icons/navidrome.png
website: https://www.navidrome.org
documentation: https://www.navidrome.org/docs/
categories:
diff --git a/backend/templates/netdata.yaml b/backend/templates/netdata.yaml
index 767f18ea..d88de270 100644
--- a/backend/templates/netdata.yaml
+++ b/backend/templates/netdata.yaml
@@ -2,7 +2,7 @@ id: netdata
name: Netdata
version: "1.44"
description: Real-time performance and health monitoring for systems and applications
-icon: https://raw.githubusercontent.com/netdata/netdata/master/web/gui/static/img/netdata-logomark.svg
+icon: https://serverkit.ai/imgs/template-icons/netdata.ico
website: https://netdata.cloud
documentation: https://learn.netdata.cloud/docs/
categories:
diff --git a/backend/templates/nextcloud.yaml b/backend/templates/nextcloud.yaml
index fbf9a717..922f1fa5 100644
--- a/backend/templates/nextcloud.yaml
+++ b/backend/templates/nextcloud.yaml
@@ -2,7 +2,7 @@ id: nextcloud
name: Nextcloud
version: "28.0"
description: Self-hosted productivity platform with file sync and collaboration
-icon: /icons/nextcloud.png
+icon: https://serverkit.ai/imgs/template-icons/nextcloud.svg
categories:
- storage
- collaboration
diff --git a/backend/templates/nginx-proxy-manager.yaml b/backend/templates/nginx-proxy-manager.yaml
index a07e8185..8e2f074d 100644
--- a/backend/templates/nginx-proxy-manager.yaml
+++ b/backend/templates/nginx-proxy-manager.yaml
@@ -2,7 +2,7 @@ id: nginx-proxy-manager
name: Nginx Proxy Manager
version: "2.10"
description: Easy-to-use reverse proxy with SSL management
-icon: /icons/nginx-proxy-manager.png
+icon: https://serverkit.ai/imgs/template-icons/nginx-proxy-manager.png
categories:
- networking
- proxy
diff --git a/backend/templates/node-app.yaml b/backend/templates/node-app.yaml
index 6b2cbdea..1a659eec 100644
--- a/backend/templates/node-app.yaml
+++ b/backend/templates/node-app.yaml
@@ -2,7 +2,7 @@ id: node-app
name: Node.js Application
version: "20"
description: Custom Node.js application. Supports Node 18-21. Perfect for Express, Next.js, or any Node.js project.
-icon: https://nodejs.org/static/logos/nodejsLight.svg
+icon: https://serverkit.ai/imgs/template-icons/node-app.svg
website: https://nodejs.org
documentation: https://nodejs.org/docs/
categories:
diff --git a/backend/templates/nodered.yaml b/backend/templates/nodered.yaml
index 3d962f67..558cb0c4 100644
--- a/backend/templates/nodered.yaml
+++ b/backend/templates/nodered.yaml
@@ -2,7 +2,7 @@ id: nodered
name: Node-RED
version: "3.1"
description: Flow-based programming tool for wiring together hardware devices and APIs
-icon: https://nodered.org/about/resources/media/node-red-icon.svg
+icon: https://serverkit.ai/imgs/template-icons/nodered.svg
website: https://nodered.org
documentation: https://nodered.org/docs/
categories:
diff --git a/backend/templates/outline.yaml b/backend/templates/outline.yaml
index 6d3bdae1..03ed1b24 100644
--- a/backend/templates/outline.yaml
+++ b/backend/templates/outline.yaml
@@ -2,7 +2,7 @@ id: outline
name: Outline
version: "0.74"
description: Beautiful, real-time collaborative team wiki and knowledge base
-icon: https://www.getoutline.com/images/logo.svg
+icon: https://serverkit.ai/imgs/template-icons/outline.svg
website: https://www.getoutline.com
documentation: https://www.getoutline.com/developers
categories:
diff --git a/backend/templates/payload.yaml b/backend/templates/payload.yaml
index 02b1d0ec..d7bfbed7 100644
--- a/backend/templates/payload.yaml
+++ b/backend/templates/payload.yaml
@@ -2,7 +2,7 @@ id: payload
name: Payload CMS
version: "2.5"
description: Modern TypeScript headless CMS with powerful admin panel and customization
-icon: https://payloadcms.com/images/favicon.svg
+icon: https://serverkit.ai/imgs/template-icons/payload.svg
website: https://payloadcms.com
documentation: https://payloadcms.com/docs
categories:
diff --git a/backend/templates/pgadmin.yaml b/backend/templates/pgadmin.yaml
index 2bc065e4..d1a7bcfe 100644
--- a/backend/templates/pgadmin.yaml
+++ b/backend/templates/pgadmin.yaml
@@ -2,7 +2,7 @@ id: pgadmin
name: pgAdmin 4
version: "8.2"
description: Web-based PostgreSQL administration and development platform
-icon: https://www.pgadmin.org/static/COMPILED/assets/img/favicon.ico
+icon: https://serverkit.ai/imgs/template-icons/pgadmin.ico
website: https://www.pgadmin.org
documentation: https://www.pgadmin.org/docs/
categories:
diff --git a/backend/templates/photoprism.yaml b/backend/templates/photoprism.yaml
index a3a63762..9d911e87 100644
--- a/backend/templates/photoprism.yaml
+++ b/backend/templates/photoprism.yaml
@@ -2,7 +2,7 @@ id: photoprism
name: PhotoPrism
version: "231128"
description: AI-powered photo management application with face recognition and auto-tagging
-icon: https://photoprism.app/static/icons/logo.svg
+icon: https://serverkit.ai/imgs/template-icons/photoprism.svg
website: https://photoprism.app
documentation: https://docs.photoprism.app
categories:
diff --git a/backend/templates/php-app.yaml b/backend/templates/php-app.yaml
index d0078da1..580ba549 100644
--- a/backend/templates/php-app.yaml
+++ b/backend/templates/php-app.yaml
@@ -2,7 +2,7 @@ id: php-app
name: PHP Application
version: "8.3"
description: Custom PHP application with Apache. Supports PHP 8.0-8.3. Perfect for Laravel, WordPress themes, or any PHP project.
-icon: https://www.php.net/images/logos/new-php-logo.svg
+icon: https://serverkit.ai/imgs/template-icons/php-app.svg
website: https://www.php.net
documentation: https://www.php.net/docs.php
categories:
diff --git a/backend/templates/phpmyadmin.yaml b/backend/templates/phpmyadmin.yaml
index 01f721d0..72a6fdcb 100644
--- a/backend/templates/phpmyadmin.yaml
+++ b/backend/templates/phpmyadmin.yaml
@@ -2,7 +2,7 @@ id: phpmyadmin
name: phpMyAdmin
version: "5.2"
description: Web-based MySQL and MariaDB administration tool
-icon: https://www.phpmyadmin.net/static/images/logo.png
+icon: https://serverkit.ai/imgs/template-icons/phpmyadmin.png
website: https://www.phpmyadmin.net
documentation: https://docs.phpmyadmin.net
categories:
diff --git a/backend/templates/plausible.yaml b/backend/templates/plausible.yaml
index ea0d7fa7..6c6f2992 100644
--- a/backend/templates/plausible.yaml
+++ b/backend/templates/plausible.yaml
@@ -2,7 +2,7 @@ id: plausible
name: Plausible Analytics
version: "2.0"
description: Privacy-friendly, lightweight alternative to Google Analytics
-icon: https://plausible.io/images/icon/plausible_favicon.png
+icon: https://serverkit.ai/imgs/template-icons/plausible.ico
website: https://plausible.io
documentation: https://plausible.io/docs
categories:
diff --git a/backend/templates/plex.yaml b/backend/templates/plex.yaml
index 08ba7c90..707cd91a 100644
--- a/backend/templates/plex.yaml
+++ b/backend/templates/plex.yaml
@@ -2,7 +2,7 @@ id: plex
name: Plex Media Server
version: "1.32"
description: Organize and stream your personal media collection to any device
-icon: https://www.plex.tv/wp-content/uploads/2018/01/pmp-icon-1.png
+icon: https://serverkit.ai/imgs/template-icons/plex.png
website: https://www.plex.tv
documentation: https://support.plex.tv
categories:
diff --git a/backend/templates/portainer.yaml b/backend/templates/portainer.yaml
index feeef203..50fb9619 100644
--- a/backend/templates/portainer.yaml
+++ b/backend/templates/portainer.yaml
@@ -2,7 +2,7 @@ id: portainer
name: Portainer
version: "2.19"
description: Lightweight Docker management UI with container visualization
-icon: https://www.portainer.io/hubfs/portainer-logo-white.svg
+icon: https://serverkit.ai/imgs/template-icons/portainer.png
categories:
- devops
- docker
diff --git a/backend/templates/prometheus.yaml b/backend/templates/prometheus.yaml
index 8a98fee2..f6151cb9 100644
--- a/backend/templates/prometheus.yaml
+++ b/backend/templates/prometheus.yaml
@@ -2,7 +2,7 @@ id: prometheus
name: Prometheus
version: "2.48"
description: Open-source monitoring and alerting toolkit designed for reliability and scalability
-icon: https://raw.githubusercontent.com/prometheus/prometheus/main/documentation/images/prometheus-logo.svg
+icon: https://serverkit.ai/imgs/template-icons/prometheus.svg
website: https://prometheus.io
documentation: https://prometheus.io/docs/
categories:
diff --git a/backend/templates/python-app.yaml b/backend/templates/python-app.yaml
index 987372da..77e557c4 100644
--- a/backend/templates/python-app.yaml
+++ b/backend/templates/python-app.yaml
@@ -2,7 +2,7 @@ id: python-app
name: Python Application
version: "3.12"
description: Custom Python application. Supports Python 3.9-3.12. Perfect for Flask, FastAPI, Django, or any Python project.
-icon: https://www.python.org/static/community_logos/python-logo-generic.svg
+icon: https://serverkit.ai/imgs/template-icons/python-app.svg
website: https://www.python.org
documentation: https://docs.python.org/3/
categories:
diff --git a/backend/templates/redis-commander.yaml b/backend/templates/redis-commander.yaml
index c9c1371c..b063a639 100644
--- a/backend/templates/redis-commander.yaml
+++ b/backend/templates/redis-commander.yaml
@@ -2,7 +2,7 @@ id: redis-commander
name: Redis Commander
version: "0.8"
description: Web-based Redis management tool for viewing and editing data
-icon: https://redis.io/images/redis-white.png
+icon: https://serverkit.ai/imgs/template-icons/redis-commander.ico
website: https://github.com/joeferner/redis-commander
documentation: https://github.com/joeferner/redis-commander#readme
categories:
diff --git a/backend/templates/registry.yaml b/backend/templates/registry.yaml
index d499dbb7..5159836d 100644
--- a/backend/templates/registry.yaml
+++ b/backend/templates/registry.yaml
@@ -2,7 +2,7 @@ id: registry
name: Docker Registry
version: "2.8"
description: Private Docker container image registry for storing and distributing container images
-icon: https://www.docker.com/wp-content/uploads/2022/03/Moby-logo.png
+icon: https://serverkit.ai/imgs/template-icons/registry.png
website: https://docs.docker.com/registry/
documentation: https://docs.docker.com/registry/
categories:
diff --git a/backend/templates/rocketchat.yaml b/backend/templates/rocketchat.yaml
index f03a0c48..09653f43 100644
--- a/backend/templates/rocketchat.yaml
+++ b/backend/templates/rocketchat.yaml
@@ -2,7 +2,7 @@ id: rocketchat
name: Rocket.Chat
version: "6.5"
description: Open-source team communication platform with chat, video, and file sharing
-icon: https://rocket.chat/images/default/favicon.svg
+icon: https://serverkit.ai/imgs/template-icons/rocketchat.svg
website: https://rocket.chat
documentation: https://docs.rocket.chat
categories:
diff --git a/backend/templates/seafile.yaml b/backend/templates/seafile.yaml
index a94d1d63..685c6bb3 100644
--- a/backend/templates/seafile.yaml
+++ b/backend/templates/seafile.yaml
@@ -2,7 +2,7 @@ id: seafile
name: Seafile
version: "11.0"
description: Open-source file sync and share platform with built-in collaboration
-icon: https://www.seafile.com/media/img/seafile-logo.png
+icon: https://serverkit.ai/imgs/template-icons/seafile.png
website: https://www.seafile.com
documentation: https://manual.seafile.com
categories:
diff --git a/backend/templates/sonarqube.yaml b/backend/templates/sonarqube.yaml
index 921fa805..88d20c79 100644
--- a/backend/templates/sonarqube.yaml
+++ b/backend/templates/sonarqube.yaml
@@ -2,7 +2,7 @@ id: sonarqube
name: SonarQube
version: "10.3"
description: Continuous inspection of code quality and security vulnerabilities
-icon: https://www.sonarqube.org/logos/index/sonarqube-logo.svg
+icon: https://serverkit.ai/imgs/template-icons/sonarqube.ico
website: https://www.sonarqube.org
documentation: https://docs.sonarqube.org/latest/
categories:
diff --git a/backend/templates/strapi.yaml b/backend/templates/strapi.yaml
index 31725964..0c5b604a 100644
--- a/backend/templates/strapi.yaml
+++ b/backend/templates/strapi.yaml
@@ -2,7 +2,7 @@ id: strapi
name: Strapi
version: "4.15"
description: Open-source headless CMS with customizable API and admin panel
-icon: https://strapi.io/assets/strapi-logo-dark.svg
+icon: https://serverkit.ai/imgs/template-icons/strapi.svg
website: https://strapi.io
documentation: https://docs.strapi.io
categories:
diff --git a/backend/templates/syncthing.yaml b/backend/templates/syncthing.yaml
index dd8a1360..3c847353 100644
--- a/backend/templates/syncthing.yaml
+++ b/backend/templates/syncthing.yaml
@@ -2,7 +2,7 @@ id: syncthing
name: Syncthing
version: "1.27"
description: Continuous file synchronization for decentralized, peer-to-peer sync
-icon: https://syncthing.net/img/logo-horizontal.svg
+icon: https://serverkit.ai/imgs/template-icons/syncthing.svg
website: https://syncthing.net
documentation: https://docs.syncthing.net
categories:
diff --git a/backend/templates/traefik.yaml b/backend/templates/traefik.yaml
index 19e45899..69ffed90 100644
--- a/backend/templates/traefik.yaml
+++ b/backend/templates/traefik.yaml
@@ -2,7 +2,7 @@ id: traefik
name: Traefik
version: "3.0"
description: Modern HTTP reverse proxy and load balancer with automatic HTTPS
-icon: https://traefik.io/static/traefik-logo.svg
+icon: https://serverkit.ai/imgs/template-icons/traefik.png
website: https://traefik.io
documentation: https://doc.traefik.io/traefik/
categories:
diff --git a/backend/templates/umami.yaml b/backend/templates/umami.yaml
index fc1af611..96ed51cc 100644
--- a/backend/templates/umami.yaml
+++ b/backend/templates/umami.yaml
@@ -2,7 +2,7 @@ id: umami
name: Umami
version: "2.9"
description: Simple, fast, privacy-focused alternative to Google Analytics
-icon: https://umami.is/images/umami-logo.svg
+icon: https://serverkit.ai/imgs/template-icons/umami.ico
website: https://umami.is
documentation: https://umami.is/docs
categories:
diff --git a/backend/templates/uptime-kuma.yaml b/backend/templates/uptime-kuma.yaml
index 52f36f9a..d89e4762 100644
--- a/backend/templates/uptime-kuma.yaml
+++ b/backend/templates/uptime-kuma.yaml
@@ -2,7 +2,7 @@ id: uptime-kuma
name: Uptime Kuma
version: "1.23"
description: A fancy self-hosted monitoring tool for websites and services
-icon: https://uptime.kuma.pet/img/icon.svg
+icon: https://serverkit.ai/imgs/template-icons/uptime-kuma.svg
categories:
- monitoring
- devops
diff --git a/backend/templates/vault.yaml b/backend/templates/vault.yaml
index e57e9aaf..e0118887 100644
--- a/backend/templates/vault.yaml
+++ b/backend/templates/vault.yaml
@@ -2,7 +2,7 @@ id: vault
name: HashiCorp Vault
version: "1.15"
description: Secrets management and data protection platform for securing sensitive data
-icon: https://www.vaultproject.io/img/logo-hashicorp.svg
+icon: https://serverkit.ai/imgs/template-icons/vault.svg
website: https://www.vaultproject.io
documentation: https://developer.hashicorp.com/vault/docs
categories:
diff --git a/backend/templates/vaultwarden.yaml b/backend/templates/vaultwarden.yaml
index e49aae9f..92e0bd5a 100644
--- a/backend/templates/vaultwarden.yaml
+++ b/backend/templates/vaultwarden.yaml
@@ -2,7 +2,7 @@ id: vaultwarden
name: Vaultwarden
version: "1.30"
description: Lightweight Bitwarden-compatible password manager server
-icon: https://raw.githubusercontent.com/dani-garcia/vaultwarden/main/resources/vaultwarden-icon.svg
+icon: https://serverkit.ai/imgs/template-icons/vaultwarden.svg
website: https://github.com/dani-garcia/vaultwarden
documentation: https://github.com/dani-garcia/vaultwarden/wiki
categories:
diff --git a/backend/templates/wikijs.yaml b/backend/templates/wikijs.yaml
index 573f3152..5d7ef6bc 100644
--- a/backend/templates/wikijs.yaml
+++ b/backend/templates/wikijs.yaml
@@ -2,7 +2,7 @@ id: wikijs
name: Wiki.js
version: "2.5"
description: Modern and powerful wiki app built on Node.js
-icon: https://js.wiki/img/logo.svg
+icon: https://serverkit.ai/imgs/template-icons/wikijs.svg
website: https://js.wiki
documentation: https://docs.requarks.io
categories:
diff --git a/backend/templates/wordpress-external-db.yaml b/backend/templates/wordpress-external-db.yaml
index 5dcdc30b..72655604 100644
--- a/backend/templates/wordpress-external-db.yaml
+++ b/backend/templates/wordpress-external-db.yaml
@@ -2,7 +2,7 @@ id: wordpress-external-db
name: WordPress (External Database)
version: "6.4"
description: WordPress CMS connecting to an existing external MySQL database. Use this for dev/prod setups sharing the same database with different table prefixes.
-icon: https://s.w.org/style/images/about/WordPress-logotype-wmark.png
+icon: https://serverkit.ai/imgs/template-icons/wordpress-external-db.png
website: https://wordpress.org
documentation: https://wordpress.org/documentation/
categories:
diff --git a/backend/templates/wordpress.yaml b/backend/templates/wordpress.yaml
index 0d955ba3..ec5c1136 100644
--- a/backend/templates/wordpress.yaml
+++ b/backend/templates/wordpress.yaml
@@ -2,7 +2,7 @@ id: wordpress
name: WordPress
version: "6.4"
description: World's most popular content management system for blogs and websites
-icon: https://s.w.org/style/images/about/WordPress-logotype-wmark.png
+icon: https://serverkit.ai/imgs/template-icons/wordpress.png
website: https://wordpress.org
documentation: https://wordpress.org/documentation/
categories:
diff --git a/backend/templates/zigbee2mqtt.yaml b/backend/templates/zigbee2mqtt.yaml
index 574b0ddb..19a5db4f 100644
--- a/backend/templates/zigbee2mqtt.yaml
+++ b/backend/templates/zigbee2mqtt.yaml
@@ -2,7 +2,7 @@ id: zigbee2mqtt
name: Zigbee2MQTT
version: "1.35"
description: Bridge Zigbee devices to MQTT without proprietary bridges or gateways
-icon: https://www.zigbee2mqtt.io/logo.png
+icon: https://serverkit.ai/imgs/template-icons/zigbee2mqtt.png
website: https://www.zigbee2mqtt.io
documentation: https://www.zigbee2mqtt.io/guide/getting-started/
categories:
diff --git a/frontend/src/components/Sidebar.jsx b/frontend/src/components/Sidebar.jsx
index cd8611b3..dd93a743 100644
--- a/frontend/src/components/Sidebar.jsx
+++ b/frontend/src/components/Sidebar.jsx
@@ -1,12 +1,38 @@
-import React, { useState, useEffect } from 'react';
-import { NavLink } from 'react-router-dom';
+import React, { useState, useEffect, useRef } from 'react';
+import { NavLink, useNavigate } from 'react-router-dom';
import { useAuth } from '../contexts/AuthContext';
-import { Star } from 'lucide-react';
+import { useTheme } from '../contexts/ThemeContext';
+import { Star, Settings, LogOut, Sun, Moon, Monitor, ChevronRight, ChevronUp } from 'lucide-react';
+import { api } from '../services/api';
import ServerKitLogo from '../assets/ServerKitLogo.svg';
const Sidebar = () => {
const { user, logout } = useAuth();
+ const { theme, resolvedTheme, setTheme } = useTheme();
+ const navigate = useNavigate();
const [starAnimating, setStarAnimating] = useState(false);
+ const [menuOpen, setMenuOpen] = useState(false);
+ const [wpInstalled, setWpInstalled] = useState(false);
+ const menuRef = useRef(null);
+
+ // Close menu when clicking outside
+ useEffect(() => {
+ if (!menuOpen) return;
+ const handleClickOutside = (e) => {
+ if (menuRef.current && !menuRef.current.contains(e.target)) {
+ setMenuOpen(false);
+ }
+ };
+ document.addEventListener('mousedown', handleClickOutside);
+ return () => document.removeEventListener('mousedown', handleClickOutside);
+ }, [menuOpen]);
+
+ // Check if WordPress is installed
+ useEffect(() => {
+ api.getWordPressStatus()
+ .then(data => setWpInstalled(!!data?.installed))
+ .catch(() => setWpInstalled(false));
+ }, []);
useEffect(() => {
let playCount = 0;
@@ -118,12 +144,14 @@ const Sidebar = () => {
</svg>
WordPress
</NavLink>
- <NavLink to="/wordpress/projects" className={({ isActive }) => `nav-item nav-sub-item ${isActive ? 'active' : ''}`}>
- <svg className="nav-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor">
- <path d="M22 12h-4l-3 9L9 3l-3 9H2"/>
- </svg>
- Pipeline
- </NavLink>
+ {wpInstalled && (
+ <NavLink to="/wordpress/projects" className={({ isActive }) => `nav-item nav-sub-item ${isActive ? 'active' : ''}`}>
+ <svg className="nav-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor">
+ <path d="M22 12h-4l-3 9L9 3l-3 9H2"/>
+ </svg>
+ Pipeline
+ </NavLink>
+ )}
<NavLink to="/templates" className={({ isActive }) => `nav-item ${isActive ? 'active' : ''}`}>
<svg className="nav-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<rect x="3" y="3" width="7" height="9"/>
@@ -232,13 +260,6 @@ const Sidebar = () => {
</svg>
Terminal / Logs
</NavLink>
- <NavLink to="/settings" className={({ isActive }) => `nav-item ${isActive ? 'active' : ''}`}>
- <svg className="nav-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor">
- <circle cx="12" cy="12" r="3"/>
- <path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"/>
- </svg>
- Settings
- </NavLink>
<NavLink to="/downloads" className={({ isActive }) => `nav-item ${isActive ? 'active' : ''}`}>
<svg className="nav-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor">
<path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/>
@@ -250,8 +271,52 @@ const Sidebar = () => {
</nav>
</div>
- <div className="sidebar-footer">
- <div className="user-mini" onClick={logout} title="Click to logout">
+ <div className="sidebar-footer" ref={menuRef}>
+ {menuOpen && (
+ <div className="user-context-menu">
+ <div className="context-menu-section">
+ <div className="context-menu-label">Theme</div>
+ <div className="theme-switcher">
+ <button
+ className={`theme-btn ${theme === 'dark' ? 'active' : ''}`}
+ onClick={() => setTheme('dark')}
+ title="Dark"
+ >
+ <Moon size={14} />
+ </button>
+ <button
+ className={`theme-btn ${theme === 'light' ? 'active' : ''}`}
+ onClick={() => setTheme('light')}
+ title="Light"
+ >
+ <Sun size={14} />
+ </button>
+ <button
+ className={`theme-btn ${theme === 'system' ? 'active' : ''}`}
+ onClick={() => setTheme('system')}
+ title="System"
+ >
+ <Monitor size={14} />
+ </button>
+ </div>
+ </div>
+ <div className="context-menu-divider" />
+ <button
+ className="context-menu-item"
+ onClick={() => { navigate('/settings'); setMenuOpen(false); }}
+ >
+ <Settings size={15} />
+ Settings
+ <ChevronRight size={14} className="context-menu-arrow" />
+ </button>
+ <div className="context-menu-divider" />
+ <button className="context-menu-item danger" onClick={logout}>
+ <LogOut size={15} />
+ Log out
+ </button>
+ </div>
+ )}
+ <div className="user-mini" onClick={() => setMenuOpen(!menuOpen)}>
<div className="user-avatar">
{user?.username?.charAt(0).toUpperCase() || 'U'}
</div>
@@ -259,6 +324,7 @@ const Sidebar = () => {
<span className="user-handle">{user?.username || 'User'}</span>
<span className="user-status">Online</span>
</div>
+ <ChevronUp size={14} className={`user-menu-arrow ${menuOpen ? 'open' : ''}`} />
</div>
</div>
</aside>
diff --git a/frontend/src/styles/_theme-variables.less b/frontend/src/styles/_theme-variables.less
index a27a06e3..f852c377 100644
--- a/frontend/src/styles/_theme-variables.less
+++ b/frontend/src/styles/_theme-variables.less
@@ -39,6 +39,10 @@
--scrollbar-thumb: #3f3f46;
--scrollbar-thumb-hover: #52525b;
+ // Code / terminal
+ --bg-code: #1a1a2e;
+ --text-code: #e2e8f0;
+
// Grid pattern
--grid-color: rgba(255, 255, 255, 0.02);
}
@@ -77,6 +81,10 @@
--scrollbar-thumb: #cbd5e1;
--scrollbar-thumb-hover: #94a3b8;
+ // Code / terminal
+ --bg-code: #f1f5f9;
+ --text-code: #334155;
+
// Grid pattern (purple accent for visibility)
--grid-color: rgba(99, 102, 241, 0.06);
}
@@ -116,6 +124,10 @@
--scrollbar-thumb: #cbd5e1;
--scrollbar-thumb-hover: #94a3b8;
+ // Code / terminal
+ --bg-code: #f1f5f9;
+ --text-code: #334155;
+
// Grid pattern (purple accent for visibility)
--grid-color: rgba(99, 102, 241, 0.06);
}
diff --git a/frontend/src/styles/layout/_main-content.less b/frontend/src/styles/layout/_main-content.less
index 9729845a..7267c92e 100644
--- a/frontend/src/styles/layout/_main-content.less
+++ b/frontend/src/styles/layout/_main-content.less
@@ -52,6 +52,46 @@
gap: @space-3;
}
+// Page Header (shared base)
+.page-header {
+ display: flex;
+ justify-content: space-between;
+ align-items: flex-start;
+ margin-bottom: @space-6;
+ flex-wrap: wrap;
+ gap: @space-4;
+
+ .page-header-content {
+ h1 {
+ font-size: @font-size-2xl;
+ font-weight: @font-weight-semibold;
+ margin: 0 0 @space-1 0;
+ }
+
+ .page-description {
+ color: @text-secondary;
+ font-size: @font-size-sm;
+ margin: 0;
+ }
+ }
+
+ .page-header-actions {
+ display: flex;
+ gap: @space-2;
+ align-items: center;
+ flex-wrap: wrap;
+ }
+
+ @media (max-width: @breakpoint-md) {
+ flex-direction: column;
+ align-items: stretch;
+
+ .page-header-actions {
+ justify-content: flex-end;
+ }
+ }
+}
+
// Page placeholder
.page {
font-size: @font-size-2xl;
diff --git a/frontend/src/styles/layout/_sidebar.less b/frontend/src/styles/layout/_sidebar.less
index 403fef2e..99360580 100644
--- a/frontend/src/styles/layout/_sidebar.less
+++ b/frontend/src/styles/layout/_sidebar.less
@@ -465,6 +465,121 @@
margin-top: auto;
border-top: 1px solid @border-default;
flex-shrink: 0;
+ position: relative;
+}
+
+// User Context Menu
+.user-context-menu {
+ position: absolute;
+ bottom: calc(100% + 4px);
+ left: 0;
+ right: 0;
+ background: @bg-elevated;
+ border: 1px solid @border-subtle;
+ border-radius: @radius-lg;
+ box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.15);
+ padding: @space-1;
+ z-index: @z-tooltip;
+ animation: contextMenuIn 0.15s ease-out;
+}
+
+@keyframes contextMenuIn {
+ from {
+ opacity: 0;
+ transform: translateY(4px) scale(0.98);
+ }
+ to {
+ opacity: 1;
+ transform: translateY(0) scale(1);
+ }
+}
+
+.context-menu-section {
+ padding: 6px 8px;
+}
+
+.context-menu-label {
+ font-size: 0.65rem;
+ font-weight: @font-weight-semibold;
+ color: @text-secondary;
+ text-transform: uppercase;
+ letter-spacing: 0.06em;
+ margin-bottom: 6px;
+ opacity: 0.6;
+}
+
+.theme-switcher {
+ display: flex;
+ gap: 2px;
+ background: @bg-secondary;
+ border-radius: @radius-md;
+ padding: 2px;
+}
+
+.theme-btn {
+ flex: 1;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ padding: 6px 0;
+ border: none;
+ background: transparent;
+ color: @text-tertiary;
+ border-radius: @radius-sm;
+ cursor: pointer;
+ transition: all 0.15s ease;
+
+ &:hover {
+ color: @text-primary;
+ }
+
+ &.active {
+ background: @accent-glow;
+ color: @accent-primary;
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
+ }
+}
+
+.context-menu-divider {
+ height: 1px;
+ background: @border-subtle;
+ margin: @space-1 0;
+}
+
+.context-menu-item {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ width: 100%;
+ padding: 8px 10px;
+ border: none;
+ background: transparent;
+ color: @text-secondary;
+ font-size: 0.82rem;
+ font-weight: @font-weight-medium;
+ border-radius: @radius-md;
+ cursor: pointer;
+ transition: all 0.15s ease;
+ text-align: left;
+
+ &:hover {
+ background: rgba(255, 255, 255, 0.04);
+ color: @text-primary;
+ }
+
+ &.danger {
+ color: @danger;
+
+ &:hover {
+ background: rgba(239, 68, 68, 0.1);
+ color: @danger;
+ }
+ }
+}
+
+.context-menu-arrow {
+ margin-left: auto;
+ opacity: 0.4;
}
@@ -495,6 +610,22 @@
color: white;
}
+.user-menu-arrow {
+ margin-left: auto;
+ color: @text-tertiary;
+ opacity: 0.5;
+ transition: transform 0.2s ease, opacity 0.2s ease;
+
+ &.open {
+ opacity: 1;
+ transform: rotate(180deg);
+ }
+}
+
+.user-mini:hover .user-menu-arrow {
+ opacity: 0.8;
+}
+
.user-meta {
display: flex;
flex-direction: column;
diff --git a/frontend/src/styles/pages/_terminal.less b/frontend/src/styles/pages/_terminal.less
index ecc10a40..9e52c332 100644
--- a/frontend/src/styles/pages/_terminal.less
+++ b/frontend/src/styles/pages/_terminal.less
@@ -246,14 +246,14 @@
flex: 1;
overflow: auto;
padding: @space-4;
- background: #1a1a2e;
+ background: var(--bg-code);
pre {
margin: 0;
font-family: 'JetBrains Mono', 'Fira Code', monospace;
font-size: 12px;
line-height: 1.6;
- color: #e2e8f0;
+ color: var(--text-code);
white-space: pre-wrap;
word-break: break-all;
}
@@ -359,7 +359,7 @@
.journal-viewer {
flex: 1;
- background: #1a1a2e;
+ background: var(--bg-code);
border-radius: @radius-lg;
overflow: auto;
padding: @space-4;
@@ -369,7 +369,7 @@
font-family: 'JetBrains Mono', 'Fira Code', monospace;
font-size: 12px;
line-height: 1.6;
- color: #e2e8f0;
+ color: var(--text-code);
white-space: pre-wrap;
word-break: break-all;
}
@@ -685,7 +685,7 @@
.modal-log-viewer {
max-height: 500px;
overflow: auto;
- background: #1a1a2e;
+ background: var(--bg-code);
border-radius: @radius-md;
padding: @space-4;
@@ -694,7 +694,7 @@
font-family: 'JetBrains Mono', monospace;
font-size: 12px;
line-height: 1.6;
- color: #e2e8f0;
+ color: var(--text-code);
white-space: pre-wrap;
word-break: break-all;
}