First pass at an advanced search tiddler

This commit is contained in:
Jermolene 2013-12-31 13:11:01 +00:00
parent 089a838611
commit 3d79eb87d1
5 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,3 @@
title: $:/AdvancedSearch
<div class="tw-advanced-search"><<tabs "[is[shadow]!has[draft.of]tag[$:/tags/AdvancedSearch]] [!is[shadow]!has[draft.of]tag[$:/tags/AdvancedSearch]] +[tag[$:/tags/AdvancedSearch]]" "$:/core/ui/AdvancedSearch/System">></div>

View File

@ -0,0 +1,27 @@
title: $:/core/ui/AdvancedSearch/Shadows
tags: $:/tags/AdvancedSearch
caption: Shadows
<$linkcatcher to="$:/temp/advancedsearch">
Search for shadow tiddlers:
<div class="tw-search"><$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/><$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$link to="" class="btn-invisible">{{$:/core/images/close-button}}</$link></$reveal></div>
</$linkcatcher>
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
<div class="tw-search-results">
//<small><$count filter="[is[shadow]search{$:/temp/advancedsearch}]"/> matches</small>//
<$list filter="[is[shadow]search{$:/temp/advancedsearch}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/>
</div>
</$reveal>
<$reveal state="$:/temp/advancedsearch" type="match" text="">
</$reveal>

View File

@ -0,0 +1,27 @@
title: $:/core/ui/AdvancedSearch/System
tags: $:/tags/AdvancedSearch
caption: System
<$linkcatcher to="$:/temp/advancedsearch">
Search for system tiddlers:
<div class="tw-search"><$edit-text tiddler="$:/temp/advancedsearch" type="search" tag="input"/><$reveal state="$:/temp/advancedsearch" type="nomatch" text=""> <$link to="" class="btn-invisible">{{$:/core/images/close-button}}</$link></$reveal></div>
</$linkcatcher>
<$reveal state="$:/temp/advancedsearch" type="nomatch" text="">
<div class="tw-search-results">
//<small><$count filter="[search{$:/temp/advancedsearch}]"/> matches</small>//
<$list filter="[search{$:/temp/advancedsearch}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/>
</div>
</$reveal>
<$reveal state="$:/temp/advancedsearch" type="match" text="">
</$reveal>

View File

@ -6,6 +6,10 @@ caption: Tools
---
[[AdvancedSearch|$:/AdvancedSearch]]
---
{{$:/snippets/minithemeswitcher}}
---

View File

@ -0,0 +1,2 @@
title: $:/temp/advancedsearch