From 93c2ce6521f1895521a30e865c8c91ef240713a8 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 16 Oct 2013 16:30:24 +0100 Subject: [PATCH] Fix up edit widgets --- core/wiki/ControlPanel.tid | 8 ++--- editions/tw5.com/tiddlers/TiddlySpot.tid | 4 +-- themes/tiddlywiki/snowwhite/ThemeTweaks.tid | 38 ++++++++++----------- 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/core/wiki/ControlPanel.tid b/core/wiki/ControlPanel.tid index 7d25f1a46..b367a3a39 100644 --- a/core/wiki/ControlPanel.tid +++ b/core/wiki/ControlPanel.tid @@ -2,13 +2,13 @@ title: $:/ControlPanel ''Initial setup'' -:[[Title of this TiddlyWiki|SiteTitle]]: <$edit tiddler="SiteTitle" default="" type="input"/> +:[[Title of this TiddlyWiki|SiteTitle]]: <$edit-text title="SiteTitle" default="" tag="input"/> -:[[Subtitle|SiteSubtitle]]: <$edit tiddler="SiteSubtitle" default="" type="input"/> +:[[Subtitle|SiteSubtitle]]: <$edit-text title="SiteSubtitle" default="" tag="input"/> -:[[Username for signing edits|$:/status/UserName]]: <$edit tiddler="$:/status/UserName" default="" type="input"/> +:[[Username for signing edits|$:/status/UserName]]: <$edit-text title="$:/status/UserName" default="" tag="input"/> -:[[Animation duration|$:/config/AnimationDuration]]: <$edit tiddler="$:/config/AnimationDuration" default="" type="input"/>

+:[[Animation duration|$:/config/AnimationDuration]]: <$edit-text title="$:/config/AnimationDuration" default="" tag="input"/>

