From 50cf85ae86130832610278a97cda3f3103bd559f Mon Sep 17 00:00:00 2001 From: Jermolene Date: Thu, 19 Feb 2015 13:58:27 +0000 Subject: [PATCH] Move arrows to the left in the explorer view --- editions/prerelease/tiddlers/Explore.tid | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/editions/prerelease/tiddlers/Explore.tid b/editions/prerelease/tiddlers/Explore.tid index a969ec491..f6e8d601f 100644 --- a/editions/prerelease/tiddlers/Explore.tid +++ b/editions/prerelease/tiddlers/Explore.tid @@ -5,6 +5,14 @@ caption: Explore \define treenode-inner(prefix) <$reveal type="nomatch" text="" default="""$(chunk)$""">
  • +<$list filter="""[all[shadows+tiddlers]prefix[$prefix$$(chunk)$]] -[[$prefix$$(chunk)$]] +[limit[1]]""" emptyMessage=""""""> +<$reveal type="nomatch" state="""$:/state/tree/$prefix$$(chunk)$""" text="show"> +<$button set="""$:/state/tree/$prefix$$(chunk)$""" setTo="show" class="tc-btn-invisible">{{$:/core/images/right-arrow}} + +<$reveal type="match" state="""$:/state/tree/$prefix$$(chunk)$""" text="show"> +<$button set="""$:/state/tree/$prefix$$(chunk)$""" setTo="hide" class="tc-btn-invisible">{{$:/core/images/down-arrow}} + + <$list filter="""[[$prefix$$(chunk)$]is[shadow]] [[$prefix$$(chunk)$]is[tiddler]] +[limit[1]]""" emptyMessage="""<$text text="$prefix$$(chunk)$"/>"""> <$link> <$view field="title"/> @@ -12,11 +20,7 @@ caption: Explore <$list filter="""[all[shadows+tiddlers]prefix[$prefix$$(chunk)$]] -[[$prefix$$(chunk)$]] +[limit[1]]"""> (<$count filter="""[all[shadows+tiddlers]prefix[$prefix$$(chunk)$]] -[[$prefix$$(chunk)$]]"""/>) -<$reveal type="nomatch" state="""$:/state/tree/$prefix$$(chunk)$""" text="show"> -<$button set="""$:/state/tree/$prefix$$(chunk)$""" setTo="show" class="tc-btn-invisible">{{$:/core/images/chevron-right}} - <$reveal type="match" state="""$:/state/tree/$prefix$$(chunk)$""" text="show"> -<$button set="""$:/state/tree/$prefix$$(chunk)$""" setTo="hide" class="tc-btn-invisible">{{$:/core/images/chevron-down}} <$macrocall $name="treenode" prefix="""$prefix$$(chunk)$"""/>