index.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>
  5. <%= productName %>
  6. </title>
  7. <meta charset="utf-8">
  8. <meta name="description" content="<%= productDescription %>">
  9. <meta name="format-detection" content="telephone=no">
  10. <meta name="msapplication-tap-highlight" content="no">
  11. <meta name="viewport"
  12. content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<% if (ctx.mode.cordova || ctx.mode.capacitor) { %>, viewport-fit=cover<% } %>">
  13. <link rel="icon" type="image/png" sizes="128x128" href="icons/favicon-128x128.png">
  14. <link rel="icon" type="image/png" sizes="96x96" href="icons/favicon-96x96.png">
  15. <link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
  16. <link rel="icon" type="image/png" sizes="16x16" href="icons/favicon-16x16.png">
  17. <link rel="icon" type="image/ico" href="favicon.ico">
  18. <style>
  19. #loader {
  20. border: 12px solid #f3f3f3;
  21. border-radius: 50%;
  22. border-top: 12px solid #444444;
  23. width: 70px;
  24. height: 70px;
  25. animation: spin 1s linear infinite;
  26. }
  27. @keyframes spin {
  28. 100% {
  29. transform: rotate(360deg);
  30. }
  31. }
  32. .center {
  33. position: absolute;
  34. top: 0;
  35. bottom: 0;
  36. left: 0;
  37. right: 0;
  38. margin: auto;
  39. }
  40. .loader-back {
  41. background-color: rgba(55, 55, 55, 0.5);
  42. }
  43. /*to make it compatible with physics.itmo.ru*/
  44. .row {
  45. margin-left: unset;
  46. margin-right: unset;
  47. margin-bottom: unset;
  48. }
  49. .q-gutter-x-md>*,
  50. .q-gutter-md>* {
  51. margin-left: 16px !important;
  52. }
  53. .q-ml-md {
  54. margin-left: 16px !important;
  55. }
  56. #q-app header.fixed-top {
  57. position: absolute;
  58. }
  59. .q-header {
  60. z-index: 1000 !important;
  61. }
  62. .q-field__control::before,
  63. .q-field__control::after {
  64. content: "" !important;
  65. }
  66. #q-app .row::before,
  67. #q-app .row::after {
  68. content: none;
  69. display: flex;
  70. }
  71. #q-app button:hover {
  72. font-family: Roboto, -apple-system, Helvetica Neue, Helvetica, Arial, sans-serif;
  73. }
  74. #q-app a {
  75. text-decoration: none;
  76. }
  77. #q-app a:hover,
  78. #q-app a:focus {
  79. color: inherit;
  80. }
  81. .col-sm-12 {
  82. padding-left: unset;
  83. padding-right: unset;
  84. }
  85. .container {
  86. padding-left: unset;
  87. padding-right: unset;
  88. margin-left: unset;
  89. margin-right: unset;
  90. }
  91. .q-page-scroller {
  92. z-index: 1;
  93. }
  94. </style>
  95. </head>
  96. <body class="loader-back">
  97. <div id="loader" class="center"></div>
  98. <!-- quasar:entry-point -->
  99. <script>
  100. document.onreadystatechange = function () {
  101. if (document.readyState !== "complete") {
  102. document.querySelector(
  103. "#loader").style.visibility = "visible";
  104. } else {
  105. document.querySelector(
  106. "#loader").style.display = "none";
  107. document.querySelector(
  108. "body").style.backgroundColor = "White";
  109. }
  110. };
  111. </script>
  112. </body>
  113. </html>