mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
417dd9f65c
Fix #91
50 lines
2.2 KiB
Plaintext
50 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 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>
|
|
|
|
<$reveal state="$:/temp/search" type="nomatch" text="">
|
|
|
|
<div class="tw-search-results">
|
|
|
|
<$list filter="[!is[system]search{$:/temp/search}sort[title]limit[50]]" emptyMessage="//No results//"/>
|
|
|
|
</div>
|
|
|
|
</$reveal>
|
|
|
|
<$reveal state="$:/temp/search" type="match" text="">
|
|
|
|
<div class="tw-tab-set">
|
|
<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>
|
|
<div class="tw-tab-divider tw-sidebar-tab-divider">
|
|
</div>
|
|
<div class="tw-tab-content">
|
|
<$reveal type="match" state="$:/state/sideBarTabSet" text="openTab" qualifyTiddlerTitles="yes">
|
|
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" itemClass="tw-menu-list-item">
|
|
<$button message="tw-close-tiddler" class="btn-invisible btn-mini">×</$button> <$view field="title" format="link"/>
|
|
</$list>
|
|
<$button message="tw-close-all-tiddlers" class="btn-invisible btn-mini">close all</$button>
|
|
</$reveal>
|
|
<$reveal type="match" state="$:/state/sideBarTabSet" text="recentTab" qualifyTiddlerTitles="yes">
|
|
{{$:/snippets/recentchanges}}
|
|
</$reveal>
|
|
<$reveal type="match" state="$:/state/sideBarTabSet" text="toolsTab" qualifyTiddlerTitles="yes">
|
|
{{$:/core/ui/ToolsPanel}}
|
|
</$reveal>
|
|
<$reveal type="match" state="$:/state/sideBarTabSet" text="moreTab" qualifyTiddlerTitles="yes">
|
|
{{$:/core/ui/MoreSideBar}}
|
|
</$reveal>
|
|
</div>
|
|
</div>
|
|
|
|
</$reveal>
|
|
</div>
|