mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-16 23:04:50 +00:00
157f8faa6b
We reuse the tabs introduced for the sidebar search results
25 lines
1.0 KiB
Plaintext
25 lines
1.0 KiB
Plaintext
title: $:/core/ui/AdvancedSearch/Standard
|
|
tags: $:/tags/AdvancedSearch
|
|
caption: {{$:/language/Search/Standard/Caption}}
|
|
|
|
\define lingo-base() $:/language/Search/
|
|
<$linkcatcher to="$:/temp/advancedsearch">
|
|
|
|
<<lingo Standard/Hint>>
|
|
|
|
<div class="tc-search"><$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/><$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$link to="" class="tc-btn-invisible">{{$:/core/images/close-button}}</$link></$reveal></div>
|
|
|
|
</$linkcatcher>
|
|
|
|
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
|
|
<$set name="searchTiddler" value="$:/temp/advancedsearch">
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]butfirst[]limit[1]]" emptyMessage="""
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]">
|
|
<$transclude/>
|
|
</$list>
|
|
""">
|
|
<$macrocall $name="tabs" tabsList="[all[shadows+tiddlers]tag[$:/tags/SearchResults]!has[draft.of]]" default={{$:/config/SearchResults/Default}}/>
|
|
</$list>
|
|
</$set>
|
|
</$reveal>
|