mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-01 16:30:46 +00:00
fb5c44a875
It didn’t work very well, and was giving us spans where there should be divs in the tab control.
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
title: $:/core/ui/SideBarLists
|
|
|
|
<div class="tw-sidebar-lists">
|
|
|
|
<div class="tw-search">
|
|
<$edit-text tiddler="$:/temp/search" type="search" tag="input"/>
|
|
<$reveal state="$:/temp/search" type="nomatch" text="">
|
|
<$linkcatcher to="$:/temp/search">
|
|
<$link to="" class="btn-invisible">{{$:/core/images/close-button}}</$link>
|
|
</$linkcatcher>
|
|
</$reveal>
|
|
<$reveal state="$:/temp/search" type="match" text=""> <$link to="$:/AdvancedSearch" tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class="btn-invisible">…</$link>
|
|
</$reveal>
|
|
</div>
|
|
|
|
<$reveal state="$:/temp/search" type="nomatch" text="">
|
|
|
|
<div class="tw-search-results">
|
|
|
|
{{$:/language/Search/Matches}}
|
|
|
|
<$list filter="[!is[system]search{$:/temp/search}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/>
|
|
|
|
</div>
|
|
|
|
</$reveal>
|
|
|
|
<$reveal state="$:/temp/search" type="match" text="">
|
|
|
|
<<tabs "[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]" "TableOfContents" "$:/state/tab/sidebar">>
|
|
|
|
</$reveal>
|
|
|
|
</div>
|