mirror of
https://codeberg.org/valpackett/tiddlypwa.git
synced 2025-12-15 15:10:32 -08:00
add trimming to the "UploadApp" tiddler
This commit is contained in:
parent
f222ea720a
commit
9693281cb4
1 changed files with 13 additions and 3 deletions
|
|
@ -1,10 +1,20 @@
|
|||
title: $:/plugins/valpackett/tiddlypwa/upload-app-form
|
||||
|
||||
\procedure input(tiddler,id,tag:input,default)
|
||||
<$tiddler tiddler=<<tiddler>> >
|
||||
<$edit-text inputActions=<<inputActions>> id=<<id>> tag=<<tag>> default=<<default>> />
|
||||
</$tiddler>
|
||||
\end
|
||||
|
||||
\procedure inputActions()
|
||||
<$action-setfield text={{{ [<actionValue>trim[]] }}} />
|
||||
\end
|
||||
|
||||
<div class="tc-control-panel">
|
||||
|
||||
|tc-table-no-border tc-max-width tc-first-col-min-width|k
|
||||
| URL|<$edit-text id="tpwa-endpoint-url" tiddler="$:/temp/TiddlyPWAServerURL" tag="input" default="https://" /> |
|
||||
| Token|<$edit-text tiddler="$:/temp/TiddlyPWAServerToken" tag="input" default="" /> |
|
||||
| URL|<<input id:"tpwa-endpoint-url" tiddler:"$:/temp/TiddlyPWAServerURL" default:"https://" >> |
|
||||
| Token|<<input tiddler:"$:/temp/TiddlyPWAServerToken">> |
|
||||
| |<$button><$action-sendmessage $message="tiddlypwa-upload-app-wiki" publishFilter={{$:/plugins/valpackett/tiddlypwa/app-filter}} uploadUrl={{$:/temp/TiddlyPWAServerURL}} uploadToken={{$:/temp/TiddlyPWAServerToken}} />Upload</$button> |
|
||||
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue