album.handlebars 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta name="description" content="A pomf-like file uploading service that doesn't suck.">
  5. <meta name="keywords" content="upload,lolisafe,file,images,hosting">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  8. <link rel="apple-touch-icon" sizes="180x180" href="https://lolisafe.moe/images/icons/apple-touch-icon.png?v=XBreOJMe24">
  9. <link rel="icon" type="image/png" href="https://lolisafe.moe/images/icons/favicon-32x32.png?v=XBreOJMe24" sizes="32x32">
  10. <link rel="icon" type="image/png" href="https://lolisafe.moe/images/icons/favicon-16x16.png?v=XBreOJMe24" sizes="16x16">
  11. <link rel="manifest" href="https://lolisafe.moe/images/icons/manifest.json?v=XBreOJMe24">
  12. <link rel="mask-icon" href="https://lolisafe.moe/images/icons/safari-pinned-tab.svg?v=XBreOJMe24" color="#5bbad5">
  13. <link rel="shortcut icon" href="https://lolisafe.moe/images/icons/favicon.ico?v=XBreOJMe24">
  14. <meta name="apple-mobile-web-app-title" content="lolisafe">
  15. <meta name="application-name" content="lolisafe">
  16. <meta name="msapplication-config" content="https://lolisafe.moe/images/icons/browserconfig.xml?v=XBreOJMe24">
  17. <meta name="theme-color" content="#ffffff">
  18. <meta property="og:url" content="https://lolisafe.moe" />
  19. <meta property="og:type" content="website" />
  20. <meta property="og:title" content="{{ title }} | {{ count }} files" />
  21. <meta property="og:description" content="lolisafe.moe | A small safe worth protecting." />
  22. <meta property="og:image" content="{{ thumb }}" />
  23. <meta property="og:image:secure_url" content="{{ thumb }}" />
  24. <meta name="twitter:card" content="summary">
  25. <meta name="twitter:title" content="{{ title }} | {{ count }} files">
  26. <meta name="twitter:description" content="lolisafe.moe | A small safe worth protecting.">
  27. <meta name="twitter:image" content="{{ thumb }}">
  28. <meta name="twitter:image:src" content="{{ thumb }}">
  29. <title>{{ title }}</title>
  30. <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.3.0/css/bulma.min.css">
  31. <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.css">
  32. <link rel="stylesheet" type="text/css" href="/css/style.css">
  33. <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script>
  34. <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.15.3/axios.min.js"></script>
  35. </head>
  36. <body>
  37. <section class="hero is-fullheight">
  38. <div class="hero-head">
  39. <div class="container">
  40. <div class="columns">
  41. <div class="column is-9">
  42. <h1 class="title" id='title' style='margin-top: 1.5rem;'>{{ title }}</h1>
  43. <h1 class="subtitle" id='count'>{{ count }} files</h1>
  44. </div>
  45. <div class="column is-3" style="text-align: right; padding-top: 45px;">
  46. {{#if enableDownload}}
  47. <a class="button is-primary is-outlined" title="Download album" href="/api/album/zip/{{ identifier }}">Download Album</a>
  48. {{/if}}
  49. </div>
  50. </div>
  51. <hr>
  52. </div>
  53. </div>
  54. <div class="hero-body">
  55. <div class="container" id='container'>
  56. <div class="columns is-multiline is-mobile" id="table">
  57. {{#each files}}
  58. <div class="column is-2">
  59. <a href="{{ this.file }}" target="_blank">{{{ this.thumb }}}</a>
  60. </div>
  61. {{/each}}
  62. </div>
  63. </div>
  64. </div>
  65. </section>
  66. </body>
  67. </html>