mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-11 09:50:27 +00:00
Spruce up the control panel
Structure things with extensible tabs.
This commit is contained in:
parent
dc6a9c6348
commit
2598e22422
3
core/ui/ControlPanel.tid
Normal file
3
core/ui/ControlPanel.tid
Normal file
@ -0,0 +1,3 @@
|
||||
title: $:/ControlPanel
|
||||
|
||||
<div class="tw-control-panel"><<tabs "[is[shadow]!has[draft.of]tag[$:/tags/ControlPanel]] [!is[shadow]!has[draft.of]tag[$:/tags/ControlPanel]]" "$:/core/ui/ControlPanel/Basics">></div>
|
11
core/ui/ControlPanel/Appearance.tid
Normal file
11
core/ui/ControlPanel/Appearance.tid
Normal file
@ -0,0 +1,11 @@
|
||||
title: $:/core/ui/ControlPanel/Appearance
|
||||
tags: $:/tags/ControlPanel
|
||||
caption: Appearance
|
||||
|
||||
! Theme
|
||||
|
||||
{{$:/snippets/themeswitcher}}
|
||||
|
||||
! Story View
|
||||
|
||||
{{$:/snippets/viewswitcher}}
|
9
core/ui/ControlPanel/Basics.tid
Normal file
9
core/ui/ControlPanel/Basics.tid
Normal file
@ -0,0 +1,9 @@
|
||||
title: $:/core/ui/ControlPanel/Basics
|
||||
tags: $:/tags/ControlPanel
|
||||
caption: Basics
|
||||
|
||||
|[[Title of this TiddlyWiki|SiteTitle]] |<$edit-text tiddler="SiteTitle" default="" tag="input"/> |
|
||||
|[[Subtitle|SiteSubtitle]] |<$edit-text tiddler="SiteSubtitle" default="" tag="input"/> |
|
||||
|[[Username for signing edits|$:/status/UserName]] |<$edit-text tiddler="$:/status/UserName" default="" tag="input"/> |
|
||||
|[[Animation duration|$:/config/AnimationDuration]] |<$edit-text tiddler="$:/config/AnimationDuration" default="" tag="input"/> |
|
||||
|[[DefaultTiddlers|$:/DefaultTiddlers]] |Choose which tiddlers are displayed at startup:<br> <$edit-text tag="textarea" tiddler="$:/DefaultTiddlers"/> |
|
5
core/ui/ControlPanel/Encryption.tid
Normal file
5
core/ui/ControlPanel/Encryption.tid
Normal file
@ -0,0 +1,5 @@
|
||||
title: $:/core/ui/ControlPanel/Encryption
|
||||
tags: $:/tags/ControlPanel
|
||||
caption: Encryption
|
||||
|
||||
{{$:/snippets/encryptionstatus}}
|
13
core/ui/ControlPanel/Info.tid
Normal file
13
core/ui/ControlPanel/Info.tid
Normal file
@ -0,0 +1,13 @@
|
||||
title: $:/core/ui/ControlPanel/Info
|
||||
tags: $:/tags/ControlPanel
|
||||
caption: Info
|
||||
|
||||
! Your Stuff
|
||||
|
||||
* Number of tiddlers: <$count filter="[!is[system]]"/>
|
||||
|
||||
! TiddlyWiki's Stuff
|
||||
|
||||
* Number of system tiddlers: <$count filter="[is[system]]"/>
|
||||
* Number of shadow tiddlers: <$count filter="[is[shadow]]"/>
|
||||
** Number of over-ridden shadow tiddlers: <$count filter="[!is[system]is[shadow]]"/>
|
@ -1,6 +1,6 @@
|
||||
title: $:/ConfigInfo
|
||||
|
||||
This tiddler displays the internal configuration of this wiki, which can be useful for troubleshooting, or just to help understand how TiddlyWiki5 works.
|
||||
title: $:/core/ui/ControlPanel/Internals
|
||||
tags: $:/tags/ControlPanel
|
||||
caption: Internals
|
||||
|
||||
! Tiddler fields
|
||||
|
7
core/ui/ControlPanel/Plugins.tid
Normal file
7
core/ui/ControlPanel/Plugins.tid
Normal file
@ -0,0 +1,7 @@
|
||||
title: $:/core/ui/ControlPanel/Plugins
|
||||
tags: $:/tags/ControlPanel
|
||||
caption: Plugins
|
||||
|
||||
<table><tbody><tr><th>Title</th><th>Description</th></tr><$list filter="[!has[draft.of]has[plugin-type]sort[title]]"><tr><td><$link to={{!!title}}><$view field="title"/></$link></td><td><$view field="description"/></td></tr></$list>
|
||||
</tbody>
|
||||
</table>
|
@ -1,4 +1,4 @@
|
||||
title: $:/ControlPanel
|
||||
title: $:/ControlPanel_old
|
||||
|
||||
''Initial setup''
|
||||
|
||||
|
@ -1,6 +0,0 @@
|
||||
title: $:/WikiInfo
|
||||
|
||||
* Tiddlers: <$count filter="[!is[system]]"/>
|
||||
* System tiddlers: <$count filter="[is[system]]"/>
|
||||
* Shadow tiddlers: <$count filter="[is[shadow]]"/>
|
||||
** Over-ridden shadow tiddlers: <$count filter="[!is[system]is[shadow]]"/>
|
2
core/wiki/tags/ControlPanel.tid
Normal file
2
core/wiki/tags/ControlPanel.tid
Normal file
@ -0,0 +1,2 @@
|
||||
title: $:/tags/ControlPanel
|
||||
list: $:/core/ui/ControlPanel/Basics $:/core/ui/ControlPanel/Appearance $:/core/ui/ControlPanel/Encryption $:/core/ui/ControlPanel/Plugins $:/core/ui/ControlPanel/Internals
|
@ -3,15 +3,6 @@ title: $:/snippets/themeswitcher
|
||||
Current theme: {{$:/theme}}
|
||||
|
||||
<$linkcatcher to="$:/theme">
|
||||
|
||||
<$list filter="[plugin-type[theme]sort[title]]">
|
||||
|
||||
<$reveal state="$:/theme" type="match" text={{!!title}}>•</$reveal><$reveal state="$:/theme" type="nomatch" text={{!!title}}> </$reveal> <$link to={{!!title}}>
|
||||
|
||||
<$view field="name" format="text"/>
|
||||
|
||||
</$link>
|
||||
|
||||
<$list filter="[plugin-type[theme]sort[title]]"><div><$reveal state="$:/theme" type="match" text={{!!title}}>•</$reveal><$reveal state="$:/theme" type="nomatch" text={{!!title}}> </$reveal> <$link to={{!!title}}><$view field="name" format="text"/></$link></div>
|
||||
</$list>
|
||||
|
||||
</$linkcatcher>
|
||||
|
@ -2,12 +2,7 @@ title: $:/snippets/viewswitcher
|
||||
|
||||
Current view: {{$:/view}}
|
||||
|
||||
<$linkcatcher to="$:/view">
|
||||
|
||||
<$list filter="classic zoomin pop">
|
||||
|
||||
<$reveal state="$:/view" type="match" text={{!!title}}>•</$reveal><$reveal state="$:/view" type="nomatch" text={{!!title}}> </$reveal> <$link to={{!!title}}><$view field="title"/></$link>
|
||||
|
||||
<$linkcatcher to="$:/view"><$list filter="classic zoomin pop"><div><$reveal state="$:/view" type="match" text={{!!title}}>•</$reveal><$reveal state="$:/view" type="nomatch" text={{!!title}}> </$reveal> <$link to={{!!title}}><$view field="title"/></$link>
|
||||
</div>
|
||||
</$list>
|
||||
|
||||
</$linkcatcher>
|
||||
|
@ -18,8 +18,6 @@ This is the developer documentation hub for TiddlyWiki.
|
||||
|
||||
! Internal Objects and Mechanisms
|
||||
|
||||
{{mechanism}}
|
||||
|
||||
<$list filter="[tag[mechanism]sort[title]]" type="ul"/>
|
||||
|
||||
! Module types
|
||||
@ -29,8 +27,6 @@ See SyncAdaptorModules.
|
||||
|
||||
!! DeserializerModules
|
||||
|
||||
Deserializers are modules that read tiddlers from different text formats:
|
||||
|
||||
{{deserializers}}
|
||||
Deserializers are modules that load tiddlers from different text formats:
|
||||
|
||||
<$list filter="[tag[deserializers]sort[title]]" type="ul"/>
|
||||
|
@ -1,4 +1,6 @@
|
||||
title: $:/ControlPanel/ThemeTweaks
|
||||
title: $:/themes/tiddlywiki/snowwhite/themetweaks
|
||||
tags: $:/tags/ControlPanel
|
||||
caption: Theme Tweaks
|
||||
|
||||
You can tweak certain aspects of the ''Snow White'' theme.
|
||||
|
||||
|
@ -956,3 +956,15 @@ canvas.tw-edit-bitmapeditor {
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
}
|
||||
|
||||
/*
|
||||
** Control panel
|
||||
*/
|
||||
|
||||
.tw-control-panel td {
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.tw-control-panel table, .tw-control-panel table input, .tw-control-panel table textarea {
|
||||
width: 100%;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user