home.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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="/css/style.css">
  7. <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/dropzone/4.3.0/min/dropzone.min.js"></script>
  8. <script type="text/javascript" src="/js/upload.js"></script>
  9. </head>
  10. <body>
  11. <section class="hero is-fullheight has-text-centered" id="home">
  12. <div class="hero-body">
  13. <div class="container">
  14. <p id="b">
  15. <img class='logo' src="/images/logo.png">
  16. </p>
  17. <h1 id="bulma" class="title">loli-safe</h1>
  18. <h2 id="modern-framework" class="subtitle">A <strong>modern</strong> self-hosted file upload service</h2>
  19. <div class="columns">
  20. <div class="column"></div>
  21. <div class="column" id='uploadContainer'>
  22. <p id='tokenContainer' class="control has-addons has-addons-centered">
  23. <input id='token' class="input is-danger" type="text" placeholder="Your upload token">
  24. <a id='tokenSubmit' class="button is-danger">Check</a>
  25. </p>
  26. <a id='btnGithub' class="button is-danger is-outlined" href='https://github.com/kanadeko/loli-safe' target='_blank'>View on Github</a>
  27. </div>
  28. <div class="column"></div>
  29. </div>
  30. <div class="columns">
  31. <div class="column"></div>
  32. <div class="column"><a id='panel' href="/panel" target="_blank" class="is-danger">Dashboard</a></div>
  33. <div class="column"></div>
  34. </div>
  35. <div class="columns">
  36. <div class="column"></div>
  37. <div class="column"><a href="https://chrome.google.com/webstore/detail/loli-safe-uploader/enkkmplljfjppcdaancckgilmgoiofnj/related" target="_blank" class="is-danger">Uploader Chrome extension</a></div>
  38. <div class="column"></div>
  39. </div>
  40. <div id="uploads">
  41. <div id="template" class="columns">
  42. <div class="column">
  43. <p data-dz-size></p>
  44. </div>
  45. <div class="column">
  46. <p data-dz-name></p>
  47. </div>
  48. <div class="column">
  49. <progress class="progress is-danger" value="100" max="100" data-dz-uploadprogress></progress>
  50. <p data-dz-errormessage></p>
  51. <p class="link"></p>
  52. </div>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. </section>
  58. </body>
  59. </html>