feat: filter css admin buttons

This commit is contained in:
ange 2024-05-16 01:29:20 +02:00
parent 40a0c0729f
commit a6ef74702d
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
7 changed files with 15 additions and 8 deletions

View File

@ -1,9 +1,10 @@
---
services:
element:
homepage:
image: "$IMAGEAPP"
restart: unless-stopped
ports:
- "8080:80"
- "8080:3000"
volumes:
- ./config.json:/app/config.json:ro
- ./config/:/app/config/
- /var/run/docker.sock:/var/run/docker.sock:ro

View File

@ -0,0 +1,7 @@
#revalidate {
display: none;
}
div.k8s-status {
display: none;
}

View File

View File

@ -2,12 +2,14 @@
# https://gethomepage.dev/latest/configs/settings
instanceName: "$INSTANCE_NAME"
headerStyle: clean
target: _self
hideErrors: true
layout:
Kubernetes:
header: false
style: row
columns: 4
quicklaunch:
searchDescriptions: true

View File

@ -5,4 +5,5 @@
provider: custom
url: https://searx.gmoker.com/search?q=
suggestionUrl: https://searx.gmoker.com/autocompleter?q=
showSearchSuggestions: true
target: _self

View File

@ -33,7 +33,6 @@ function kgcmkey() {
kcreatecm homepage \
--from-file=bookmarks.yaml=<(envsubst "$(env | xargs printf '$%s ')" < config/bookmarks.yaml) \
--from-file=custom.css=<(envsubst "$(env | xargs printf '$%s ')" < config/custom.css) \
--from-file=custom.js=<(envsubst "$(env | xargs printf '$%s ')" < config/custom.js) \
--from-file=kubernetes.yaml=<(envsubst "$(env | xargs printf '$%s ')" < config/kubernetes.yaml) \
--from-file=services.yaml=<(envsubst "$(env | xargs printf '$%s ')" < config/services.yaml) \
--from-file=settings.yaml=<(envsubst "$(env | xargs printf '$%s ')" < config/settings.yaml) \

View File

@ -72,9 +72,6 @@ spec:
- name: config
mountPath: /app/config/custom.css
subPath: custom.css
- name: config
mountPath: /app/config/custom.js
subPath: custom.js
- name: config
mountPath: /app/config/kubernetes.yaml
subPath: kubernetes.yaml