allindex.html 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Welcome to SkyAI</title>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <meta http-equiv="refresh" content="120">
  8. <meta http-equiv="pragma" content="no-cache">
  9. <meta http-equiv="Cache-Control" CONTENT="no-cache, must-revalidate">
  10. <meta http-equiv="expires" content="365 days">
  11. <script src="../static/js/jquery.min.js"></script>
  12. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  13. <script src="../static/js/bootstrap.min.js"></script>
  14. <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-slider/10.2.1/bootstrap-slider.min.js"></script>
  15. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-slider/10.2.1/css/bootstrap-slider.min.css">
  16. <link rel="stylesheet" href="../static/css/generalstyle.css?415">
  17. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  18. <meta name="viewport" content="width=device-width, initial-scale=1">
  19. <script src="http://CSS3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
  20. <link rel="stylesheet" type="text/css" media="screen and (max-device-width: 400px)" href="tinyScreen.css">
  21. <link rel="stylesheet" type="text/css"media="screen and (min-width: 400px) and (max-device-width: 600px)"href="smallScreen.css" />
  22. <style>
  23. .slider-selection {
  24. background: #BABABA;
  25. }
  26. .slider.slider-horizontal{
  27. width: 10%;
  28. }
  29. #setlight>div>div{
  30. display:inline-block;
  31. vertical-align:middle;
  32. }
  33. img {
  34. display: block;
  35. margin-left: auto;
  36. margin-right: auto;
  37. }
  38. .img1 {
  39. display: block;
  40. margin-left: auto;
  41. margin-right: auto;
  42. margin: auto;
  43. }
  44. .detail{
  45. font-family: Microsoft JhengHei;
  46. border-radius: 100px;
  47. background-color: #008CBA;
  48. border: none;
  49. color: white;
  50. padding: 5px 12px;
  51. text-align: center;
  52. text-decoration: none;
  53. display: inline-block;
  54. font-size: 1.4em;
  55. margin: 4px 2px;
  56. cursor: pointer;
  57. transition-duration: 0.4s;
  58. border: 3px solid white;
  59. }
  60. .detail:hover {
  61. background-color: white;
  62. color: black;
  63. border: 3px solid black;
  64. }
  65. .title{
  66. font-family: Microsoft JhengHei;
  67. border-radius: 100px;
  68. background-color: #f2f2f2;
  69. border: none;
  70. color: black;
  71. padding: 10px 32px;
  72. font-size: 2em;
  73. }
  74. .font {
  75. color: white;
  76. font-size: 1.4em;
  77. }
  78. .font:hover {
  79. color: black;
  80. font-size: 1.5em;
  81. }
  82. .sw_number {
  83. width:40px;font-size:1.5em;border:1px;border-radius: 100px;
  84. border: 3px solid lightgray;
  85. }
  86. .sw_number:hover {
  87. width:40px;
  88. font-size:1.5em;
  89. border:1px;
  90. border-radius: 100px;
  91. border: 3px solid lightgreen;
  92. background-color: white;
  93. }
  94. .choosed {
  95. width:40px;
  96. font-size:1.5em;
  97. border:1px;
  98. border-radius: 100px;
  99. border: 3px solid red;
  100. background-color: #DDDDDD;
  101. }
  102. .choose_nr {
  103. font-family: Microsoft JhengHei;
  104. color: #333333;
  105. font-size: 1.7em;
  106. /*text-shadow: 1px 2px black;*/
  107. }
  108. button {
  109. background-color: white;
  110. border-radius:10px;
  111. border: 3px solid lightgray;
  112. }
  113. .stn{font-size:20px;background-color: white;border-radius:10px;border: 3px solid lightgray;background-color:white;}
  114. .atn{font-size:20px;background-color:#25AD87;border-radius:10px;}
  115. .stl{background-color:#DDDDDD;}
  116. .atl{background-color:white;}
  117. </style>
  118. <script>
  119. function changeColor(num){
  120. for(var i=1;i<=8;i++){
  121. var str = document.getElementById('sub_'+i);
  122. if(i==num){
  123. str.className="atn";
  124. }
  125. else{
  126. str.className="stn";
  127. }
  128. }
  129. }
  130. function changeColor2(num){
  131. for(var i=1;i<=4;i++){
  132. var str = document.getElementById('stt_'+i);
  133. if(i==num){
  134. str.className="atl";
  135. }
  136. else{
  137. str.className="stl";
  138. }
  139. }
  140. }
  141. </script>
  142. </head>
  143. <body>
  144. <div class="container">
  145. <!DOCTYPE html>
  146. <html lang="zh-Hant-TW">
  147. <head>
  148. <style>
  149. .choosed {
  150. width: 40px;
  151. font-size: 1.5em;
  152. border: 1px;
  153. border-radius: 100px;
  154. border: 3px solid red;
  155. background-color: white;
  156. }
  157. .sw_number {
  158. width: 40px;
  159. font-size: 1.5em;
  160. border: 1px;
  161. border-radius: 100px;
  162. border: 3px solid lightgray;
  163. }
  164. </style>
  165. </head>
  166. <body>
  167. <div id="header" class="row" style="background-color:#ffffff;">
  168. <div class="col-md-8 col-md-12" style="text-align:center;margin:auto;">
  169. <div class="col-md-6 col-sm-12" style="">
  170. <img src="../static/img/logo_new.png" width="60%" height="30%">
  171. </div>
  172. <!--<a href="im1.php"><button class="btn btn-primary btn-lg" style="">影像控制</button></a>
  173. <a href="/jvt/4/schedule1.php"><button class="btn btn-success btn-lg" style="">定程</button></a>-->
  174. <!--<a href="history_jvt.php"><button class="btn btn-danger btn-lg" style="">車輛軌跡</button></a>
  175. <a href="history_ndvi1.php"><button class="btn btn-danger btn-lg" style="">NDVI</button></a>
  176. <a href="im3.php"><button class="btn btn-info btn-lg" style="">車載1</button></a>
  177. <a href="im4.php"><button class="btn btn-info btn-lg" style="">車載2</button></a>
  178. <a href="im5.php"><button class="btn btn-info btn-lg" style="">車載3</button></a>-->
  179. <!--<a href="#"><button class="btn btn-warning btn-lg" style="">智慧貨架</button></a>
  180. <a href="#"><button class="btn btn-info btn-lg" style="">使用者設定</button></a-->
  181. </div>
  182. <div class="col-md-12" style="background-color:red;width:100%;height:5px;margin-top:5px;">
  183. </div>
  184. </div>
  185. </body>
  186. </html>
  187. <div style="height:20px;"></div>
  188. <div class="col-sm-12" style="text-align:center;background-color:#f2f2f2;padding:15px;border:1px;border-radius: 35px;">
  189. <center>
  190. <table style="width:auto; height:auto" border="0" align="center">
  191. <th>
  192. <form class="form" name="form" method="get" action="/aindex">
  193. <button type="submit" name="up" value="1" id="sub_1" onclick="changeColor('1')" style="width:120px;height:49px;font-size:20px;border-radius:10px;">毛豆田</button>
  194. </form>
  195. </th>
  196. <th>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</th>
  197. <th>
  198. <form class="form" name="form" method="get" action="/cindex/1">
  199. <button type="submit" name="up" value="2" id="sub_2" onclick="changeColor('2')" style="width:120px;height:49px;font-size:20px;border-radius:10px;">毛豆車</button>
  200. </form>
  201. </th>
  202. </table>
  203. </center>
  204. </div>
  205. </div>
  206. </body>
  207. </html>