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/]]">
|
||||
<li>
|
||||
<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}}/>
|
||||
</a>
|
||||
<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/]]">
|
||||
<li>
|
||||
<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}}/>
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -10,3 +10,8 @@ Styles specific to the full screen layout
|
|||
.mws-admin-layout {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.mws-favicon {
|
||||
max-width: 2em;
|
||||
max-height: 2em;
|
||||
}
|
Loading…
Reference in New Issue