From 6681a8e1f2fd3f39d92a1480b5b573a6c831515d Mon Sep 17 00:00:00 2001 From: Jermolene Date: Wed, 22 Oct 2014 16:30:41 +0100 Subject: [PATCH] Add an advanced search toolbar button --- core/images/advanced-search-button.tid | 11 +++++++++++ core/ui/PageControls/advanced-search.tid | 13 +++++++++++++ core/wiki/tags/PageControls.tid | 2 +- 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 core/images/advanced-search-button.tid create mode 100644 core/ui/PageControls/advanced-search.tid diff --git a/core/images/advanced-search-button.tid b/core/images/advanced-search-button.tid new file mode 100644 index 000000000..5579193ac --- /dev/null +++ b/core/images/advanced-search-button.tid @@ -0,0 +1,11 @@ +title: $:/core/images/advanced-search-button +tags: $:/tags/Image + + + + + + + + + \ No newline at end of file diff --git a/core/ui/PageControls/advanced-search.tid b/core/ui/PageControls/advanced-search.tid new file mode 100644 index 000000000..11c716246 --- /dev/null +++ b/core/ui/PageControls/advanced-search.tid @@ -0,0 +1,13 @@ +title: $:/core/ui/Buttons/advanced-search +tags: $:/tags/PageControls +caption: {{$:/core/images/advanced-search-button}} {{$:/language/Buttons/AdvancedSearch/Caption}} +description: {{$:/language/Buttons/AdvancedSearch/Hint}} + +<$button to="$:/AdvancedSearch" tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class=<>> +<$list filter="[prefix[yes]]"> +{{$:/core/images/advanced-search-button}} + +<$list filter="[prefix[yes]]"> +<$text text={{$:/language/Buttons/AdvancedSearch/Caption}}/> + + diff --git a/core/wiki/tags/PageControls.tid b/core/wiki/tags/PageControls.tid index 81d1e46a7..d26d51f68 100644 --- a/core/wiki/tags/PageControls.tid +++ b/core/wiki/tags/PageControls.tid @@ -1,2 +1,2 @@ title: $:/tags/PageControls -list: [[$:/core/ui/Buttons/home]] [[$:/core/ui/Buttons/close-all]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/new-tiddler]] [[$:/core/ui/Buttons/new-journal]] [[$:/core/ui/Buttons/import]] [[$:/core/ui/Buttons/control-panel]] [[$:/core/ui/Buttons/tag-manager]] [[$:/core/ui/Buttons/language]] [[$:/core/ui/Buttons/theme]] [[$:/core/ui/Buttons/storyview]] [[$:/core/ui/Buttons/encryption]] [[$:/core/ui/Buttons/full-screen]] [[$:/core/ui/Buttons/save-wiki]] [[$:/core/ui/Buttons/refresh]] [[$:/core/ui/Buttons/more-page-actions]] +list: [[$:/core/ui/Buttons/home]] [[$:/core/ui/Buttons/close-all]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/new-tiddler]] [[$:/core/ui/Buttons/new-journal]] [[$:/core/ui/Buttons/import]] [[$:/core/ui/Buttons/control-panel]] [[$:/core/ui/Buttons/advanced-search]] [[$:/core/ui/Buttons/tag-manager]] [[$:/core/ui/Buttons/language]] [[$:/core/ui/Buttons/theme]] [[$:/core/ui/Buttons/storyview]] [[$:/core/ui/Buttons/encryption]] [[$:/core/ui/Buttons/full-screen]] [[$:/core/ui/Buttons/save-wiki]] [[$:/core/ui/Buttons/refresh]] [[$:/core/ui/Buttons/more-page-actions]]