index.html 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <!doctype html>
  2. <head>
  3. <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
  4. <meta content="utf-8" http-equiv="encoding">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <meta name="mobile-web-app-capable" content="yes">
  7. <meta name="theme-color" content="#dddddd">
  8. <link rel="icon" sizes="128x128" href="icon.png">
  9. <style>
  10. * {
  11. margin: 0;
  12. padding: 0;
  13. }
  14. #splash {
  15. background-color: rgb(61, 61, 61);
  16. color: rgb(207, 207, 207);
  17. padding: 10%;
  18. margin: 0%;
  19. font-size: 4em;
  20. font-weight: bolder;
  21. padding-bottom: 200%;
  22. height: 100%;
  23. font-family: Arial, Helvetica, sans-serif;
  24. }
  25. </style>
  26. </head>
  27. <body>
  28. <div id="splash">
  29. loading
  30. </div>
  31. <div id="app" style="display: none">
  32. <nav>
  33. <!-- <img class="brand" src="icon-white.png"> -->
  34. <div class="logo">{{title}}</div>
  35. <template v-for="item in items" v-if="item.price == null">
  36. <div style="font-size:0.6em; margin-left:70%;">
  37. Updated: {{item.desc}}
  38. </div>
  39. </template>
  40. </nav>
  41. <div class="content">
  42. <template v-for="item in items" v-if="item.price != null">
  43. <div class="panel">
  44. <div class="grid-auto">
  45. <div >
  46. <img :src="item.thumb" style="vertical-align:middle;">
  47. </div>
  48. <div><a :href="item.url">{{item.desc}}</a></div>
  49. <div>
  50. <div class="badge">{{item.price}} EUR</div>
  51. </div>
  52. <div>Noch {{item.remaining}}</div>
  53. <a v-bind:href="item.end_date">Add to cal</a>
  54. </div>
  55. </div>
  56. </template>
  57. <!-- {{articles}} -->
  58. </div>
  59. </div>
  60. </body>
  61. <script defer src="https://cdn.jsdelivr.net/npm/vue@2.5.13/dist/vue.min.js"></script>
  62. <link rel="stylesheet" href="https://rawgit.com/woelper/lilac/master/lilac.min.css">
  63. <script defer src="app.js"></script>
  64. <style>
  65. :root {
  66. --main-color: #2e442f;
  67. }
  68. </style>