template.html 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <!--
  2. This file is part of centurio.work/out/frame.
  3. centurio.work/out/frame is free software: you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by the Free
  5. Software Foundation, either version 3 of the License, or (at your option) any
  6. later version.
  7. centurio.work/out/frame is distributed in the hope that it will be useful, but
  8. WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  9. FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
  10. more details.
  11. You should have received a copy of the GNU General Public License along with
  12. centurio.work/out/frame (file LICENSE in the main directory). If not, see
  13. <http://www.gnu.org/licenses/>.
  14. -->
  15. <!DOCTYPE html>
  16. <html xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de">
  17. <head>
  18. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  19. <title>work frame</title>
  20. <!-- libs, do not modify. When local than load local libs. -->
  21. <script type="text/javascript" src="/js_libs/jquery.min.js"></script>
  22. <script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
  23. <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
  24. <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
  25. <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
  26. <script type="text/javascript" src="/js_libs/util.js"></script>
  27. <script type="text/javascript" src="/js_libs/printf.js"></script>
  28. <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
  29. <script type="text/javascript" src="/js_libs/parsequery.js"></script>
  30. <script type="text/javascript" src="/js_libs/underscore.min.js"></script>
  31. <script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
  32. <script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
  33. <!-- custom stuff, play arround -->
  34. <script type="text/javascript" src="../js/ui.js"></script>
  35. <script type="text/javascript" src="../js/ui2.js"></script>
  36. <script type="text/javascript" src="../js/language.js"></script>
  37. <link rel="stylesheet" href="../css/design.css" type="text/css"/>
  38. <link class='custom' rel="stylesheet" href="" type="text/css"/>
  39. <script>
  40. if (location.href.match(/\/$/) == null) {
  41. location.href = location.href + '/';
  42. }
  43. </script>
  44. </head>
  45. <body is="x-ui">
  46. <div id="container">
  47. </div>
  48. <script>
  49. const container = document.getElementById("container");
  50. function makeRows(rows, cols) {
  51. container.style.setProperty('--grid-rows', rows);
  52. container.style.setProperty('--grid-cols', cols);
  53. for (c = 0; c < (rows * cols); c++) {
  54. let cell = document.createElement("div");
  55. //cell.innerText = (c + 1);
  56. cell.classList.add("item" + (c% cols) + "-" + (Math.floor(c / cols )));
  57. cell.classList.add("grid-item");
  58. container.appendChild(cell);
  59. };
  60. };
  61. makeRows(6, 3);
  62. //makeRows(200, 300);
  63. </script>
  64. <!--
  65. <div id="languages" class="hidden"></div>
  66. <div id="nav" class="hidden">
  67. <template>
  68. <span class="item"/>
  69. </template>
  70. </div>
  71. <div id="content">
  72. <div id="nope">
  73. <div onclick="document.location.reload()">🚫</div>
  74. <div id="reason"></div>
  75. </div>
  76. <template>
  77. <div/>
  78. </template>
  79. </div>
  80. <div id="control">
  81. <template>
  82. <div><button name="" class="center"/></div>
  83. </template>
  84. </div>
  85. -->
  86. </body>
  87. </html>