mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 13:29:56 +00:00
Move tiddlyweb stuff into a separate ServerControlPanel
Eventually we'll need a more general purpose mechanism for plugins to add UI to the control panel
This commit is contained in:
parent
64eadcfc41
commit
ba7b886067
@ -31,6 +31,7 @@ title: $:/templates/SideBar
|
||||
</$reveal>
|
||||
<$reveal type="match" state="$:/state/sideBarTabSet" text="toolsTab" qualifyTiddlerTitles="yes">
|
||||
{{$:/templates/ControlPanel}}
|
||||
{{$:/templates/ServerControlPanel}}
|
||||
</$reveal>
|
||||
<$reveal type="match" state="$:/state/sideBarTabSet" text="moreTab" qualifyTiddlerTitles="yes">
|
||||
{{$:/templates/MoreSideBar}}
|
||||
|
@ -1,20 +1,4 @@
|
||||
title: TiddlyWiki5 Personal Client Server Edition
|
||||
modified: 201304152100
|
||||
|
||||
Experimental clientserver edition of TiddlyWiki5.
|
||||
|
||||
----
|
||||
|
||||
Current [[login status|$:/status/IsLoggedIn]]: {{$:/status/IsLoggedIn}}
|
||||
|
||||
Current [[username|$:/status/UserName]]: {{$:/status/UserName}}
|
||||
|
||||
----
|
||||
|
||||
<$reveal state="$:/status/IsLoggedIn" type="nomatch" text="yes">
|
||||
Log in to ~TiddlyWeb: <$button message="tw-login" class="btn btn-info">Login</$button>
|
||||
</$reveal>
|
||||
<$reveal state="$:/status/IsLoggedIn" type="match" text="yes">
|
||||
Log out of ~TiddlyWeb: <$button message="tw-logout" class="btn btn-warning">Logout</$button>
|
||||
</$reveal>
|
||||
|
||||
<$button message="tw-server-refresh" class="btn btn-warning">Refresh</$button> to fetch changes from the server immediately
|
||||
|
12
plugins/tiddlywiki/tiddlyweb/ServerControlPanel.tid
Normal file
12
plugins/tiddlywiki/tiddlyweb/ServerControlPanel.tid
Normal file
@ -0,0 +1,12 @@
|
||||
title: $:/templates/ServerControlPanel
|
||||
|
||||
----
|
||||
|
||||
<$reveal state="$:/status/IsLoggedIn" type="nomatch" text="yes">
|
||||
Log in to ~TiddlyWeb: <$button message="tw-login" class="btn btn-info">Login</$button>
|
||||
</$reveal>
|
||||
<$reveal state="$:/status/IsLoggedIn" type="match" text="yes">
|
||||
Log out of ~TiddlyWeb: <$button message="tw-logout" class="btn btn-warning">Logout</$button>
|
||||
</$reveal>
|
||||
|
||||
<$button message="tw-server-refresh" class="btn btn-warning">Refresh</$button> to fetch changes from the server immediately
|
Loading…
Reference in New Issue
Block a user