From 2322be3f41bad7d8ed2900b9892a59b39d196a27 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Thu, 17 Jul 2014 18:42:04 +0100 Subject: [PATCH] Add preview to upgrade wizard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tiddlers are wikified in the context of the host wiki, which means that mutual transclusions between imported tiddlers won’t appear correct in the preview. --- core/ui/ImportListing.tid | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/core/ui/ImportListing.tid b/core/ui/ImportListing.tid index c51a013a5..1ca1ff9e3 100644 --- a/core/ui/ImportListing.tid +++ b/core/ui/ImportListing.tid @@ -7,6 +7,9 @@ message-$(payloadTiddler)$ \define selectionField() selection-$(payloadTiddler)$ \end +\define previewPopupState() +!!popup-$(payloadTiddler)$ +\end @@ -26,14 +29,28 @@ selection-$(payloadTiddler)$ <$checkbox field=<> checked="checked" unchecked="unchecked" default="checked"/> + + +
-<$link to=<>> -<$text text=<>/> - +<$reveal type="nomatch" state=<> text="yes"> +<$button class="btn-invisible btn-dropdown" set=<> setTo="yes"> +{{$:/core/images/right-arrow}}<$text text=<>/> + + +<$reveal type="match" state=<> text="yes"> +<$button class="btn-invisible btn-dropdown" set=<> setTo="no"> +{{$:/core/images/down-arrow}}<$text text=<>/> + + <$view field=<>/>
+<$reveal type="match" text="yes" state=<>> +<$transclude subtiddler=<> mode="block"/> + +