index.html 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. <!DOCTYPE html>
  2. <html lang="ko">
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>SGC Mobile</title>
  6. <base href="./" />
  7. <meta name="color-scheme" content="light" />
  8. <meta name="viewport"
  9. content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
  10. <meta name="format-detection" content="telephone=no" />
  11. <meta name="msapplication-tap-highlight" content="no" />
  12. <link rel="shortcut icon" type="image/x-icon" href="<%= BASE_URL %>img/icons/favicon.ico" />
  13. <style type="text/css">
  14. body {
  15. padding: 0;
  16. margin: 0;
  17. }
  18. #appLoading {
  19. pointer-events: none;
  20. z-index: 100;
  21. width: 100vw;
  22. height: 100vh;
  23. display: inline-block;
  24. background-color: #ed1c24;
  25. position: absolute;
  26. left: 0;
  27. right: 0;
  28. top: 0;
  29. bottom: 0;
  30. }
  31. div#app[data-v-app]~#appLoading{
  32. display: none;
  33. }
  34. #appLoading div.loading-wraper {
  35. position: absolute;
  36. left: 50%;
  37. top: 50%;
  38. text-align: center;
  39. transform: translate(-50%, -50%);
  40. }
  41. #appLoading div.loading-wraper img {
  42. max-width: 50vw;
  43. max-height: 50vh;
  44. animation-name: loadingSpiner;
  45. animation-duration: 4000ms;
  46. animation-iteration-count: infinite;
  47. animation-timing-function: linear;
  48. }
  49. #appLoading div.loading-wraper div {
  50. position: relative;
  51. color: white;
  52. font-size: 1rem;
  53. z-index: 100;
  54. }
  55. #appLoading div.loading-wraper button {
  56. z-index: 1;
  57. position: absolute;
  58. font-size: 1.5rem;
  59. padding: 5px 15px;
  60. border-radius: 10px;
  61. border:1px solid gray;
  62. pointer-events: all;
  63. background-color : rgba(0,0,0,0.7);
  64. width:10rem;
  65. margin-left: -5rem;
  66. left : 50%;
  67. top :50%;
  68. opacity: 0;
  69. animation: loadingButton 10s normal forwards ease-in-out;
  70. }
  71. @keyframes loadingButton {
  72. 0% {
  73. opacity: 0;
  74. }
  75. 70% {
  76. opacity: 0;
  77. }
  78. 100% {
  79. opacity: 1;
  80. }
  81. }
  82. @keyframes loadingSpiner {
  83. from {
  84. transform: rotate(0deg);
  85. }
  86. to {
  87. transform: rotate(360deg);
  88. }
  89. }
  90. </style>
  91. </head>
  92. <body>
  93. <div id="app"></div>
  94. <div id="appLoading">
  95. <div class="loading-wraper">
  96. <img src="<%= BASE_URL %>img/icons/android-chrome-512x512.png">
  97. <div>loading........</div>
  98. <button type="button" onclick="window.location.reload()">Reload</button>
  99. </div>
  100. </div>
  101. </body>
  102. </html>