mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 01:50:28 +00:00
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
title: $:/core/ui/AdvancedSearch/System
|
|
tags: $:/tags/AdvancedSearch
|
|
caption: {{$:/language/Search/System/Caption}}
|
|
|
|
\define lingo-base() $:/language/Search/
|
|
<$linkcatcher to="$:/temp/advancedsearch">
|
|
|
|
<<lingo System/Hint>>
|
|
|
|
<div class="tc-search">
|
|
<$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/>
|
|
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
|
|
<$button class="tc-btn-invisible">
|
|
<$action-setfield $tiddler="$:/temp/advancedsearch" $field="text" $value=""/>
|
|
{{$:/core/images/close-button}}
|
|
</$button>
|
|
</$reveal>
|
|
</div>
|
|
|
|
</$linkcatcher>
|
|
|
|
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
|
|
|
|
<$set name="resultCount" value="""<$count filter="[is[system]search{$:/temp/advancedsearch}] -[[$:/temp/advancedsearch]]"/>""">
|
|
|
|
<div class="tc-search-results">
|
|
|
|
<<lingo System/Matches>>
|
|
|
|
<$list filter="[is[system]search{$:/temp/advancedsearch}sort[title]limit[250]] -[[$:/temp/advancedsearch]]" template="$:/core/ui/ListItemTemplate"/>
|
|
|
|
</div>
|
|
|
|
</$set>
|
|
|
|
</$reveal>
|
|
|
|
<$reveal state="$:/temp/advancedsearch" type="match" text="">
|
|
|
|
</$reveal>
|