1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-18 07:44:51 +00:00
TiddlyWiki5/core/ui/SideBar.tid

52 lines
2.2 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-text tiddler="$:/temp/search" type="search" tag="input"/><$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]]" template="$:/core/ui/ListItemTemplate"/>
2013-03-20 09:01:44 +00:00
</div>
</$reveal>
<$reveal state="$:/temp/search" type="match" text="">
<div class="tw-tab-set">
<div class="tw-tab-buttons"><$button type="set" set=<<qualify "$:/state/sideBarTabSet">> setTo="openTab" selectedClass="tw-tab-selected">Open</$button><$button type="set" set=<<qualify "$:/state/sideBarTabSet">> setTo="recentTab" selectedClass="tw-tab-selected">Recent</$button><$button type="set" set=<<qualify "$:/state/sideBarTabSet">> setTo="toolsTab" selectedClass="tw-tab-selected">Tools</$button><$button type="set" set=<<qualify "$:/state/sideBarTabSet">> setTo="moreTab" 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">
<$reveal type="match" state=<<qualify "$:/state/sideBarTabSet">> text="openTab">
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" listview="pop" itemClass="tw-menu-list-item tw-open-tiddler-list">
2013-10-13 20:31:00 +00:00
<$button message="tw-close-tiddler" class="btn-invisible btn-mini">&times;</$button> <$link to={{!!title}}><$view field="title"/></$link>
</$list>
<$button message="tw-close-all-tiddlers" class="btn-invisible btn-mini">close all</$button>
</$reveal>
<$reveal type="match" state=<<qualify "$:/state/sideBarTabSet">> text="recentTab">
{{$:/snippets/recentchanges}}
</$reveal>
<$reveal type="match" state=<<qualify "$:/state/sideBarTabSet">> text="toolsTab">
{{$:/core/ui/ToolsPanel}}
2013-03-18 22:43:08 +00:00
</$reveal>
<$reveal type="match" state=<<qualify "$:/state/sideBarTabSet">> text="moreTab">
{{$:/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>