1
0

cargo3.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  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: 200px;
  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. .set-link {
  81. width: 250px;
  82. }
  83. }
  84. @media(max-width:577px){
  85. }
  86. @media(min-width:576px){
  87. }
  88. @media(min-width:768px){
  89. .navbar-nav > li {
  90. margin-left: 0px;
  91. }
  92. .navbar-nav .li-block {
  93. display:none;
  94. }
  95. }
  96. @media(min-width:991px){
  97. .navbar-nav > li {
  98. margin-left: 20px;
  99. }
  100. .navbar-nav .li-block {
  101. display:none;
  102. }
  103. }
  104. @media(min-width:1200px){
  105. .navbar-nav > li {
  106. margin-left: 50px;
  107. }
  108. .navbar-nav .li-block {
  109. display: inline-block;
  110. width: 100px;
  111. }
  112. }
  113. @media(min-width:1400px){
  114. .navbar-nav .li-block {
  115. display: inline-block;
  116. width: 200px;
  117. }
  118. }
  119. @media(min-width:1689px) {
  120. .navbar-nav > li {
  121. margin-left: 50px;
  122. }
  123. .navbar-nav .li-block {
  124. display: inline-block;
  125. width: 500px;
  126. }
  127. }
  128. </style>
  129. </head>
  130. <body>
  131. <nav class="fixed-top">
  132. <nav class="navbar navbar-expand-md nav-top justify-content-center">
  133. <div>
  134. <span class="website_title">貨櫃3</span>
  135. </div>
  136. </nav>
  137. <nav class="navbar navbar-expand-md bg-dark navbar-dark nav-bottom">
  138. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
  139. <span class="navbar-toggler-icon"></span>
  140. </button>
  141. <div class="collapse navbar-collapse" id="collapsibleNavbar">
  142. <ul class="navbar-nav">
  143. <li class="nav-item">
  144. <a class="nav-link" href="/">首頁</a>
  145. </li>
  146. <li class="nav-item">
  147. <a class="nav-link" href="#">關於我們</a>
  148. </li>
  149. <li class="nav-item">
  150. <a class="nav-link" href="#">資訊</a>
  151. </li>
  152. <li class="nav-item">
  153. <a class="nav-link" href="#">聯絡方法</a>
  154. </li>
  155. <li class="nav-item">
  156. <a class="nav-link" href="/cargo_list">咖啡貨櫃</a>
  157. </li>
  158. <li class="nav-item">
  159. <a class="nav-link" href="/video">影像串流</a>
  160. </li>
  161. <li class="li-block"></li>
  162. <li class="nav-item">
  163. <a class="nav-link" href="#"><i class="fa fa-user-o"></i> {{params.username}}</a>
  164. </li>
  165. <li class="nav-item">
  166. <a class="nav-link" href="/logout">Logout</a>
  167. </li>
  168. </ul>
  169. </div>
  170. </nav>
  171. </nav>
  172. <div class="main-page">
  173. <form method="" action="">
  174. <div class="container-fluid">
  175. <div class="row" style="margin-top:100px;">
  176. <div class="col flex">
  177. <div class="col-xl-3 col-lg-6 col-md-6 col-sm-12 col-xs-12" style="margin-right: 20px ;margin-left: 20px; margin-top:20px; margin-bottom:20px;">
  178. <div class="page-title text-center">
  179. <a class="set-link" type="button" href="#">感測器</a>
  180. </div>
  181. </div>
  182. <div class="col-xl-3 col-lg-6 col-md-6 col-sm-12 col-xs-12" style="margin-right: 20px ;margin-left: 20px; margin-top:20px; margin-bottom:20px;">
  183. <div class="page-title text-center">
  184. <a class="set-link" type="button" href="/cargo3_schedule">排程</a>
  185. </div>
  186. </div>
  187. <div class="col-xl-3 col-lg-6 col-md-6 col-sm-12 col-xs-12" style="margin-right: 20px ;margin-left: 20px; margin-top:20px; margin-bottom:20px;">
  188. <div class="page-title text-center">
  189. <a class="set-link" type="button" href="#">制動器</a>
  190. </div>
  191. </div>
  192. <div class="col-xl-3 col-lg-6 col-md-6 col-sm-12 col-xs-12" style="margin-right: 20px ;margin-left: 20px; margin-top:20px; margin-bottom:20px;">
  193. <div class="page-title text-center">
  194. <a class="set-link" type="button" href="#">參數設置</a>
  195. </div>
  196. </div>
  197. <div class="col-xl-12 col-lg-12 col-md-12 col-sm-12 col-xs-12" style="margin-right: 20px ;margin-left: 20px; margin-top:20px; margin-bottom:20px;"></div>
  198. </div>
  199. </div>
  200. </div>
  201. </form>
  202. </div>
  203. </body>
  204. </html>