:Edit [[DefaultTiddlers|$:/DefaultTiddlers]] to choose which tiddlers are displayed at startup :{{$:/snippets/encryptionstatus}} diff --git a/editions/tw5.com/tiddlers/TiddlySpot.tid b/editions/tw5.com/tiddlers/TiddlySpot.tid index 199555dad..2d88fb366 100644 --- a/editions/tw5.com/tiddlers/TiddlySpot.tid +++ b/editions/tw5.com/tiddlers/TiddlySpot.tid @@ -18,7 +18,7 @@ TiddlyWiki5 isn't yet built in to TiddlySpot but you can use it by following the ! TiddlySpot details -Wiki name: <$edit tiddler="$:/UploadName" default="" type="input"/> +Wiki name: <$edit-text title="$:/UploadName" default="" tag="input"/> Password: <$password name="upload"/> @@ -26,6 +26,6 @@ Password: <$password name="upload"/> If you're using a server other than TiddlySpot, you can set the server URL here: -Service URL: <$edit tiddler="$:/UploadURL" default="" type="input"/> +Service URL: <$edit-text title="$:/UploadURL" default="" tag="input"/> //(by default, the server URL is `http://.tiddlyspot.com/store.cgi`)// diff --git a/themes/tiddlywiki/snowwhite/ThemeTweaks.tid b/themes/tiddlywiki/snowwhite/ThemeTweaks.tid index 2e8bf11cc..075ee30d5 100644 --- a/themes/tiddlywiki/snowwhite/ThemeTweaks.tid +++ b/themes/tiddlywiki/snowwhite/ThemeTweaks.tid @@ -6,32 +6,32 @@ You can tweak certain aspects of the ''Snow White'' theme. ! Colours -* Primary colour: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/colours" index="primary" default="" type="color"/> -* Background colour: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/colours" index="background" default="" type="color"/> -* Foreground colour: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/colours" index="foreground" default="" type="color"/> -* Page background colour: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/colours" index="pagebackground" default="" type="color"/> -* Medium contrast color: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/colours" index="medium" default="" type="color"/> +* Primary colour: <$edit-text title="$:/themes/tiddlywiki/snowwhite/colours" index="primary" default="" tag="input" type="color"/> +* Background colour: <$edit-text title="$:/themes/tiddlywiki/snowwhite/colours" index="background" default="" tag="input" type="color"/> +* Foreground colour: <$edit-text title="$:/themes/tiddlywiki/snowwhite/colours" index="foreground" default="" tag="input" type="color"/> +* Page background colour: <$edit-text title="$:/themes/tiddlywiki/snowwhite/colours" index="pagebackground" default="" tag="input" type="color"/> +* Medium contrast color: <$edit-text title="$:/themes/tiddlywiki/snowwhite/colours" index="medium" default="" tag="input" type="color"/> ! Colour mappings -* Tiddler background colour mapping: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/colourmappings" index="tiddlerbackground" default="" type="input"/> -* Tiddler foreground colour mapping: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/colourmappings" index="foreground" default="" type="input"/> -* Page background colour mapping: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/colourmappings" index="pagebackground" default="" type="input"/> -* Link background colour mapping: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/colourmappings" index="linkbackground" default="" type="input"/> -* Link foreground colour mapping: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/colourmappings" index="linkforeground" default="" type="input"/> -* Dropdown background colour mapping: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/colourmappings" index="dropdownbackground" default="" type="input"/> -* Dropdown border colour mapping: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/colourmappings" index="dropdownborder" default="" type="input"/> +* Tiddler background colour mapping: <$edit-text title="$:/themes/tiddlywiki/snowwhite/colourmappings" index="tiddlerbackground" default="" tag="input"/> +* Tiddler foreground colour mapping: <$edit-text title="$:/themes/tiddlywiki/snowwhite/colourmappings" index="foreground" default="" tag="input"/> +* Page background colour mapping: <$edit-text title="$:/themes/tiddlywiki/snowwhite/colourmappings" index="pagebackground" default="" tag="input"/> +* Link background colour mapping: <$edit-text title="$:/themes/tiddlywiki/snowwhite/colourmappings" index="linkbackground" default="" tag="input"/> +* Link foreground colour mapping: <$edit-text title="$:/themes/tiddlywiki/snowwhite/colourmappings" index="linkforeground" default="" tag="input"/> +* Dropdown background colour mapping: <$edit-text title="$:/themes/tiddlywiki/snowwhite/colourmappings" index="dropdownbackground" default="" tag="input"/> +* Dropdown border colour mapping: <$edit-text title="$:/themes/tiddlywiki/snowwhite/colourmappings" index="dropdownborder" default="" tag="input"/> ! Settings -* Font family: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/settings" index="fontfamily" default="" type="input"/> +* Font family: <$edit-text title="$:/themes/tiddlywiki/snowwhite/settings" index="fontfamily" default="" tag="input"/> ! Sizes -* Font size: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/metrics" index="fontsize" default="" type="input"/> -* Line height: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/metrics" index="lineheight" default="" type="input"/> -* Story left position //(the distance between the left of the screen and the left margin of the story river or tiddler area)//: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/metrics" index="storyleft" default="" type="input"/> -* Story top position //(the distance between the top of the screen ad the top margin of the story river or tiddler area)//: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/metrics" index="storytop" default="" type="input"/> -* Story right //(the distance between the left side of the screen and the left margin of the sidebar area)//: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/metrics" index="storyright" default="" type="input"/> -* Story width //(the width of the story river or tiddler area)//: <$edit tiddler="$:/themes/tiddlywiki/snowwhite/metrics" index="storywidth" default="" type="input"/> +* Font size: <$edit-text title="$:/themes/tiddlywiki/snowwhite/metrics" index="fontsize" default="" tag="input"/> +* Line height: <$edit-text title="$:/themes/tiddlywiki/snowwhite/metrics" index="lineheight" default="" tag="input"/> +* Story left position //(the distance between the left of the screen and the left margin of the story river or tiddler area)//: <$edit-text title="$:/themes/tiddlywiki/snowwhite/metrics" index="storyleft" default="" tag="input"/> +* Story top position //(the distance between the top of the screen ad the top margin of the story river or tiddler area)//: <$edit-text title="$:/themes/tiddlywiki/snowwhite/metrics" index="storytop" default="" tag="input"/> +* Story right //(the distance between the left side of the screen and the left margin of the sidebar area)//: <$edit-text title="$:/themes/tiddlywiki/snowwhite/metrics" index="storyright" default="" tag="input"/> +* Story width //(the width of the story river or tiddler area)//: <$edit-text title="$:/themes/tiddlywiki/snowwhite/metrics" index="storywidth" default="" tag="input"/>