1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-05 11:43:16 +00:00
TiddlyWiki5/core/ui/ControlPanel/Saving.tid
Jermolene e254529763 More configuration controls for TiddlySpot saver
And more reliable checking of the result returned from the server
2014-01-12 12:05:15 +00:00

30 lines
1.0 KiB
Plaintext

title: $:/core/ui/ControlPanel/Saving
tags: $:/tags/ControlPanel
caption: Saving
\define backupURL()
http://$(userName)$.tiddlyspot.com/backup/
\end
\define backupLink()
<$reveal type="nomatch" state="$:/UploadName" text="">
<$set name="userName" value={{$:/UploadName}}>
<a href=<<backupURL>>><$macrocall $name="backupURL" $type="text/plain" $output="text/plain"/></a>
</$set>
</$reveal>
\end
! TiddlySpot
|[[Wiki name|$:/UploadName]] |<$edit-text tiddler="$:/UploadName" default="" tag="input"/> |
|Password |<$password name="upload"/> |
|Backups |<<backupLink>> |
!! Advanced settings
|Server URL |<$edit-text tiddler="$:/UploadURL" default="" tag="input"/> |
|Upload filename |<$edit-text tiddler="$:/UploadFilename" default="index.html" tag="input"/> |
|Upload directory |<$edit-text tiddler="$:/UploadDir" default="." tag="input"/> |
|Backup directory |<$edit-text tiddler="$:/UploadBackupDir" default="." tag="input"/> |
//The server URL defaults to `http://<wikiname>.tiddlyspot.com/store.cgi` and can be changed to use a custom server address//