home.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>loli-safe - A small safe worth protecting.</title>
  5. <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.3.0/css/bulma.min.css">
  6. <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.css">
  7. <link rel="stylesheet" type="text/css" href="/css/style.css">
  8. <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script>
  9. <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/dropzone/4.3.0/min/dropzone.min.js"></script>
  10. <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.15.3/axios.min.js"></script>
  11. <script type="text/javascript" src="/js/upload.js"></script>
  12. </head>
  13. <body>
  14. <section class="hero is-fullheight has-text-centered" id="home">
  15. <div class="hero-body">
  16. <div class="container">
  17. <p id="b">
  18. <img class='logo' src="/images/logo_smol.png">
  19. </p>
  20. <h1 class="title">loli-safe</h1>
  21. <h2 class="subtitle">A <strong>modern</strong> self-hosted file upload service</h2>
  22. <h3 class="subtitle" id="maxFileSize"></h2>
  23. <div class="columns">
  24. <div class="column is-hidden-mobile"></div>
  25. <div class="column" id='uploadContainer'>
  26. <a id="loginToUpload" href="/auth" class="button is-danger">Running in private mode. Log in to upload.</a>
  27. </div>
  28. <div class="column is-hidden-mobile"></div>
  29. </div>
  30. <div id="uploads">
  31. <div id="template" class="columns">
  32. <div class="column is-hidden-mobile"></div>
  33. <div class="column">
  34. <progress class="progress is-small is-danger" value="0" max="100" data-dz-uploadprogress></progress>
  35. <p data-dz-errormessage></p>
  36. <p class="link"></p>
  37. </div>
  38. <div class="column is-hidden-mobile"></div>
  39. </div>
  40. </div>
  41. <h3 id="links">
  42. <a href="https://github.com/kanadeko/loli-safe" target="_blank" class="is-danger">View on Github</a><span>|</span><a href="https://chrome.google.com/webstore/detail/loli-safe-uploader/enkkmplljfjppcdaancckgilmgoiofnj" target="_blank" class="is-danger">Chrome extension</a><span>|</span><a href="/auth" target="_blank" class="is-danger">Manage your uploads</a>
  43. </h3>
  44. </div>
  45. </div>
  46. </section>
  47. </body>
  48. </html>