homepage
This commit is contained in:
27
extras/homepage-widget.yaml
Normal file
27
extras/homepage-widget.yaml
Normal file
@@ -0,0 +1,27 @@
|
||||
# Paste this into /opt/homepage/config/services.yaml as a new entry.
|
||||
#
|
||||
# Replace {{ SNOTES_URL }} with where snotes is reachable, e.g.
|
||||
# http://192.168.1.45:8019 (host mapped port)
|
||||
|
||||
- Snotes:
|
||||
icon: snotes-main.png
|
||||
href: "{{ SNOTES_URL }}"
|
||||
description: Markdown notes
|
||||
widget:
|
||||
type: customapi
|
||||
url: "{{ SNOTES_URL }}/api/homepage"
|
||||
refreshInterval: 60000
|
||||
display: block
|
||||
mappings:
|
||||
- field: total_notes
|
||||
label: Notes
|
||||
format: number
|
||||
- field: attachments
|
||||
label: Attachments
|
||||
format: number
|
||||
- field: actions
|
||||
label: Actions
|
||||
format: number
|
||||
- field: users
|
||||
label: Users
|
||||
format: number
|
||||
Reference in New Issue
Block a user