mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-29 03:20:27 +00:00
Expand the theme switcher in the control panel
This commit is contained in:
parent
b1aadc7e94
commit
34ae1387a5
@ -6,7 +6,7 @@ caption: Tools
|
||||
|
||||
---
|
||||
|
||||
{{$:/snippets/themeswitcher}}
|
||||
{{$:/snippets/minithemeswitcher}}
|
||||
|
||||
---
|
||||
|
||||
|
8
core/wiki/minithemeswitcher.tid
Normal file
8
core/wiki/minithemeswitcher.tid
Normal file
@ -0,0 +1,8 @@
|
||||
title: $:/snippets/minithemeswitcher
|
||||
|
||||
Current theme: <$link to={{$:/theme}}><$view tiddler={{$:/theme}} field="name"/></$link>
|
||||
|
||||
<$linkcatcher to="$:/theme">
|
||||
<$list filter="[plugin-type[theme]sort[title]]"><div><$reveal state="$:/theme" type="match" text={{!!title}}>•</$reveal><$reveal state="$:/theme" type="nomatch" text={{!!title}}> </$reveal> <$link to={{!!title}}><$view field="name" format="text"/></$link></div>
|
||||
</$list>
|
||||
</$linkcatcher>
|
@ -1,8 +1,8 @@
|
||||
title: $:/snippets/themeswitcher
|
||||
|
||||
Current theme: {{$:/theme}}
|
||||
Current theme: <$link to={{$:/theme}}><$view tiddler={{$:/theme}} field="name"/></$link>
|
||||
|
||||
<$linkcatcher to="$:/theme">
|
||||
<$list filter="[plugin-type[theme]sort[title]]"><div><$reveal state="$:/theme" type="match" text={{!!title}}>•</$reveal><$reveal state="$:/theme" type="nomatch" text={{!!title}}> </$reveal> <$link to={{!!title}}><$view field="name" format="text"/></$link></div>
|
||||
<$list filter="[plugin-type[theme]sort[title]]"><div><$reveal state="$:/theme" type="match" text={{!!title}}>•</$reveal><$reveal state="$:/theme" type="nomatch" text={{!!title}}> </$reveal> <$link to={{!!title}}>''<$view field="name" format="text"/>'' <$view field="description" format="text"/></$link></div>
|
||||
</$list>
|
||||
</$linkcatcher>
|
||||
</$linkcatcher>
|
Loading…
Reference in New Issue
Block a user