You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
803 B
19 lines
803 B
<modal class="modal color-text nolabel" key="modal" enabled=(input.enabled) closable on-close("close") on-open("open") >
|
|
<h1>Upload File</h1>
|
|
|
|
<p class="color-error">${state.error}</p>
|
|
|
|
<label>File</label>
|
|
<input key="eventName" type="file" placeholder="(None)" on-change("change", "file") value=state.values.file />
|
|
|
|
<label>Name</label>
|
|
<input key="name" autofocus placeholder="(Required)" class="big" on-change("change", "name") value=state.values.name />
|
|
|
|
<label>Public</label>
|
|
<toggle value=state.values.public on="On" off="Off"
|
|
onDesc="Other members may see this file on this page."
|
|
offDesc="Only you may see this file on this page."
|
|
on-change("change", "public") />
|
|
|
|
<button disabled=state.loading on-click("save")>Save</button>
|
|
</modal>
|