mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-06 22:04:19 +00:00
Add bag and recipe favicons to dashboard
This commit is contained in:
parent
11ecaff7db
commit
f7914db019
@ -52,6 +52,7 @@ title: MultiWikiServer Administration
|
|||||||
<$list filter="[prefix[$:/state/multiwikiserver/recipes/]]">
|
<$list filter="[prefix[$:/state/multiwikiserver/recipes/]]">
|
||||||
<li>
|
<li>
|
||||||
<a href=`/wiki/${ [{!!recipe-name}encodeuricomponent[]] }$` rel="noopener noreferrer" target="_blank">
|
<a href=`/wiki/${ [{!!recipe-name}encodeuricomponent[]] }$` rel="noopener noreferrer" target="_blank">
|
||||||
|
<img src=`/wiki/${ [{!!recipe-name}encodeuricomponent[]] }$/recipes/${ [{!!recipe-name}encodeuricomponent[]] }$/tiddlers/%24%3A%2Ffavicon.ico` class="mws-favicon"/>
|
||||||
<$text text={{!!recipe-name}}/>
|
<$text text={{!!recipe-name}}/>
|
||||||
</a>
|
</a>
|
||||||
<ol>
|
<ol>
|
||||||
@ -75,6 +76,7 @@ Higher numbered bags take priority if a tiddler with the same title is in more t
|
|||||||
<$list filter="[prefix[$:/state/multiwikiserver/bags/]]">
|
<$list filter="[prefix[$:/state/multiwikiserver/bags/]]">
|
||||||
<li>
|
<li>
|
||||||
<a href=`/wiki/${ [{!!bag-name}encodeuricomponent[]] }$/bags/${ [{!!bag-name}encodeuricomponent[]] }$` rel="noopener noreferrer" target="_blank">
|
<a href=`/wiki/${ [{!!bag-name}encodeuricomponent[]] }$/bags/${ [{!!bag-name}encodeuricomponent[]] }$` rel="noopener noreferrer" target="_blank">
|
||||||
|
<img src=`/wiki/${ [{!!bag-name}encodeuricomponent[]] }$/bags/${ [{!!bag-name}encodeuricomponent[]] }$/tiddlers/%24%3A%2Ffavicon.ico` class="mws-favicon"/>
|
||||||
<$text text={{!!bag-name}}/>
|
<$text text={{!!bag-name}}/>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -10,3 +10,8 @@ Styles specific to the full screen layout
|
|||||||
.mws-admin-layout {
|
.mws-admin-layout {
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mws-favicon {
|
||||||
|
max-width: 2em;
|
||||||
|
max-height: 2em;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user