1
0

upload.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <%include file="header.inc.html"/>
  2. <div class="box centered">
  3. <h1 class="title">Upload a video</h1>
  4. <hr>
  5. <div class="field">
  6. <label class="label">Video</label>
  7. <div class="control">
  8. <input type="file" id="video" />
  9. </div>
  10. <p class="help">WebM; resolution upto <b>2048x2048</b>; max. duration is <b>15</b> minutes.</p>
  11. <p id="file_error" class="help is-danger">This video is not valid.</p>
  12. </div>
  13. <div class="dropdown is-active wider">
  14. <div class="dropdown-trigger wider">
  15. <div class="control wider">
  16. <div class="field wider">
  17. <label class="label">Tags</label>
  18. <input id="tags_field" class="input" type="text" />
  19. </div>
  20. <p id="tags_error" class="help is-danger">Please, enter valid tags.</p>
  21. </div>
  22. </div>
  23. <div id="upload_suggestions" class="dropdown-menu" role="menu">
  24. <div id="upload_suggestions_content" class="dropdown-content"></div>
  25. </div>
  26. </div>
  27. <div class="field">
  28. <div class="control">
  29. <div id="h-captcha" class="h-captcha" data-sitekey="${hcaptcha_sitekey}"></div>
  30. </div>
  31. <p id="captcha_error" class="help is-danger">Please, confirm the captcha.</p>
  32. </div>
  33. <div class="field">
  34. <div class="control">
  35. <button id="upload_button" class="button is-primary">Upload</button>
  36. </div>
  37. </div>
  38. </form>
  39. <script src="/static/js/upload.js"></script>
  40. <%include file="footer.inc.html"/>