mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-24 10:36:50 +00:00
![Jermolene](/assets/img/avatar_default.png)
By rearranging the `[all[]]` operator we are able to ensure that shadow tiddlers get processed before ordinary tiddlers. This makes it easier to create custom stylesheets that override the core.
24 lines
970 B
Plaintext
24 lines
970 B
Plaintext
title: $:/core/ui/SideBarLists
|
|
|
|
<div class="tw-sidebar-lists">
|
|
<div class="tw-search">
|
|
<$edit-text tiddler="$:/temp/search" type="search" tag="input"/>
|
|
<$reveal state="$:/temp/search" type="nomatch" text="">
|
|
<$linkcatcher to="$:/temp/search">
|
|
<$link to="" class="btn-invisible">{{$:/core/images/close-button}}</$link>
|
|
</$linkcatcher>
|
|
</$reveal>
|
|
<$reveal state="$:/temp/search" type="match" text=""> <$link to="$:/AdvancedSearch" class="btn-invisible">…</$link>
|
|
</$reveal>
|
|
</div>
|
|
<$reveal state="$:/temp/search" type="nomatch" text="">
|
|
<div class="tw-search-results">
|
|
{{$:/language/Search/Matches}}
|
|
<$list filter="[!is[system]search{$:/temp/search}sort[title]limit[250]]" template="$:/core/ui/ListItemTemplate"/>
|
|
</div>
|
|
</$reveal>
|
|
<$reveal state="$:/temp/search" type="match" text="">
|
|
<<tabs "[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]" "$:/core/ui/SideBar/Open" "$:/state/tab/sidebar">>
|
|
</$reveal>
|
|
</div>
|