mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-09 19:39:57 +00:00
e254529763
And more reliable checking of the result returned from the server
30 lines
1.0 KiB
Plaintext
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//
|