1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-26 18:10:27 +00:00
TiddlyWiki5/core/templates/SideBar.tid

43 lines
1.8 KiB
Plaintext
Raw Normal View History

title: $:/templates/SideBar
<!-- The implementation of tabs here is currently a bit unreadable -->
2013-03-20 09:01:44 +00:00
@@.search-query
<$edit tiddler="$:/temp/search" type="search" requireFocus="yes"/>
@@
<$reveal state="$:/temp/search" type="nomatch" text="">
<div class="tw-search-results">
<$list filter="[!is[system]searchVia[$:/temp/search]sort[title]limit[50]]" emptyMessage="//No results//"/>
</div>
</$reveal>
<$reveal state="$:/temp/search" type="match" text="">
<div class="tw-tab-set">
2013-03-19 10:14:44 +00:00
<div class="tw-tab-buttons"><$button type="set" set="$:/state/sideBarTabSet" setTo="openTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Open</$button><$button type="set" set="$:/state/sideBarTabSet" setTo="allTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">All</$button><$button type="set" set="$:/state/sideBarTabSet" setTo="toolsTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Tools</$button><$button type="set" set="$:/state/sideBarTabSet" setTo="moreTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">More</$button></div>
2013-04-03 20:11:10 +00:00
<div class="tw-tab-divider">
</div>
<div class="tw-tab-content">
2013-03-19 10:14:44 +00:00
<$reveal type="match" state="$:/state/sideBarTabSet" text="openTab" qualifyTiddlerTitles="yes">
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" itemClass="tw-menu-list-item"/>
</$reveal>
2013-03-19 10:14:44 +00:00
<$reveal type="match" state="$:/state/sideBarTabSet" text="allTab" qualifyTiddlerTitles="yes">
<$list filter="[!is[system]sort[title]]" itemClass="tw-menu-list-item"/>
</$reveal>
2013-03-19 10:14:44 +00:00
<$reveal type="match" state="$:/state/sideBarTabSet" text="toolsTab" qualifyTiddlerTitles="yes">
2013-03-18 22:43:08 +00:00
{{$:/templates/ControlPanel}}
{{$:/templates/ServerControlPanel}}
2013-03-18 22:43:08 +00:00
</$reveal>
2013-03-19 10:14:44 +00:00
<$reveal type="match" state="$:/state/sideBarTabSet" text="moreTab" qualifyTiddlerTitles="yes">
{{$:/templates/MoreSideBar}}
</$reveal>
</div>
2013-04-03 20:11:10 +00:00
</div>
2013-03-20 09:01:44 +00:00
</$reveal>