mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-18 07:44:51 +00:00
a89ae45188
Fixes #1748
41 lines
1.4 KiB
Plaintext
41 lines
1.4 KiB
Plaintext
title: $:/core/ui/SideBarLists
|
|
|
|
<div class="tc-sidebar-lists">
|
|
|
|
<div class="tc-search">
|
|
<$edit-text tiddler="$:/temp/search" type="search" tag="input" focus={{$:/config/Search/AutoFocus}}/>
|
|
<$reveal state="$:/temp/search" type="nomatch" text="">
|
|
<$button tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class="tc-btn-invisible">
|
|
<$action-setfield $tiddler="$:/temp/advancedsearch" text={{$:/temp/search}}/>
|
|
<$action-setfield $tiddler="$:/temp/search" text=""/>
|
|
<$action-navigate $to="$:/AdvancedSearch"/>
|
|
{{$:/core/images/advanced-search-button}}
|
|
</$button>
|
|
<$button class="tc-btn-invisible">
|
|
<$action-setfield $tiddler="$:/temp/search" text="" />
|
|
{{$:/core/images/close-button}}
|
|
</$button>
|
|
</$reveal>
|
|
<$reveal state="$:/temp/search" type="match" text="">
|
|
<$button to="$:/AdvancedSearch" tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class="tc-btn-invisible">
|
|
{{$:/core/images/advanced-search-button}}
|
|
</$button>
|
|
</$reveal>
|
|
</div>
|
|
|
|
<$reveal state="$:/temp/search" type="nomatch" text="">
|
|
|
|
<$set name="searchTiddler" value="$:/temp/search">
|
|
{{$:/core/ui/SearchResults}}
|
|
</$set>
|
|
|
|
</$reveal>
|
|
|
|
<$reveal state="$:/temp/search" type="match" text="">
|
|
|
|
<$macrocall $name="tabs" tabsList="[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]" default={{$:/config/DefaultSidebarTab}} state="$:/state/tab/sidebar" />
|
|
|
|
</$reveal>
|
|
|
|
</div>
|