learn.html 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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. height: 50px;
  58. line-height: 50px;
  59. background: #008CBA;
  60. border: 1px solid #CFCFCF;
  61. box-sizing: border-box;
  62. border-radius: 10px;
  63. }
  64. .flex {
  65. display: flex;
  66. flex-direction: row;
  67. flex-wrap: wrap;
  68. justify-content: center;
  69. }
  70. .set-link {
  71. color: #FFFFFF;
  72. font-size: 36px;
  73. }
  74. @media(max-width:373px){
  75. .card {
  76. margin-right: 0px;
  77. }
  78. }
  79. @media(max-width:577px){
  80. }
  81. @media(min-width:576px){
  82. }
  83. @media(min-width:768px){
  84. .navbar-nav > li {
  85. margin-left: 0px;
  86. }
  87. .navbar-nav .li-block {
  88. display:none;
  89. }
  90. }
  91. @media(min-width:991px){
  92. .navbar-nav > li {
  93. margin-left: 20px;
  94. }
  95. .navbar-nav .li-block {
  96. display:none;
  97. }
  98. }
  99. @media(min-width:1200px){
  100. .navbar-nav > li {
  101. margin-left: 50px;
  102. }
  103. .navbar-nav .li-block {
  104. display: inline-block;
  105. width: 100px;
  106. }
  107. }
  108. @media(min-width:1400px){
  109. .navbar-nav .li-block {
  110. display: inline-block;
  111. width: 200px;
  112. }
  113. }
  114. @media(min-width:1689px) {
  115. .navbar-nav > li {
  116. margin-left: 50px;
  117. }
  118. .navbar-nav .li-block {
  119. display: inline-block;
  120. width: 500px;
  121. }
  122. }
  123. </style>
  124. </head>
  125. <body>
  126. <nav class="fixed-top">
  127. <nav class="navbar navbar-expand-md nav-top justify-content-center">
  128. <div>
  129. <span class="website_title">CNN影像識別</span>
  130. </div>
  131. </nav>
  132. <nav class="navbar navbar-expand-md bg-dark navbar-dark nav-bottom">
  133. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
  134. <span class="navbar-toggler-icon"></span>
  135. </button>
  136. <div class="collapse navbar-collapse" id="collapsibleNavbar">
  137. <ul class="navbar-nav">
  138. <li class="nav-item">
  139. <a class="nav-link" href="/">首頁</a>
  140. </li>
  141. <li class="nav-item">
  142. <a class="nav-link" href="#">關於我們</a>
  143. </li>
  144. <li class="nav-item">
  145. <a class="nav-link" href="#">資訊</a>
  146. </li>
  147. <li class="nav-item">
  148. <a class="nav-link" href="#">聯絡方法</a>
  149. </li>
  150. <li class="nav-item">
  151. <a class="nav-link" href="/cargo_list">咖啡貨櫃</a>
  152. </li>
  153. <li class="nav-item">
  154. <a class="nav-link" href="/video">影像串流</a>
  155. </li>
  156. <li class="li-block"></li>
  157. <li class="nav-item">
  158. <a class="nav-link" href="#"><i class="fa fa-user-o"></i> {{params.username}}</a>
  159. </li>
  160. <li class="nav-item">
  161. <a class="nav-link" href="/logout">Logout</a>
  162. </li>
  163. </ul>
  164. </div>
  165. </nav>
  166. </nav>
  167. <div class="main-page">
  168. <div class="text-center">
  169. <h1>影像</h1>
  170. </div>
  171. <form method="" action="">
  172. <div class="container-fluid">
  173. <div class="row">
  174. <div class="col flex">
  175. <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;">
  176. <div class="text-center">
  177. <img src="../static/img/coffee.jpg" width="60%" height="30%" style="max-width:100%;height: auto;">
  178. </div>
  179. </div>
  180. <div class="col-xl-4 col-lg-4 col-md-4 col-sm-12 col-xs-12 text-center" style="margin-right: 20px ;margin-left: 20px; margin-top:20px; margin-bottom:20px;">
  181. <div class="page-title text-center" style="display: inline-block">
  182. <a class="set-link" type="button" href="/img">
  183. 開始
  184. </a>
  185. </div>
  186. <div class="page-title text-center" style="display: inline-block">
  187. <a class="set-link" type="button" href="/img">
  188. 返回
  189. </a>
  190. </div>
  191. </div>
  192. </div>
  193. </div>
  194. </div>
  195. </form>
  196. </div>
  197. </body>
  198. </html>