spee.ch/views/partials/publish.handlebars

35 lines
1.4 KiB
Handlebars
Raw Normal View History

2017-06-23 06:43:53 +02:00
<div class="panel">
<h2>Publish</h2>
<div class="col-left">
<div id="drop-zone" ondrop="drop_handler(event);" ondragover="dragover_handler(event);" ondragend="dragend_handler(event)">
<p>Drag and drop your file here, or choose your file below.</p>
<input type="file" id="siofu_input" name="file" accept="video/*,image/*" onchange="previewAndStageFile(event.target.files[0])" enctype="multipart/form-data"/>
2017-06-11 03:33:03 +02:00
</div>
2017-06-23 23:07:17 +02:00
<div class="image-preview-holder">
<img id="image-preview" src="" width="100%" alt="Image preview..."/>
</div>
2017-06-23 06:43:53 +02:00
</div>
<div class="col-right">
<textarea id="direct-link-holder" hidden="true">No URL yet</textarea>
<div id="publish-active-area">
2017-07-03 20:16:51 +02:00
2017-06-23 19:58:22 +02:00
<input type="text" id="publish-name" placeholder="Your claim name" class="form-control">
2017-06-23 06:43:53 +02:00
<p>
<label for="publish-license">License:</label>
<select type="text" id="publish-license" name="license" value="license">
<option value="Public Domain">Public Domain</option>
<option value="Creative Commons">Creative Commons</option>
2017-06-27 03:14:42 +02:00
</select>
<br />
2017-06-23 06:43:53 +02:00
<input type="checkbox" id="publish-nsfw">
<label for="publish-nsfw">NSFW</label>
</p>
<p>
<button id="publish-submit">Publish</button>
<a href="/"><button id="publish-reset">Reset</button></a>
</p>
<p><i>By clicking 'Publish' I attest that I have read and agree to the <a href="https://lbry.io/termsofservice" target="_blank">LBRY terms of service</a>.</i></p>
2017-06-11 03:33:03 +02:00
</div>
2017-06-10 05:39:07 +02:00
</div>
</div>