diff --git a/plugins/tiddlywiki/tiddlyweb/save-wiki-button.tid b/plugins/tiddlywiki/tiddlyweb/save-wiki-button.tid index 7a2d794eda..47d55216f7 100644 --- a/plugins/tiddlywiki/tiddlyweb/save-wiki-button.tid +++ b/plugins/tiddlywiki/tiddlyweb/save-wiki-button.tid @@ -3,42 +3,44 @@ tags: $:/tags/PageControls caption: {{$:/core/images/cloud-sync}} Server status description: Status of synchronisation with server +\whitespace trim \define config-title() $:/config/PageControlButtons/Visibility/$(listItem)$ \end <$button popup=<> tooltip="Status of synchronisation with server" aria-label="Server status" class=<> selectedClass="tc-selected"> - -<$list filter="[match[yes]]"> -{{$:/core/images/cloud-sync}} - -<$list filter="[match[yes]]"> -<$text text="Server status"/> - - -<$reveal state=<> type="popup" position="below" animate="yes"> -
-<$reveal state="$:/status/IsLoggedIn" type="nomatch" text="yes"> -<$button message="tm-login" class="tc-btn-invisible"> -{{$:/core/images/unlocked-padlock}} Login + + <$list filter="[match[yes]]"> + {{$:/core/images/cloud-sync}} + + <$list filter="[match[yes]]"> + <$text text="Server status"/> + + +<$reveal state=<> type="popup" position="below" animate="yes"> +
+ <$reveal state="$:/status/IsLoggedIn" type="nomatch" text="yes"> + <$button message="tm-login" class="tc-btn-invisible"> + {{$:/core/images/unlocked-padlock}} Login + + + <$reveal state="$:/status/IsLoggedIn" type="match" text="yes"> +

+ Currently logged in<$reveal state="$:/status/UserName" type="nomatch" text="" default=""> as <$text text={{$:/status/UserName}}/> +

+ <$button tooltip="Get latest changes from the server" aria-label="Refresh from server" class="tc-btn-invisible"> + <$action-sendmessage $message="tm-server-refresh"/> + {{$:/core/images/refresh-button}} <$text text="Refresh from server"/> + + <$button class="tc-btn-invisible"> + <$wikify name="site-title" text={{$:/config/SaveWikiButton/Filename}}> + <$action-sendmessage $message="tm-download-file" $param={{$:/config/SaveWikiButton/Template}} filename=<>/> + + {{$:/core/images/download-button}} Save snapshot for offline use + + <$button message="tm-logout" class="tc-btn-invisible"> + {{$:/core/images/cancel-button}} Logout + + +
-<$reveal state="$:/status/IsLoggedIn" type="match" text="yes"> -

-Currently logged in<$reveal state="$:/status/UserName" type="nomatch" text="" default=""> as <$text text={{$:/status/UserName}}/> -

-<$button tooltip="Get latest changes from the server" aria-label="Refresh from server" class="tc-btn-invisible"> -<$action-sendmessage $message="tm-server-refresh"/> -{{$:/core/images/refresh-button}} <$text text="Refresh from server"/> - -<$button class="tc-btn-invisible"> -<$wikify name="site-title" text={{$:/config/SaveWikiButton/Filename}}> -<$action-sendmessage $message="tm-download-file" $param={{$:/config/SaveWikiButton/Template}} filename=<>/> - -{{$:/core/images/download-button}} Save snapshot for offline use - -<$button message="tm-logout" class="tc-btn-invisible"> -{{$:/core/images/cancel-button}} Logout - - -
- \ No newline at end of file