oops.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Aisky-coffee</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7. <!-- 新 Bootstrap4 核心 CSS 文件 -->
  8. <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.1.0/css/bootstrap.min.css">
  9. <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
  10. <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
  11. <!-- popper.min.js 用于弹窗、提示、下拉菜单 -->
  12. <script src="https://cdn.bootcss.com/popper.js/1.12.5/umd/popper.min.js"></script>
  13. <!-- 最新的 Bootstrap4 核心 JavaScript 文件 -->
  14. <script src="https://cdn.bootcss.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
  15. <!--可用來建立使用者小圖示-->
  16. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  17. <style>
  18. body {
  19. margin:0;
  20. }
  21. .navbar-dark .navbar-nav .nav-link {
  22. color: white;
  23. cursor: pointer;
  24. text-decoration:none;
  25. width: 110px;
  26. height: 46px;
  27. }
  28. .nav-top {
  29. line-height:40px;
  30. background-color: #C4C4C4;
  31. }
  32. .website_title{
  33. font-family: Roboto;
  34. font-style: normal;
  35. font-weight: normal;
  36. font-size: 30px;
  37. color: #000000;
  38. }
  39. .navbar-nav > li{
  40. float: none;
  41. display: inline-block;
  42. width: 100px;
  43. margin: 0 auto;
  44. text-align: center;
  45. }
  46. .navbar-nav > li a{
  47. font-size: 20px;
  48. }
  49. .main-page {
  50. margin-top: 150px;
  51. }
  52. .page-title {
  53. font-family: Roboto;
  54. font-style: normal;
  55. font-weight: bold;
  56. font-size: 36px;
  57. }
  58. .flex {
  59. display: flex;
  60. flex-direction: row;
  61. flex-wrap: wrap;
  62. justify-content: center;
  63. }
  64. .set-link {
  65. display: inline-block;
  66. width: 350px;
  67. height: 100px;
  68. line-height: 100px;
  69. background: #008CBA;
  70. border: 1px solid #CFCFCF;
  71. box-sizing: border-box;
  72. color: #FFFFFF;
  73. border-radius: 10px;
  74. font-size: 36px;
  75. }
  76. @media(max-width:373px){
  77. .card {
  78. margin-right: 0px;
  79. }
  80. }
  81. @media(max-width:577px){
  82. }
  83. @media(min-width:576px){
  84. }
  85. @media(min-width:768px){
  86. .navbar-nav > li {
  87. margin-left: 0px;
  88. }
  89. .navbar-nav .li-block {
  90. display:none;
  91. }
  92. }
  93. @media(min-width:991px){
  94. .navbar-nav > li {
  95. margin-left: 20px;
  96. }
  97. .navbar-nav .li-block {
  98. display:none;
  99. }
  100. }
  101. @media(min-width:1200px){
  102. .navbar-nav > li {
  103. margin-left: 50px;
  104. }
  105. .navbar-nav .li-block {
  106. display: inline-block;
  107. width: 100px;
  108. }
  109. }
  110. @media(min-width:1400px){
  111. .navbar-nav .li-block {
  112. display: inline-block;
  113. width: 200px;
  114. }
  115. }
  116. @media(min-width:1689px) {
  117. .navbar-nav > li {
  118. margin-left: 50px;
  119. }
  120. .navbar-nav .li-block {
  121. display: inline-block;
  122. width: 500px;
  123. }
  124. }
  125. </style>
  126. <script>
  127. $(function(){
  128. console.log('使用者權限: {{status}}')
  129. })
  130. </script>
  131. </head>
  132. <body>
  133. <nav class="fixed-top">
  134. <div id="user_status_disabled_title" style="text-align: center; margin-top: 30px; font-size: 24px; margin-bottom: 15px;">
  135. Smart Coffee
  136. </div>
  137. <div class="main-page" style="text-align: center;">
  138. <p style="font-size: 24px;">Oops!請先登入(⊙﹏⊙)</p>
  139. <a href="/logout">我要登入</a>
  140. </div>
  141. </body>
  142. </html>