mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
Plumbing to allow the current view to be switched
This commit is contained in:
parent
24ad677d75
commit
9fbb945b0a
@ -22,7 +22,7 @@ title: $:/core/ui/PageTemplate
|
|||||||
<section class="story-river">
|
<section class="story-river">
|
||||||
|
|
||||||
<!-- The main story -->
|
<!-- The main story -->
|
||||||
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" template="$:/core/ui/ViewTemplate" editTemplate="$:/core/ui/EditTemplate" listview="classic" itemClass="tw-tiddler-frame"/>
|
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" template="$:/core/ui/ViewTemplate" editTemplate="$:/core/ui/EditTemplate" listview={{$:/view}} itemClass="tw-tiddler-frame"/>
|
||||||
|
|
||||||
<!-- End of story river -->
|
<!-- End of story river -->
|
||||||
</section>
|
</section>
|
||||||
|
@ -1,15 +1,18 @@
|
|||||||
title: $:/core/ui/ToolsPanel
|
title: $:/core/ui/ToolsPanel
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
{{$:/snippets/viewswitcher}}
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
{{$:/snippets/themeswitcher}}
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
Import: <$import class="tw-drop-zone"/>
|
Import: <$import class="tw-drop-zone"/>
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<$button message="tw-save-wiki" class="btn btn-primary">Save Changes</$button>
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
{{$:/snippets/encryptionstatus}}
|
{{$:/snippets/encryptionstatus}}
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
{{$:/snippets/themeswitcher}}
|
|
||||||
|
3
core/wiki/view.tid
Normal file
3
core/wiki/view.tid
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
title: $:/view
|
||||||
|
|
||||||
|
classic
|
13
core/wiki/viewswitcher.tid
Normal file
13
core/wiki/viewswitcher.tid
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
title: $:/snippets/viewswitcher
|
||||||
|
|
||||||
|
Current theme: {{$:/view}}
|
||||||
|
|
||||||
|
<$linkcatcher to="$:/view">
|
||||||
|
|
||||||
|
<$list filter="classic zoomin">
|
||||||
|
|
||||||
|
<$reveal state="$:/view" type="match" text={{##title}}>•</$reveal><$reveal state="$:/view" type="nomatch" text={{##title}}> </$reveal> <$view field="title" format="link"/>
|
||||||
|
|
||||||
|
</$list>
|
||||||
|
|
||||||
|
</$linkcatcher>
|
Loading…
Reference in New Issue
Block a user