spee.ch/views/partials/publish.handlebars

40 lines
1.6 KiB
Handlebars
Raw Normal View History

<div class="col-md-12">
2017-06-11 03:33:03 +02:00
<div class="card" id="publish">
2017-06-15 17:03:29 +02:00
<div class="card-title card-block grey lighten-1 white-text">
2017-06-11 03:33:03 +02:00
<h2>Publish Your Own</h2>
</div>
2017-06-22 04:10:39 +02:00
<div class="card-block">
<div class="row">
<div class="col-md-6">
<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"/>
</div>
<img id="image-preview" src="" height="200" alt="Image preview..."/>
2017-06-11 03:33:03 +02:00
</div>
2017-06-22 04:10:39 +02:00
<div id="publish-active-area" class="col-md-6">
<form>
<div class="md-form">
<input type="text" id="publish-name" value="Name" class="form-control">
</div>
<fieldset class="form-group">
License:
<select type="text" id="publish-license" name="license" value="license">
<option value="Public Domain">Public Domain</option>
<option value="Creative Commons">Creative Commons</option>
</select>
</fieldset>
<fieldset class="form-group">
<input type="checkbox" id="publish-nsfw">
<label for="publish-nsfw">NSFW</label>
</fieldset>
<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>
<button id="publish-submit">Publish</button>
<button id="publish-reset">Reset</button>
</form>
2017-06-11 04:10:46 +02:00
</div>
</div>
2017-06-11 03:33:03 +02:00
</div>
2017-06-10 05:39:07 +02:00
</div>
</div>