ajout assets
This commit is contained in:
@ -1,12 +1,12 @@
|
|||||||
server:
|
server:
|
||||||
assets-path: /app/assets
|
assets-path: /app/assets
|
||||||
|
|
||||||
theme:
|
theme:
|
||||||
# Note: assets are cached by the browser, changes to the CSS file
|
# Note: assets are cached by the browser, changes to the CSS file
|
||||||
# will not be reflected until the browser cache is cleared (Ctrl+F5)
|
# will not be reflected until the browser cache is cleared (Ctrl+F5)
|
||||||
custom-css-file: /assets/user.css
|
custom-css-file: /assets/user.css
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
# It's not necessary to create a new file for each page and include it, you can simply
|
# 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
|
# put its contents here, though multiple pages are easier to manage when separated
|
||||||
!include: home.yml
|
!include: home.yml
|
||||||
230
config/home.yml
230
config/home.yml
@ -1,116 +1,116 @@
|
|||||||
- name: Home
|
- name: Home
|
||||||
# Optionally, if you only have a single page you can hide the desktop navigation for a cleaner look
|
# Optionally, if you only have a single page you can hide the desktop navigation for a cleaner look
|
||||||
# hide-desktop-navigation: true
|
# hide-desktop-navigation: true
|
||||||
columns:
|
columns:
|
||||||
- size: small
|
- size: small
|
||||||
widgets:
|
widgets:
|
||||||
- type: calendar
|
- type: calendar
|
||||||
first-day-of-week: monday
|
first-day-of-week: monday
|
||||||
|
|
||||||
- type: custom-api
|
- type: custom-api
|
||||||
title: Steam Specials
|
title: Steam Specials
|
||||||
cache: 12h
|
cache: 12h
|
||||||
url: https://store.steampowered.com/api/featuredcategories?cc=us
|
url: https://store.steampowered.com/api/featuredcategories?cc=us
|
||||||
template: |
|
template: |
|
||||||
<ul class="list list-gap-10 collapsible-container" data-collapse-after="5">
|
<ul class="list list-gap-10 collapsible-container" data-collapse-after="5">
|
||||||
{{ range .JSON.Array "specials.items" }}
|
{{ range .JSON.Array "specials.items" }}
|
||||||
<li>
|
<li>
|
||||||
<a class="size-h4 color-highlight block text-truncate" href="https://store.steampowered.com/app/{{ .Int "id" }}/">{{ .String "name" }}</a>
|
<a class="size-h4 color-highlight block text-truncate" href="https://store.steampowered.com/app/{{ .Int "id" }}/">{{ .String "name" }}</a>
|
||||||
<ul class="list-horizontal-text">
|
<ul class="list-horizontal-text">
|
||||||
<li>{{ div (.Int "final_price" | toFloat) 100 | printf "$%.2f" }}</li>
|
<li>{{ div (.Int "final_price" | toFloat) 100 | printf "$%.2f" }}</li>
|
||||||
{{ $discount := .Int "discount_percent" }}
|
{{ $discount := .Int "discount_percent" }}
|
||||||
<li{{ if ge $discount 40 }} class="color-positive"{{ end }}>{{ $discount }}% off</li>
|
<li{{ if ge $discount 40 }} class="color-positive"{{ end }}>{{ $discount }}% off</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
- type: twitch-channels
|
- type: twitch-channels
|
||||||
channels:
|
channels:
|
||||||
- wipr
|
- wipr
|
||||||
- mlle_sunny
|
- mlle_sunny
|
||||||
- exalts_fr
|
- exalts_fr
|
||||||
- mistermv
|
- mistermv
|
||||||
- chat_
|
- chat_
|
||||||
- aleksrakkoon
|
- aleksrakkoon
|
||||||
- terael_png
|
- terael_png
|
||||||
|
|
||||||
- size: full
|
- size: full
|
||||||
widgets:
|
widgets:
|
||||||
- type: group
|
- type: group
|
||||||
widgets:
|
widgets:
|
||||||
- type: hacker-news
|
- type: hacker-news
|
||||||
- type: lobsters
|
- type: lobsters
|
||||||
|
|
||||||
- type: videos
|
- type: videos
|
||||||
channels:
|
channels:
|
||||||
- UCF9oGfFKmmUw7WmSjKyt2BQ # Wipr
|
- UCF9oGfFKmmUw7WmSjKyt2BQ # Wipr
|
||||||
- UCCMxHHciWRBBouzk-PGzmtQ # Bazar du grenier
|
- UCCMxHHciWRBBouzk-PGzmtQ # Bazar du grenier
|
||||||
- UCWedHS9qKebauVIK2J7383g # Underscore
|
- UCWedHS9qKebauVIK2J7383g # Underscore
|
||||||
- UCrt_PUTF9LdJyuDfXweHwuQ # Plouf
|
- UCrt_PUTF9LdJyuDfXweHwuQ # Plouf
|
||||||
- UCOoEpLtkM4eFpToj7wXnykg # Ysos
|
- UCOoEpLtkM4eFpToj7wXnykg # Ysos
|
||||||
- UCOaAb5oXQ9x2hSmINrffWBQ # FDB
|
- UCOaAb5oXQ9x2hSmINrffWBQ # FDB
|
||||||
|
|
||||||
- type: server-stats
|
- type: server-stats
|
||||||
servers:
|
servers:
|
||||||
- type: local
|
- type: local
|
||||||
name: Services
|
name: Services
|
||||||
|
|
||||||
- size: small
|
- size: small
|
||||||
widgets:
|
widgets:
|
||||||
- type: weather
|
- type: weather
|
||||||
location: Apt, France
|
location: Apt, France
|
||||||
units: metric # alternatively "imperial"
|
units: metric # alternatively "imperial"
|
||||||
hour-format: 12h # alternatively "24h"
|
hour-format: 12h # alternatively "24h"
|
||||||
# Optionally hide the location from being displayed in the widget
|
# Optionally hide the location from being displayed in the widget
|
||||||
# hide-location: true
|
# hide-location: true
|
||||||
|
|
||||||
- type: monitor
|
- type: monitor
|
||||||
cache: 1m
|
cache: 1m
|
||||||
title: Services
|
title: Services
|
||||||
sites:
|
sites:
|
||||||
- title: Portainer
|
- title: Portainer
|
||||||
url: https://docker.lemarechal.eu/
|
url: https://docker.lemarechal.eu/
|
||||||
icon: /assets/pdfportainer.svg
|
icon: /assets/pdfportainer.svg
|
||||||
- title: Gitea
|
- title: Gitea
|
||||||
url: https://gitea.lemarechal.eu/
|
url: https://gitea.lemarechal.eu/
|
||||||
icon: /assets/gitea-logo.svg
|
icon: /assets/gitea-logo.svg
|
||||||
- title: Komga
|
- title: Komga
|
||||||
url: https://komga.lemarechal.eu/
|
url: https://komga.lemarechal.eu/
|
||||||
icon: /assets/manga.png
|
icon: /assets/manga.png
|
||||||
- title: Whiteboard
|
- title: Whiteboard
|
||||||
url: https://whiteboard.lemarechal.eu/
|
url: https://whiteboard.lemarechal.eu/
|
||||||
icon: /assets/excalidraw.svg
|
icon: /assets/excalidraw.svg
|
||||||
- title: pdf
|
- title: pdf
|
||||||
url: https://pdf.lemarechal.eu/
|
url: https://pdf.lemarechal.eu/
|
||||||
icon: /assets/pdf.svg
|
icon: /assets/pdf.svg
|
||||||
- title: n8n
|
- title: n8n
|
||||||
url: https://n8n.lemarechal.eu/
|
url: https://n8n.lemarechal.eu/
|
||||||
icon: /assets/n8n.svg
|
icon: /assets/n8n.svg
|
||||||
- title: qr
|
- title: qr
|
||||||
url: https://qr.lemarechal.eu/
|
url: https://qr.lemarechal.eu/
|
||||||
icon: /assets/qr.lemarechal.eu.png
|
icon: /assets/qr.lemarechal.eu.png
|
||||||
|
|
||||||
- type: markets
|
- type: markets
|
||||||
markets:
|
markets:
|
||||||
- symbol: QVDE
|
- symbol: QVDE
|
||||||
name: S&P 500
|
name: S&P 500
|
||||||
- symbol: KO
|
- symbol: KO
|
||||||
name: CocaCola
|
name: CocaCola
|
||||||
- symbol: NVDA
|
- symbol: NVDA
|
||||||
name: NVIDIA
|
name: NVIDIA
|
||||||
- symbol: UBI
|
- symbol: UBI
|
||||||
name: Ubisoft
|
name: Ubisoft
|
||||||
- symbol: MBG
|
- symbol: MBG
|
||||||
name: Mercedes
|
name: Mercedes
|
||||||
|
|
||||||
- type: releases
|
- type: releases
|
||||||
cache: 1d
|
cache: 1d
|
||||||
# Without authentication the Github API allows for up to 60 requests per hour. You can create a
|
# 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.
|
# read-only token from your Github account settings and use it here to increase the limit.
|
||||||
# token: ...
|
# token: ...
|
||||||
repositories:
|
repositories:
|
||||||
- glanceapp/glance
|
- glanceapp/glance
|
||||||
- go-gitea/gitea
|
- go-gitea/gitea
|
||||||
- portainer/portainer
|
- portainer/portainer
|
||||||
- n8n-io/n8n
|
- n8n-io/n8n
|
||||||
Reference in New Issue
Block a user