index.html 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <!--
  5. If you are serving your web app in a path other than the root, change the
  6. href value below to reflect the base path you are serving from.
  7. The path provided below has to start and end with a slash "/" in order for
  8. it to work correctly.
  9. For more details:
  10. * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
  11. This is a placeholder for base href that will be replaced by the value of
  12. the `--base-href` argument provided to `flutter build`.
  13. -->
  14. <base href="$FLUTTER_BASE_HREF">
  15. <meta charset="UTF-8">
  16. <meta content="IE=Edge" http-equiv="X-UA-Compatible">
  17. <meta name="description" content="Datacom Solusindo">
  18. <!-- iOS meta tags & icons -->
  19. <meta name="mobile-web-app-capable" content="yes">
  20. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  21. <meta name="apple-mobile-web-app-title" content="TelNow Application">
  22. <link rel="apple-touch-icon" href="icons/Icon-192.png">
  23. <!-- Favicon -->
  24. <link rel="icon" type="image/png" href="favicon.ico" />
  25. <title>TelNow Application</title>
  26. <link rel="manifest" href="manifest.json">
  27. <style>
  28. .loader {
  29. border: 5px solid #f3f3f3;
  30. border-radius: 50%;
  31. border-top: 5px solid #01beb5;
  32. width: 40px;
  33. height: 40px;
  34. -webkit-animation: spin 2s linear infinite;
  35. /* Safari */
  36. animation: spin 2s linear infinite;
  37. }
  38. .center {
  39. position: absolute;
  40. top: 50%;
  41. left: 50%;
  42. margin-top: -60px;
  43. margin-left: -120px;
  44. width: 240px;
  45. height: 40px;
  46. text-align: center;
  47. font-family: Arial, Helvetica, sans-serif;
  48. }
  49. .center-align {
  50. position: absolute;
  51. top: 50%;
  52. left: 50%;
  53. margin-top: 20px;
  54. margin-left: -60px;
  55. width: 40px;
  56. height: 40px;
  57. }
  58. .center-count {
  59. position: absolute;
  60. top: 50%;
  61. left: 50%;
  62. margin-top: -30px;
  63. margin-left: -120px;
  64. width: 240px;
  65. height: 40px;
  66. font-size: 20px;
  67. font-weight: bold;
  68. text-align: center;
  69. font-family: Arial, Helvetica, sans-serif;
  70. }
  71. /* Safari */
  72. @-webkit-keyframes spin {
  73. 0% {
  74. -webkit-transform: rotate(0deg);
  75. }
  76. 100% {
  77. -webkit-transform: rotate(360deg);
  78. }
  79. }
  80. @keyframes spin {
  81. 0% {
  82. transform: rotate(0deg);
  83. }
  84. 100% {
  85. transform: rotate(360deg);
  86. }
  87. }
  88. .countdown {
  89. display: inline-block;
  90. text-indent: -100vw;
  91. position: relative;
  92. width: 1ch;
  93. }
  94. .countdown::after {
  95. content: '10';
  96. position: absolute;
  97. top: 0;
  98. left: 0;
  99. text-indent: 0;
  100. animation: 18s countdown 1s forwards;
  101. }
  102. @keyframes countdown {
  103. 0% {
  104. content: '10';
  105. }
  106. 10% {
  107. content: '9';
  108. }
  109. 20% {
  110. content: '8';
  111. }
  112. 30% {
  113. content: '7';
  114. }
  115. 35% {
  116. content: '7';
  117. }
  118. 40% {
  119. content: '6';
  120. }
  121. 45% {
  122. content: '6';
  123. }
  124. 50% {
  125. content: '5';
  126. }
  127. 55% {
  128. content: '5';
  129. }
  130. 60% {
  131. content: '4';
  132. }
  133. 65% {
  134. content: '4';
  135. }
  136. 70% {
  137. content: '3';
  138. }
  139. 75% {
  140. content: '2';
  141. }
  142. 80% {
  143. content: '2';
  144. }
  145. 85% {
  146. content: '2';
  147. }
  148. 90% {
  149. content: '1';
  150. }
  151. 95% {
  152. content: '1';
  153. }
  154. 100% {
  155. content: '0';
  156. }
  157. }
  158. </style>
  159. </head>
  160. <body>
  161. <script src="flutter_bootstrap.js" async></script>
  162. <div class="center">
  163. <h4 id="label">Loading TelNow page</h4>
  164. </div>
  165. <div class="center-align">
  166. <img src="cat.gif" width="120" height="120">
  167. </div>
  168. <div class="center-count">
  169. <span class="countdown"></span>
  170. </div>
  171. <script src="flutter_bootstrap.js" async></script>
  172. </body>
  173. </html>