From 97635cc9dab413f3628c303d298333e5544a9f17 Mon Sep 17 00:00:00 2001 From: Aydent Date: Wed, 19 Mar 2025 16:10:23 +0100 Subject: [PATCH] ajout assets --- config/glance.yml | 22 ++--- config/home.yml | 230 +++++++++++++++++++++++----------------------- 2 files changed, 126 insertions(+), 126 deletions(-) diff --git a/config/glance.yml b/config/glance.yml index 5bcc02e..8180a75 100644 --- a/config/glance.yml +++ b/config/glance.yml @@ -1,12 +1,12 @@ -server: - assets-path: /app/assets - -theme: - # Note: assets are cached by the browser, changes to the CSS file - # will not be reflected until the browser cache is cleared (Ctrl+F5) - custom-css-file: /assets/user.css - -pages: - # It's not necessary to create a new file for each page and include it, you can simply - # put its contents here, though multiple pages are easier to manage when separated +server: + assets-path: /app/assets + +theme: + # Note: assets are cached by the browser, changes to the CSS file + # will not be reflected until the browser cache is cleared (Ctrl+F5) + custom-css-file: /assets/user.css + +pages: + # It's not necessary to create a new file for each page and include it, you can simply + # put its contents here, though multiple pages are easier to manage when separated !include: home.yml \ No newline at end of file diff --git a/config/home.yml b/config/home.yml index 853e5d6..7c89d61 100644 --- a/config/home.yml +++ b/config/home.yml @@ -1,116 +1,116 @@ -- name: Home - # Optionally, if you only have a single page you can hide the desktop navigation for a cleaner look - # hide-desktop-navigation: true - columns: - - size: small - widgets: - - type: calendar - first-day-of-week: monday - - - type: custom-api - title: Steam Specials - cache: 12h - url: https://store.steampowered.com/api/featuredcategories?cc=us - template: | - - - - type: twitch-channels - channels: - - wipr - - mlle_sunny - - exalts_fr - - mistermv - - chat_ - - aleksrakkoon - - terael_png - - - size: full - widgets: - - type: group - widgets: - - type: hacker-news - - type: lobsters - - - type: videos - channels: - - UCF9oGfFKmmUw7WmSjKyt2BQ # Wipr - - UCCMxHHciWRBBouzk-PGzmtQ # Bazar du grenier - - UCWedHS9qKebauVIK2J7383g # Underscore - - UCrt_PUTF9LdJyuDfXweHwuQ # Plouf - - UCOoEpLtkM4eFpToj7wXnykg # Ysos - - UCOaAb5oXQ9x2hSmINrffWBQ # FDB - - - type: server-stats - servers: - - type: local - name: Services - - - size: small - widgets: - - type: weather - location: Apt, France - units: metric # alternatively "imperial" - hour-format: 12h # alternatively "24h" - # Optionally hide the location from being displayed in the widget - # hide-location: true - - - type: monitor - cache: 1m - title: Services - sites: - - title: Portainer - url: https://docker.lemarechal.eu/ - icon: /assets/pdfportainer.svg - - title: Gitea - url: https://gitea.lemarechal.eu/ - icon: /assets/gitea-logo.svg - - title: Komga - url: https://komga.lemarechal.eu/ - icon: /assets/manga.png - - title: Whiteboard - url: https://whiteboard.lemarechal.eu/ - icon: /assets/excalidraw.svg - - title: pdf - url: https://pdf.lemarechal.eu/ - icon: /assets/pdf.svg - - title: n8n - url: https://n8n.lemarechal.eu/ - icon: /assets/n8n.svg - - title: qr - url: https://qr.lemarechal.eu/ - icon: /assets/qr.lemarechal.eu.png - - - type: markets - markets: - - symbol: QVDE - name: S&P 500 - - symbol: KO - name: CocaCola - - symbol: NVDA - name: NVIDIA - - symbol: UBI - name: Ubisoft - - symbol: MBG - name: Mercedes - - - type: releases - cache: 1d - # Without authentication the Github API allows for up to 60 requests per hour. You can create a - # read-only token from your Github account settings and use it here to increase the limit. - # token: ... - repositories: - - glanceapp/glance - - go-gitea/gitea - - portainer/portainer +- name: Home + # Optionally, if you only have a single page you can hide the desktop navigation for a cleaner look + # hide-desktop-navigation: true + columns: + - size: small + widgets: + - type: calendar + first-day-of-week: monday + + - type: custom-api + title: Steam Specials + cache: 12h + url: https://store.steampowered.com/api/featuredcategories?cc=us + template: | + + + - type: twitch-channels + channels: + - wipr + - mlle_sunny + - exalts_fr + - mistermv + - chat_ + - aleksrakkoon + - terael_png + + - size: full + widgets: + - type: group + widgets: + - type: hacker-news + - type: lobsters + + - type: videos + channels: + - UCF9oGfFKmmUw7WmSjKyt2BQ # Wipr + - UCCMxHHciWRBBouzk-PGzmtQ # Bazar du grenier + - UCWedHS9qKebauVIK2J7383g # Underscore + - UCrt_PUTF9LdJyuDfXweHwuQ # Plouf + - UCOoEpLtkM4eFpToj7wXnykg # Ysos + - UCOaAb5oXQ9x2hSmINrffWBQ # FDB + + - type: server-stats + servers: + - type: local + name: Services + + - size: small + widgets: + - type: weather + location: Apt, France + units: metric # alternatively "imperial" + hour-format: 12h # alternatively "24h" + # Optionally hide the location from being displayed in the widget + # hide-location: true + + - type: monitor + cache: 1m + title: Services + sites: + - title: Portainer + url: https://docker.lemarechal.eu/ + icon: /assets/pdfportainer.svg + - title: Gitea + url: https://gitea.lemarechal.eu/ + icon: /assets/gitea-logo.svg + - title: Komga + url: https://komga.lemarechal.eu/ + icon: /assets/manga.png + - title: Whiteboard + url: https://whiteboard.lemarechal.eu/ + icon: /assets/excalidraw.svg + - title: pdf + url: https://pdf.lemarechal.eu/ + icon: /assets/pdf.svg + - title: n8n + url: https://n8n.lemarechal.eu/ + icon: /assets/n8n.svg + - title: qr + url: https://qr.lemarechal.eu/ + icon: /assets/qr.lemarechal.eu.png + + - type: markets + markets: + - symbol: QVDE + name: S&P 500 + - symbol: KO + name: CocaCola + - symbol: NVDA + name: NVIDIA + - symbol: UBI + name: Ubisoft + - symbol: MBG + name: Mercedes + + - type: releases + cache: 1d + # Without authentication the Github API allows for up to 60 requests per hour. You can create a + # read-only token from your Github account settings and use it here to increase the limit. + # token: ... + repositories: + - glanceapp/glance + - go-gitea/gitea + - portainer/portainer - n8n-io/n8n \ No newline at end of file