mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 20:10:03 +00:00
52 lines
2.2 KiB
Plaintext
52 lines
2.2 KiB
Plaintext
title: $:/core/ui/SideBar
|
|
|
|
<!-- The implementation of tabs here is currently a bit unreadable -->
|
|
|
|
<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>
|
|
|
|
<$reveal state="$:/temp/search" type="nomatch" text="">
|
|
|
|
<div class="tw-search-results">
|
|
|
|
//<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"/>
|
|
|
|
</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>
|
|
<div class="tw-tab-divider tw-sidebar-tab-divider">
|
|
</div>
|
|
<div class="tw-tab-content">
|
|
<$reveal type="match" state=<<qualify "$:/state/sideBarTabSet">> text="openTab">
|
|
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop" itemClass="tw-menu-list-item tw-open-tiddler-list">
|
|
<$button message="tw-close-tiddler" class="btn-invisible btn-mini">×</$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}}
|
|
</$reveal>
|
|
<$reveal type="match" state=<<qualify "$:/state/sideBarTabSet">> text="moreTab">
|
|
{{$:/core/ui/MoreSideBar}}
|
|
</$reveal>
|
|
</div>
|
|
</div>
|
|
|
|
</$reveal>
|
|
</div>
|