mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-27 07:34:43 +02:00
Auto Publish new pages
parent
827b32f47e
commit
cfcda844f0
@ -55,13 +55,25 @@ With authentication set up, by default no access is allowed to your dashboard wi
|
|||||||
|
|
||||||
### Granular Access
|
### Granular Access
|
||||||
|
|
||||||
You can use the following properties to make certain sections or items only visible to some users, or hide sections and items from guests.
|
You can use the following properties to make certain pages, sections or items only visible to some users, or hide pages, sections and items from guests.
|
||||||
|
|
||||||
- `hideForUsers` - Section or Item will be visible to all users, except for those specified in this list
|
- `hideForUsers` - Page, Section or Item will be visible to all users, except for those specified in this list
|
||||||
- `showForUsers` - Section or Item will be hidden from all users, except for those specified in this list
|
- `showForUsers` - Page, Section or Item will be hidden from all users, except for those specified in this list
|
||||||
- `hideForGuests` - Section or Item will be visible for logged in users, but not for guests
|
- `hideForGuests` - Page, Section or Item will be visible for logged in users, but not for guests
|
||||||
|
|
||||||
For Example:
|
For Example:
|
||||||
|
```yaml
|
||||||
|
pages:
|
||||||
|
- name: Home Lab
|
||||||
|
path: home-lab.yml
|
||||||
|
displayData:
|
||||||
|
showForUsers: [admin]
|
||||||
|
- name: Intranet
|
||||||
|
path: intranet.yml
|
||||||
|
displayData:
|
||||||
|
hideForGuests: true
|
||||||
|
hideForUsers: [alicia, bob]
|
||||||
|
```
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- name: Code Analysis & Monitoring
|
- name: Code Analysis & Monitoring
|
||||||
|
115
credits.md
115
credits.md
@ -27,7 +27,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/AnandChowdhary">
|
<a href="https://github.com/AnandChowdhary">
|
||||||
<img src="https://avatars.githubusercontent.com/u/2841780?u=ca8e292b15abcc6cddaeae0abded0115c51b4789&v=4" width="80;" alt="AnandChowdhary"/>
|
<img src="https://avatars.githubusercontent.com/u/2841780?u=2d606fd66dbb1e7a102d54b4c90f078760de6674&v=4" width="80;" alt="AnandChowdhary"/>
|
||||||
<br />
|
<br />
|
||||||
<sub><b>Anand Chowdhary</b></sub>
|
<sub><b>Anand Chowdhary</b></sub>
|
||||||
</a>
|
</a>
|
||||||
@ -82,21 +82,14 @@
|
|||||||
<sub><b>Vlad Timofeev</b></sub>
|
<sub><b>Vlad Timofeev</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td align="center">
|
|
||||||
<a href="https://github.com/DRXAquosus">
|
|
||||||
<img src="https://avatars.githubusercontent.com/u/45409262?v=4" width="80;" alt="DRXAquosus"/>
|
|
||||||
<br />
|
|
||||||
<sub><b>Null</b></sub>
|
|
||||||
</a>
|
|
||||||
</td></tr>
|
|
||||||
<tr>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/Bastii717">
|
<a href="https://github.com/Bastii717">
|
||||||
<img src="https://avatars.githubusercontent.com/u/53431819?u=604977bed6ad6875ada890d0d3765a4cacc2fa14&v=4" width="80;" alt="Bastii717"/>
|
<img src="https://avatars.githubusercontent.com/u/53431819?u=604977bed6ad6875ada890d0d3765a4cacc2fa14&v=4" width="80;" alt="Bastii717"/>
|
||||||
<br />
|
<br />
|
||||||
<sub><b>Null</b></sub>
|
<sub><b>Null</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td></tr>
|
||||||
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/ratty222">
|
<a href="https://github.com/ratty222">
|
||||||
<img src="https://avatars.githubusercontent.com/u/92832598?u=137b65530cbd5f5af9c24cde51baa6cc77cc934b&v=4" width="80;" alt="ratty222"/>
|
<img src="https://avatars.githubusercontent.com/u/92832598?u=137b65530cbd5f5af9c24cde51baa6cc77cc934b&v=4" width="80;" alt="ratty222"/>
|
||||||
@ -106,7 +99,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/CrossPatch9000">
|
<a href="https://github.com/CrossPatch9000">
|
||||||
<img src="https://avatars.githubusercontent.com/u/150388639?v=4" width="80;" alt="CrossPatch9000"/>
|
<img src="https://avatars.githubusercontent.com/u/150388639?u=2de7d52e66299307a2d8f863f81b5f493b068e4c&v=4" width="80;" alt="CrossPatch9000"/>
|
||||||
<br />
|
<br />
|
||||||
<sub><b>Null</b></sub>
|
<sub><b>Null</b></sub>
|
||||||
</a>
|
</a>
|
||||||
@ -426,6 +419,13 @@
|
|||||||
<sub><b>Null</b></sub>
|
<sub><b>Null</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
<td align="center">
|
||||||
|
<a href="https://github.com/mmihaly">
|
||||||
|
<img src="https://avatars.githubusercontent.com/u/50031464?v=4" width="80;" alt="mmihaly"/>
|
||||||
|
<br />
|
||||||
|
<sub><b>Null</b></sub>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/patrickheeney">
|
<a href="https://github.com/patrickheeney">
|
||||||
<img src="https://avatars.githubusercontent.com/u/1407228?v=4" width="80;" alt="patrickheeney"/>
|
<img src="https://avatars.githubusercontent.com/u/1407228?v=4" width="80;" alt="patrickheeney"/>
|
||||||
@ -453,15 +453,22 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Null</b></sub>
|
<sub><b>Null</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td></tr>
|
||||||
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/0n1cOn3">
|
<a href="https://github.com/0n1cOn3">
|
||||||
<img src="https://avatars.githubusercontent.com/u/27576311?v=4" width="80;" alt="0n1cOn3"/>
|
<img src="https://avatars.githubusercontent.com/u/27576311?v=4" width="80;" alt="0n1cOn3"/>
|
||||||
<br />
|
<br />
|
||||||
<sub><b>0n1cOn3</b></sub>
|
<sub><b>0n1cOn3</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td></tr>
|
</td>
|
||||||
<tr>
|
<td align="center">
|
||||||
|
<a href="https://github.com/5idereal">
|
||||||
|
<img src="https://avatars.githubusercontent.com/u/30827929?v=4" width="80;" alt="5idereal"/>
|
||||||
|
<br />
|
||||||
|
<sub><b>5idereal</b></sub>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/AaronPorts">
|
<a href="https://github.com/AaronPorts">
|
||||||
<img src="https://avatars.githubusercontent.com/u/32810520?v=4" width="80;" alt="AaronPorts"/>
|
<img src="https://avatars.githubusercontent.com/u/32810520?v=4" width="80;" alt="AaronPorts"/>
|
||||||
@ -489,7 +496,8 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Brieuc Dubois</b></sub>
|
<sub><b>Brieuc Dubois</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td></tr>
|
||||||
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/bskim45">
|
<a href="https://github.com/bskim45">
|
||||||
<img src="https://avatars.githubusercontent.com/u/5674934?v=4" width="80;" alt="bskim45"/>
|
<img src="https://avatars.githubusercontent.com/u/5674934?v=4" width="80;" alt="bskim45"/>
|
||||||
@ -503,8 +511,7 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>David</b></sub>
|
<sub><b>David</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td></tr>
|
</td>
|
||||||
<tr>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/DawidPietrykowski">
|
<a href="https://github.com/DawidPietrykowski">
|
||||||
<img src="https://avatars.githubusercontent.com/u/53954695?v=4" width="80;" alt="DawidPietrykowski"/>
|
<img src="https://avatars.githubusercontent.com/u/53954695?v=4" width="80;" alt="DawidPietrykowski"/>
|
||||||
@ -532,7 +539,8 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Doug Lock</b></sub>
|
<sub><b>Doug Lock</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td></tr>
|
||||||
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/Dylan-Bs">
|
<a href="https://github.com/Dylan-Bs">
|
||||||
<img src="https://avatars.githubusercontent.com/u/35694107?v=4" width="80;" alt="Dylan-Bs"/>
|
<img src="https://avatars.githubusercontent.com/u/35694107?v=4" width="80;" alt="Dylan-Bs"/>
|
||||||
@ -540,14 +548,20 @@
|
|||||||
<sub><b>Dylan Bersans</b></sub>
|
<sub><b>Dylan Bersans</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
<td align="center">
|
||||||
|
<a href="https://github.com/edugof">
|
||||||
|
<img src="https://avatars.githubusercontent.com/u/19559978?v=4" width="80;" alt="edugof"/>
|
||||||
|
<br />
|
||||||
|
<sub><b>Eduardo Gomez</b></sub>
|
||||||
|
</a>
|
||||||
|
</td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/emiran-orange">
|
<a href="https://github.com/emiran-orange">
|
||||||
<img src="https://avatars.githubusercontent.com/u/71817149?v=4" width="80;" alt="emiran-orange"/>
|
<img src="https://avatars.githubusercontent.com/u/71817149?v=4" width="80;" alt="emiran-orange"/>
|
||||||
<br />
|
<br />
|
||||||
<sub><b>Null</b></sub>
|
<sub><b>Null</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td></tr>
|
</td>
|
||||||
<tr>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/ethan-hann">
|
<a href="https://github.com/ethan-hann">
|
||||||
<img src="https://avatars.githubusercontent.com/u/36464732?v=4" width="80;" alt="ethan-hann"/>
|
<img src="https://avatars.githubusercontent.com/u/36464732?v=4" width="80;" alt="ethan-hann"/>
|
||||||
@ -568,7 +582,8 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Garrett Brown</b></sub>
|
<sub><b>Garrett Brown</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td></tr>
|
||||||
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/hubortje">
|
<a href="https://github.com/hubortje">
|
||||||
<img src="https://avatars.githubusercontent.com/u/62364169?v=4" width="80;" alt="hubortje"/>
|
<img src="https://avatars.githubusercontent.com/u/62364169?v=4" width="80;" alt="hubortje"/>
|
||||||
@ -589,8 +604,7 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Iaroslav Dronskii</b></sub>
|
<sub><b>Iaroslav Dronskii</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td></tr>
|
</td>
|
||||||
<tr>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/b1thunt3r">
|
<a href="https://github.com/b1thunt3r">
|
||||||
<img src="https://avatars.githubusercontent.com/u/791091?v=4" width="80;" alt="b1thunt3r"/>
|
<img src="https://avatars.githubusercontent.com/u/791091?v=4" width="80;" alt="b1thunt3r"/>
|
||||||
@ -611,7 +625,8 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Jemy SCHNEPP</b></sub>
|
<sub><b>Jemy SCHNEPP</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td></tr>
|
||||||
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/Singebob">
|
<a href="https://github.com/Singebob">
|
||||||
<img src="https://avatars.githubusercontent.com/u/24290044?v=4" width="80;" alt="Singebob"/>
|
<img src="https://avatars.githubusercontent.com/u/24290044?v=4" width="80;" alt="Singebob"/>
|
||||||
@ -632,8 +647,7 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Kieren Connell</b></sub>
|
<sub><b>Kieren Connell</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td></tr>
|
</td>
|
||||||
<tr>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/LeoColman">
|
<a href="https://github.com/LeoColman">
|
||||||
<img src="https://avatars.githubusercontent.com/u/1577251?v=4" width="80;" alt="LeoColman"/>
|
<img src="https://avatars.githubusercontent.com/u/1577251?v=4" width="80;" alt="LeoColman"/>
|
||||||
@ -654,7 +668,8 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Мирослав Асенов</b></sub>
|
<sub><b>Мирослав Асенов</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td></tr>
|
||||||
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/markusdd">
|
<a href="https://github.com/markusdd">
|
||||||
<img src="https://avatars.githubusercontent.com/u/25175069?v=4" width="80;" alt="markusdd"/>
|
<img src="https://avatars.githubusercontent.com/u/25175069?v=4" width="80;" alt="markusdd"/>
|
||||||
@ -675,8 +690,7 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Maxime Moreillon</b></sub>
|
<sub><b>Maxime Moreillon</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td></tr>
|
</td>
|
||||||
<tr>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/imsakg">
|
<a href="https://github.com/imsakg">
|
||||||
<img src="https://avatars.githubusercontent.com/u/62212589?v=4" width="80;" alt="imsakg"/>
|
<img src="https://avatars.githubusercontent.com/u/62212589?v=4" width="80;" alt="imsakg"/>
|
||||||
@ -697,6 +711,14 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Nicholas Malcolm</b></sub>
|
<sub><b>Nicholas Malcolm</b></sub>
|
||||||
</a>
|
</a>
|
||||||
|
</td></tr>
|
||||||
|
<tr>
|
||||||
|
<td align="center">
|
||||||
|
<a href="https://github.com/oka4shi">
|
||||||
|
<img src="https://avatars.githubusercontent.com/u/67847553?v=4" width="80;" alt="oka4shi"/>
|
||||||
|
<br />
|
||||||
|
<sub><b>OKAMOTO Shigehiro</b></sub>
|
||||||
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/PlusaN">
|
<a href="https://github.com/PlusaN">
|
||||||
@ -718,8 +740,7 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Null</b></sub>
|
<sub><b>Null</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td></tr>
|
</td>
|
||||||
<tr>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/turnrye">
|
<a href="https://github.com/turnrye">
|
||||||
<img src="https://avatars.githubusercontent.com/u/701035?v=4" width="80;" alt="turnrye"/>
|
<img src="https://avatars.githubusercontent.com/u/701035?v=4" width="80;" alt="turnrye"/>
|
||||||
@ -733,6 +754,14 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Sacha</b></sub>
|
<sub><b>Sacha</b></sub>
|
||||||
</a>
|
</a>
|
||||||
|
</td></tr>
|
||||||
|
<tr>
|
||||||
|
<td align="center">
|
||||||
|
<a href="https://github.com/shazzx">
|
||||||
|
<img src="https://avatars.githubusercontent.com/u/131521332?v=4" width="80;" alt="shazzx"/>
|
||||||
|
<br />
|
||||||
|
<sub><b>Shazz</b></sub>
|
||||||
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/ThinkSalat">
|
<a href="https://github.com/ThinkSalat">
|
||||||
@ -761,15 +790,15 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Stavros Kois</b></sub>
|
<sub><b>Stavros Kois</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td></tr>
|
</td>
|
||||||
<tr>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/XenonR">
|
<a href="https://github.com/XenonR">
|
||||||
<img src="https://avatars.githubusercontent.com/u/18627623?v=4" width="80;" alt="XenonR"/>
|
<img src="https://avatars.githubusercontent.com/u/18627623?v=4" width="80;" alt="XenonR"/>
|
||||||
<br />
|
<br />
|
||||||
<sub><b>Steffen Schmidt</b></sub>
|
<sub><b>Steffen Schmidt</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td></tr>
|
||||||
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/StevKast">
|
<a href="https://github.com/StevKast">
|
||||||
<img src="https://avatars.githubusercontent.com/u/17804308?v=4" width="80;" alt="StevKast"/>
|
<img src="https://avatars.githubusercontent.com/u/17804308?v=4" width="80;" alt="StevKast"/>
|
||||||
@ -804,15 +833,15 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Nico</b></sub>
|
<sub><b>Nico</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td></tr>
|
</td>
|
||||||
<tr>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/flechaig">
|
<a href="https://github.com/flechaig">
|
||||||
<img src="https://avatars.githubusercontent.com/u/10887132?v=4" width="80;" alt="flechaig"/>
|
<img src="https://avatars.githubusercontent.com/u/10887132?v=4" width="80;" alt="flechaig"/>
|
||||||
<br />
|
<br />
|
||||||
<sub><b>Null</b></sub>
|
<sub><b>Null</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td></tr>
|
||||||
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/huangshaohuai">
|
<a href="https://github.com/huangshaohuai">
|
||||||
<img src="https://avatars.githubusercontent.com/u/24775925?v=4" width="80;" alt="huangshaohuai"/>
|
<img src="https://avatars.githubusercontent.com/u/24775925?v=4" width="80;" alt="huangshaohuai"/>
|
||||||
@ -847,15 +876,15 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>Null</b></sub>
|
<sub><b>Null</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td></tr>
|
</td>
|
||||||
<tr>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/kt-alt">
|
<a href="https://github.com/kt-alt">
|
||||||
<img src="https://avatars.githubusercontent.com/u/51970249?v=4" width="80;" alt="kt-alt"/>
|
<img src="https://avatars.githubusercontent.com/u/51970249?v=4" width="80;" alt="kt-alt"/>
|
||||||
<br />
|
<br />
|
||||||
<sub><b>Null</b></sub>
|
<sub><b>Null</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td></tr>
|
||||||
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/kxenoxx">
|
<a href="https://github.com/kxenoxx">
|
||||||
<img src="https://avatars.githubusercontent.com/u/9744900?v=4" width="80;" alt="kxenoxx"/>
|
<img src="https://avatars.githubusercontent.com/u/9744900?v=4" width="80;" alt="kxenoxx"/>
|
||||||
@ -890,15 +919,15 @@
|
|||||||
<br />
|
<br />
|
||||||
<sub><b>José Ignacio</b></sub>
|
<sub><b>José Ignacio</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td></tr>
|
</td>
|
||||||
<tr>
|
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/tazboyz16">
|
<a href="https://github.com/tazboyz16">
|
||||||
<img src="https://avatars.githubusercontent.com/u/12215340?v=4" width="80;" alt="tazboyz16"/>
|
<img src="https://avatars.githubusercontent.com/u/12215340?v=4" width="80;" alt="tazboyz16"/>
|
||||||
<br />
|
<br />
|
||||||
<sub><b>Null</b></sub>
|
<sub><b>Null</b></sub>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td></tr>
|
||||||
|
<tr>
|
||||||
<td align="center">
|
<td align="center">
|
||||||
<a href="https://github.com/AmadeusGraves">
|
<a href="https://github.com/AmadeusGraves">
|
||||||
<img src="https://avatars.githubusercontent.com/u/18572939?v=4" width="80;" alt="AmadeusGraves"/>
|
<img src="https://avatars.githubusercontent.com/u/18572939?v=4" width="80;" alt="AmadeusGraves"/>
|
||||||
|
@ -16,15 +16,15 @@ Sections:
|
|||||||
|
|
||||||
## Creating a new theme
|
## Creating a new theme
|
||||||
|
|
||||||
Adding a new theme is really easy. There's two things you need to do: Pass the theme name to Dashy, so that it can be added to the theme selector dropdown menu, and then write some styles!
|
Adding a new theme is really easy. There're two things you need to do: Pass the theme name to Dashy, so that it can be added to the theme selector dropdown menu, and then write some styles!
|
||||||
|
|
||||||
### 1. Add Theme Name
|
### 1. Add Theme Name
|
||||||
|
|
||||||
Choose a snappy name for you're theme, and add it to the `builtInThemes` array inside [`defaults.js`](https://github.com/Lissy93/dashy/blob/master/src/utils/defaults.js#L27).
|
Choose a snappy name for your theme, and add it to the `builtInThemes` array inside [`defaults.js`](https://github.com/Lissy93/dashy/blob/master/src/utils/defaults.js#L27).
|
||||||
|
|
||||||
### 2. Write some Styles
|
### 2. Write some Styles
|
||||||
|
|
||||||
Put your theme's styles inside [`color-themes.scss`](https://github.com/Lissy93/dashy/blob/master/src/styles/color-themes.scss).
|
Put your theme styles inside [`color-themes.scss`](https://github.com/Lissy93/dashy/blob/master/src/styles/color-themes.scss).
|
||||||
Create a new block, and make sure that `data-theme` matches the theme name you chose above. For example:
|
Create a new block, and make sure that `data-theme` matches the theme name you chose above. For example:
|
||||||
|
|
||||||
```css
|
```css
|
||||||
@ -34,11 +34,11 @@ html[data-theme='tiger'] {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Then you can go ahead and write you're own custom CSS. Although all CSS is supported here, the best way to define you're theme is by setting the CSS variables. You can find a [list of all CSS variables, here](https://github.com/Lissy93/dashy/blob/master/docs/theming.md#css-variables).
|
Then you can go ahead and write your own custom CSS. Although all CSS is supported here, the best way to define your theme is by setting the CSS variables. You can find a [list of all CSS variables, here](https://github.com/Lissy93/dashy/blob/master/docs/theming.md#css-variables).
|
||||||
|
|
||||||
For a full guide on styling, see [Theming Docs](./theming.md).
|
For a full guide on styling, see [Theming Docs](./theming.md).
|
||||||
|
|
||||||
Note that if you're theme is just for yourself, and you're not submitting a PR, then you can instead just pass it under `appConfig.cssThemes` inside your config file. And then put your theme in your own stylesheet, and pass it into the Docker container - [see how](https://github.com/Lissy93/dashy/blob/master/docs/theming.md#adding-your-own-theme).
|
Note that if your theme is just for yourself, and you're not submitting a PR, then you can instead just pass it under `appConfig.cssThemes` inside your config file. And then put your theme in your own stylesheet, and pass it into the Docker container - [see how](https://github.com/Lissy93/dashy/blob/master/docs/theming.md#adding-your-own-theme).
|
||||||
|
|
||||||
## Writing Translations
|
## Writing Translations
|
||||||
|
|
||||||
@ -96,7 +96,7 @@ export const languages = [
|
|||||||
];
|
];
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also add your new language to the readme, under the [Language Switching](https://github.com/Lissy93/dashy#language-switching-) section, and optionally include your name/ username if you'd like to be credited for your work. Done!
|
You can also add your new language to the readme file, under the [Language Switching](https://github.com/Lissy93/dashy#language-switching-) section, and optionally include your name/ username if you'd like to be credited for your work. Done!
|
||||||
|
|
||||||
If you are not comfortable with making pull requests, or do not want to modify the code, then feel free to instead send the translated file to me, and I can add it into the application. I will be sure to credit you appropriately.
|
If you are not comfortable with making pull requests, or do not want to modify the code, then feel free to instead send the translated file to me, and I can add it into the application. I will be sure to credit you appropriately.
|
||||||
|
|
||||||
@ -125,7 +125,7 @@ computed: {
|
|||||||
},
|
},
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, where you want get the users value within your component, use something like: `this.appConfig.myProperty`. Don't forget to have a fallback or default for then the user hasn't specified it.
|
Then, where you want to get the users value within your component, use something like: `this.appConfig.myProperty`. If the user hasn't specified the value, Don't forget to have a fallback or default for it.
|
||||||
|
|
||||||
If you have a default fallback value, then this would typically be specified in the [`defaults.js`](https://github.com/Lissy93/dashy/blob/master/src/utils/defaults.js) file.
|
If you have a default fallback value, then this would typically be specified in the [`defaults.js`](https://github.com/Lissy93/dashy/blob/master/src/utils/defaults.js) file.
|
||||||
|
|
||||||
@ -151,7 +151,7 @@ or
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Finally, add your new property to the [`configuring.md`](./configuring.md) API docs. Put it under the relevant section, and be sure to include field name, data type, a description and mention that it is optional. If your new feature needs more explaining, then you can also document it under the relevant section elsewhere in the documentation.
|
Finally, add your new property to the [`configuring.md`](./configuring.md) API docs. Put it under the relevant section, and be sure to include field name, data type, a description and mention that it is optional. If your new feature needs more explanation, then you can also document it under the relevant section elsewhere in the documentation.
|
||||||
|
|
||||||
Checklist:
|
Checklist:
|
||||||
|
|
||||||
@ -176,12 +176,12 @@ When Dashy is deployed to Netlify, it is effectively running as a static app, an
|
|||||||
|
|
||||||
### 1. Run Netlify Dev Server
|
### 1. Run Netlify Dev Server
|
||||||
|
|
||||||
First off, install the Netlify CLI: `npm install netlify-cli -g`
|
First off all, install the Netlify CLI: `npm install netlify-cli -g`
|
||||||
Then, from within the root of Dashy's directory, start the server, by running: `netlify dev`
|
Then, from within the root of Dashy's directory, start the server, by running: `netlify dev`
|
||||||
|
|
||||||
### 2. Create a lambda function
|
### 2. Create a lambda function
|
||||||
|
|
||||||
This should be saved it in the [`./services/serverless-functions`](https://github.com/Lissy93/dashy/tree/master/services/serverless-functions) directory
|
This should be saved in the [`./services/serverless-functions`](https://github.com/Lissy93/dashy/tree/master/services/serverless-functions) directory
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
exports.handler = async () => ({
|
exports.handler = async () => ({
|
||||||
|
@ -1954,7 +1954,7 @@ Displays your notifications and allows deleting them.
|
|||||||
#### Example
|
#### Example
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- type: nextcloud-userstatus
|
- type: nextcloud-notifications
|
||||||
useProxy: true
|
useProxy: true
|
||||||
options:
|
options:
|
||||||
hostname: https://nextcloud.example.com
|
hostname: https://nextcloud.example.com
|
||||||
@ -2060,7 +2060,7 @@ Shows statistics about PHP OPcache performance on your Nextcloud server.
|
|||||||
#### Example
|
#### Example
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- type: nextcloud-stats
|
- type: nextcloud-php-opcache
|
||||||
useProxy: true
|
useProxy: true
|
||||||
options:
|
options:
|
||||||
hostname: https://nextcloud.example.com
|
hostname: https://nextcloud.example.com
|
||||||
|
Loading…
x
Reference in New Issue
Block a user