home.handlebars 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. {{#> base}}
  2. {{#*inline "head-block"}}
  3. <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.css">
  4. <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script>
  5. <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/dropzone/4.3.0/min/dropzone.min.js"></script>
  6. <script type="text/javascript" src="/js/home.js"></script>
  7. {{/inline}}
  8. {{#*inline "body-block"}}
  9. <section class="hero is-fullheight has-text-centered" id="home">
  10. <div class="hero-body">
  11. <div class="container">
  12. <p id="b">
  13. <img class="logo" src="/images/logo_smol.png">
  14. </p>
  15. <h1 class="title">meidosafe</h1>
  16. <h2 class="subtitle">A <strong>modern</strong> self-hosted file upload service</h2>
  17. <h3 class="subtitle" id="maxFileSize"></h3>
  18. <div class="columns">
  19. <div class="column is-hidden-mobile"></div>
  20. <div class="column" id="uploadContainer">
  21. <a id="loginToUpload" href="/auth" class="button is-danger">Running in private mode. Log in to upload.</a>
  22. <div class="field" id="albumDiv" style="display: none">
  23. <p class="control select-wrapper">
  24. <span class="select">
  25. <select id="albumSelect">
  26. <option value="">Upload to album</option>
  27. </select>
  28. </span>
  29. </p>
  30. </div>
  31. </div>
  32. <div class="column is-hidden-mobile"></div>
  33. </div>
  34. <div id="uploads">
  35. <div id="template" class="columns">
  36. <div class="column is-hidden-mobile"></div>
  37. <div class="column">
  38. <progress class="progress is-small is-danger" value="0" max="100" data-dz-uploadprogress></progress>
  39. <p data-dz-errormessage></p>
  40. <p class="link"></p>
  41. </div>
  42. <div class="column is-hidden-mobile"></div>
  43. </div>
  44. </div>
  45. <h3 class="subtitle"><a href="/auth" id="loginLinkText"></a></h3>
  46. <h3 id="links">
  47. <a href="https://github.com/WeebDev/lolisafe" target="_blank" class="is-danger">View on GitHub</a><span>|</span><a id="ShareX" href="https://safe.meido.space/sharex.txt">ShareX</a><span>|</span><a href="https://chrome.google.com/webstore/detail/lolisafe-uploader/enkkmplljfjppcdaancckgilmgoiofnj" target="_blank" class="is-danger">Chrome extension</a><span>|</span><a href="/faq" class="is-danger">FAQ</a><span>|</span><a href="/auth" target="_blank" class="is-danger">Dashboard</a>
  48. </h3>
  49. </div>
  50. </div>
  51. </section>
  52. {{/inline}}
  53. {{/base}}