1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 13:29:56 +00:00
TiddlyWiki5/core/ui/SideBar.tid

52 lines
2.3 KiB
Plaintext
Raw Normal View History

title: $:/core/ui/SideBar
<!-- The implementation of tabs here is currently a bit unreadable -->
2013-03-20 09:01:44 +00:00
<div class="tw-sidebar-lists">
<$linkcatcher to="$:/temp/search">
<div class="tw-search"><$edit tiddler="$:/temp/search" type="search" requireFocus="yes"/><$reveal state="$:/temp/search" type="nomatch" text=""> <$link to="" class="btn-invisible">{{$:/core/images/close-button}}</$link></$reveal></div>
</$linkcatcher>
2013-03-20 09:01:44 +00:00
<$reveal state="$:/temp/search" type="nomatch" text="">
<div class="tw-search-results">
2013-08-28 18:26:17 +00:00
//<small><$count filter="[!is[system]search{$:/temp/search}]"/> matches</small>//
<$list filter="[!is[system]search{$:/temp/search}sort[title]limit[250]]"/>
2013-03-20 09:01:44 +00:00
</div>
</$reveal>
<$reveal state="$:/temp/search" type="match" text="">
<div class="tw-tab-set">
2013-05-27 17:00:50 +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="recentTab" qualifyTiddlerTitles="yes" selectedClass="tw-tab-selected">Recent</$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-27 10:43:11 +00:00
<div class="tw-tab-divider tw-sidebar-tab-divider">
2013-04-03 20:11:10 +00:00
</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" listview="pop" itemClass="tw-menu-list-item tw-open-tiddler-list">
<$button message="tw-close-tiddler" class="btn-invisible btn-mini">&times;</$button> <$view field="title" format="link"/>
</$list>
<$button message="tw-close-all-tiddlers" class="btn-invisible btn-mini">close all</$button>
</$reveal>
2013-05-27 17:00:50 +00:00
<$reveal type="match" state="$:/state/sideBarTabSet" text="recentTab" qualifyTiddlerTitles="yes">
{{$:/snippets/recentchanges}}
</$reveal>
2013-03-19 10:14:44 +00:00
<$reveal type="match" state="$:/state/sideBarTabSet" text="toolsTab" qualifyTiddlerTitles="yes">
{{$:/core/ui/ToolsPanel}}
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">
{{$:/core/ui/MoreSideBar}}
2013-03-19 10:14:44 +00:00
</$reveal>
</div>
2013-04-03 20:11:10 +00:00
</div>
2013-03-20 09:01:44 +00:00
</$reveal>
</div>