mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
First pass at an advanced search tiddler
This commit is contained in:
parent
089a838611
commit
3d79eb87d1
3
core/ui/AdvancedSearch.tid
Normal file
3
core/ui/AdvancedSearch.tid
Normal 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>
|
27
core/ui/AdvancedSearch/Shadows.tid
Normal file
27
core/ui/AdvancedSearch/Shadows.tid
Normal 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>
|
27
core/ui/AdvancedSearch/System.tid
Normal file
27
core/ui/AdvancedSearch/System.tid
Normal 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>
|
@ -6,6 +6,10 @@ caption: Tools
|
||||
|
||||
---
|
||||
|
||||
[[AdvancedSearch|$:/AdvancedSearch]]
|
||||
|
||||
---
|
||||
|
||||
{{$:/snippets/minithemeswitcher}}
|
||||
|
||||
---
|
||||
|
2
core/wiki/advancedsearch.tid
Normal file
2
core/wiki/advancedsearch.tid
Normal file
@ -0,0 +1,2 @@
|
||||
title: $:/temp/advancedsearch
|
||||
|
Loading…
Reference in New Issue
Block a user