home.html 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>loli-safe - A self hosted upload service</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. <p id='tokenContainer' class="control has-addons has-addons-centered">
  27. <input id='token' class="input is-danger" type="text" placeholder="Your upload token">
  28. <a id='tokenSubmit' class="button is-danger">Check</a>
  29. </p>
  30. </div>
  31. <div class="column is-hidden-mobile"></div>
  32. </div>
  33. <div id="uploads">
  34. <div id="template" class="columns">
  35. <div class="column is-hidden-mobile"></div>
  36. <div class="column">
  37. <progress class="progress is-small is-danger" value="0" max="100" data-dz-uploadprogress></progress>
  38. <p data-dz-errormessage></p>
  39. <p class="link"></p>
  40. </div>
  41. <div class="column is-hidden-mobile"></div>
  42. </div>
  43. </div>
  44. <h3 id="links">
  45. <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="/panel" target="_blank" class="is-danger">Dashboard</a>
  46. </h3>
  47. </div>
  48. </div>
  49. </section>
  50. </body>
  51. </html>