m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-14 16:13:48 -05:00

docs: update example homepage widget to conform to latest config spec

Co-authored-by: Valdr687 <106614142+Valdr687@users.noreply.github.com>
This commit is contained in:
Sergio
2025-08-29 17:42:56 +03:00
committed by GitHub
parent c351a38642
commit b0d0a02182

View File

@@ -55,24 +55,20 @@ widget:
refreshInterval: 10000
method: GET
mappings:
- field:
metrics: monitored_images
- field: metrics.monitored_images
label: Monitored images
format: number
- field:
metrics: up_to_date
- field: metrics.up_to_date
label: Up to date
format: number
- field:
metrics: updates_available
- field: metrics.updates_available
label: Available updates
format: number
- field:
metrics: unknown
- field: metrics.unknown
label: Unknown
format: number
```
Preview:
<Image src={widget2} />
Credit: [@remussamoila](https://github.com/remussamoila)
Credit: [@remussamoila](https://github.com/remussamoila) and [@Valdr687](https://github.com/Valdr687)