12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <%include file="header.inc.html"/>
- <div class="box centered">
- <h1 class="title">Upload a video</h1>
- <hr>
- <div class="field">
- <label class="label">Video</label>
- <div class="control">
- <input type="file" id="video" />
- </div>
- <p class="help">WebM; resolution upto <b>2048x2048</b>; max. duration is <b>15</b> minutes.</p>
- <p id="file_error" class="help is-danger">This video is not valid.</p>
- </div>
- <div class="dropdown is-active wider">
- <div class="dropdown-trigger wider">
- <div class="control wider">
- <div class="field wider">
- <label class="label">Tags</label>
- <input id="tags_field" class="input" type="text" />
- </div>
- <p id="tags_error" class="help is-danger">Please, enter valid tags.</p>
- </div>
- </div>
- <div id="upload_suggestions" class="dropdown-menu" role="menu">
- <div id="upload_suggestions_content" class="dropdown-content"></div>
- </div>
- </div>
- <div class="field">
- <div class="control">
- <div id="h-captcha" class="h-captcha" data-sitekey="${hcaptcha_sitekey}"></div>
- </div>
- <p id="captcha_error" class="help is-danger">Please, confirm the captcha.</p>
- </div>
- <div class="field">
- <div class="control">
- <button id="upload_button" class="button is-primary">Upload</button>
- </div>
- </div>
- </form>
- <script src="/static/js/upload.js"></script>
- <%include file="footer.inc.html"/>
|