home.html 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 is-hidden-mobile"></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. </div>
  27. <div class="column is-hidden-mobile"></div>
  28. </div>
  29. <div class="columns">
  30. <div class="column is-hidden-mobile"></div>
  31. <div class="column"><a id='panel' href="/panel" target="_blank" class="is-danger">Dashboard</a></div>
  32. <div class="column is-hidden-mobile"></div>
  33. </div>
  34. <div class="columns">
  35. <div class="column is-hidden-mobile"></div>
  36. <div class="column">
  37. <p>
  38. <a href="https://github.com/kanadeko/loli-safe" target="_blank" class="is-danger">View on Github</a>
  39. |
  40. <a href="https://chrome.google.com/webstore/detail/loli-safe-uploader/enkkmplljfjppcdaancckgilmgoiofnj/related" target="_blank" class="is-danger">Chrome extension</a>
  41. </p>
  42. </div>
  43. <div class="column is-hidden-mobile"></div>
  44. </div>
  45. <div id="uploads">
  46. <div id="template" class="columns">
  47. <div class="column">
  48. <p data-dz-size></p>
  49. </div>
  50. <div class="column">
  51. <p data-dz-name></p>
  52. </div>
  53. <div class="column">
  54. <progress class="progress is-danger" value="100" max="100" data-dz-uploadprogress></progress>
  55. <p data-dz-errormessage></p>
  56. <p class="link"></p>
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </section>
  63. </body>
  64. </html>