aindex.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  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="5">-->
  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?<?php echo rand(0,512);?>">
  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 type="text/javascript" src="https://maps.googleapis.com/maps/api/js"></script>
  20. <style >
  21. html, body, #map-canvas {width:100%; height: 100%;}
  22. </style>
  23. <script>
  24. function initialize() {
  25. var a = -1;
  26. var mapOptions = {
  27. center: { lat: 22.707340, lng: 120.531000},
  28. zoom: 19,
  29. mapTypeId: 'satellite',
  30. };
  31. var position1 = {
  32. lat: 22.707508,
  33. lng: 120.532132
  34. };
  35. var position2 = {
  36. lat: 22.706996,
  37. lng: 120.529765
  38. };
  39. var position3 = {
  40. lat: 22.707200,
  41. lng: 120.532090
  42. };
  43. var position4 = {
  44. lat: 22.706900,
  45. lng: 120.532040
  46. };
  47. var position5 = {
  48. lat: 22.706684,
  49. lng: 120.531459
  50. };
  51. var position6 = {
  52. lat: 22.706813,
  53. lng: 120.530876
  54. };
  55. var position7 = {
  56. lat: 22.707066,
  57. lng: 120.531099
  58. };
  59. var position8 = {
  60. lat: 22.707340,
  61. lng: 120.531166
  62. };
  63. var position9 = {
  64. lat: 22.707611,
  65. lng: 120.531440
  66. };
  67. var position10 = {
  68. lat: 22.707549,
  69. lng: 120.531845
  70. };
  71. var position11 = {
  72. lat: 22.707300,
  73. lng: 120.529820
  74. };
  75. var position12 = {
  76. lat: 22.707576,
  77. lng: 120.529871
  78. };
  79. var position13 = {
  80. lat: 22.707791,
  81. lng: 120.530245
  82. };
  83. var position14 = {
  84. lat: 22.707726,
  85. lng: 120.530770
  86. };
  87. var position15 = {
  88. lat: 22.707360,
  89. lng: 120.531087
  90. };
  91. var position16 = {
  92. lat: 22.707086,
  93. lng: 120.531013
  94. };
  95. var position17 = {
  96. lat: 22.706867,
  97. lng: 120.530592
  98. };
  99. var position18 = {
  100. lat: 22.706946,
  101. lng: 120.530130
  102. };
  103. var map = new google.maps.Map(
  104. document.getElementById('map-canvas'),
  105. mapOptions);
  106. var marker1 = new google.maps.Marker({
  107. position: position1,
  108. map: map,
  109. label: '1'
  110. });
  111. var marker2 = new google.maps.Marker({
  112. position: position2,
  113. map: map,
  114. label: '2'
  115. });
  116. var marker3 = new google.maps.Marker({
  117. position: position3,
  118. map: map,
  119. label: '3'
  120. });
  121. var marker4 = new google.maps.Marker({
  122. position: position4,
  123. map: map,
  124. label: '4'
  125. });
  126. var marker5 = new google.maps.Marker({
  127. position: position5,
  128. map: map,
  129. label: '5'
  130. });
  131. var marker6 = new google.maps.Marker({
  132. position: position6,
  133. map: map,
  134. label: '6'
  135. });
  136. var marker7 = new google.maps.Marker({
  137. position: position7,
  138. map: map,
  139. label: '7'
  140. });
  141. var marker8 = new google.maps.Marker({
  142. position: position8,
  143. map: map,
  144. label: '8'
  145. });
  146. var marker9 = new google.maps.Marker({
  147. position: position9,
  148. map: map,
  149. label: '9'
  150. });
  151. var marker10 = new google.maps.Marker({
  152. position: position10,
  153. map: map,
  154. label: '10'
  155. });
  156. var marker11 = new google.maps.Marker({
  157. position: position11,
  158. map: map,
  159. label: '11'
  160. });
  161. var marker12 = new google.maps.Marker({
  162. position: position12,
  163. map: map,
  164. label: '12'
  165. });
  166. var marker13 = new google.maps.Marker({
  167. position: position13,
  168. map: map,
  169. label: '13'
  170. });
  171. var marker14 = new google.maps.Marker({
  172. position: position14,
  173. map: map,
  174. label: '14'
  175. });
  176. var marker15 = new google.maps.Marker({
  177. position: position15,
  178. map: map,
  179. label: '15'
  180. });
  181. var marker16 = new google.maps.Marker({
  182. position: position16,
  183. map: map,
  184. label: '16'
  185. });
  186. var marker17 = new google.maps.Marker({
  187. position: position17,
  188. map: map,
  189. label: '17'
  190. });
  191. var marker18 = new google.maps.Marker({
  192. position: position18,
  193. map: map,
  194. label: '18'
  195. });
  196. }
  197. google.maps.event.addDomListener(
  198. window, 'load', initialize);
  199. </script>
  200. <style>
  201. .bg{
  202. position:static;
  203. width:100%;
  204. height: 358px;
  205. display:block;
  206. margin:auto;
  207. background-position: 0px 0px;
  208. background-repeat: no-repeat;
  209. background-size: 100% 100%;
  210. }
  211. .logo {
  212. width:35%;
  213. height:100px;
  214. border: 0px;
  215. background-color: #EF7F33;
  216. color:#172987;
  217. text-align:center;
  218. font-size:48px;
  219. margin: auto;
  220. font-family:DFKai-sb;
  221. font-weight:bold;
  222. margin-bottom:15px;
  223. }
  224. button {
  225. background-color: white;
  226. border-radius:10px;
  227. border: 3px solid lightgray;
  228. }
  229. img {
  230. display: block;
  231. margin-left: auto;
  232. margin-right: auto;
  233. }
  234. .img1 {
  235. display: block;
  236. margin-left: auto;
  237. margin-right: auto;
  238. margin: auto;
  239. }
  240. .detail{
  241. font-family: Microsoft JhengHei;
  242. border-radius: 100px;
  243. background-color: #008CBA;
  244. border: none;
  245. color: white;
  246. padding: 5px 12px;
  247. text-align: center;
  248. text-decoration: none;
  249. display: inline-block;
  250. font-size: 1.4em;
  251. margin: 4px 2px;
  252. cursor: pointer;
  253. transition-duration: 0.4s;
  254. border: 3px solid white;
  255. }
  256. .detail:hover {
  257. background-color: white;
  258. color: black;
  259. border: 3px solid black;
  260. }
  261. .title{
  262. font-family: Microsoft JhengHei;
  263. border-radius: 100px;
  264. background-color: #f2f2f2;
  265. border: none;
  266. color: black;
  267. padding: 10px 32px;
  268. font-size: 2em;
  269. }
  270. .font {
  271. color: white;
  272. font-size: 1.4em;
  273. }
  274. .font:hover {
  275. color: black;
  276. font-size: 1.5em;
  277. }
  278. .choosed {
  279. width: 40px;
  280. font-size: 1.5em;
  281. border: 1px;
  282. border-radius: 100px;
  283. border: 3px solid red;
  284. background-color: white;
  285. }
  286. .sw_number {
  287. width: 40px;
  288. font-size: 1.5em;
  289. border: 1px;
  290. border-radius: 100px;
  291. border: 3px solid lightgray;
  292. }
  293. </style>
  294. </head>
  295. <body>
  296. <div class="container">
  297. <div id="header" class="row" style="background-color:#ffffff;">
  298. <div class="col-md-12" style="text-align:center;margin-top:5px;">
  299. <div class="col-md-4 col-sm-12" style="">
  300. <img src="../static/img/logo_new.png" width="60%" height="30%">
  301. </div>
  302. <div class="col-md-4 col-sm-12" style="">
  303. <a href="/aindex"><button class="btn btn-primary btn-lg" style="">地形圖</button></a>
  304. <a href="/cindex/1"><button class="btn btn-primary btn-lg" style="">毛豆車</button></a>
  305. </div>
  306. <div class="col-md-4 col-sm-12" style="">
  307. <a href="/logout"><button class="btn btn-primary btn-lg" style="">登出</button></a>
  308. </div>
  309. </div>
  310. </div>
  311. <div class="col-md-12" style="background-color:red;width:100%;height:5px;margin-top:5px;margin-bottom:20px"></div>
  312. <div class="col-sm-12" style="text-align:center;background-color:#f2f2f2;padding:15px;border:1px;border-radius: 35px;">
  313. <center>
  314. <font class="title">地形圖</font>
  315. <p style="text-align:center;font-weight:bold;font-size: 1.7em;">請選擇攝影機號碼</p>
  316. <a href="/ashoot_setting/1"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">1</button></a>
  317. <a href="/ashoot_setting/2"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">2</button></a>
  318. <a href="/ashoot_setting/3"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">3</button></a>
  319. <a href="/ashoot_setting/4"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">4</button></a>
  320. <a href="/ashoot_setting/5"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">5</button></a>
  321. <a href="/ashoot_setting/6"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">6</button></a>
  322. <a href="/ashoot_setting/7"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">7</button></a>
  323. <a href="/ashoot_setting/8"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">8</button></a>
  324. <a href="/ashoot_setting/9"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">9</button></a>
  325. <a href="/ashoot_setting/10"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">10</button></a>
  326. <a href="/ashoot_setting/11"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">11</button></a>
  327. <a href="/ashoot_setting/12"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">12</button></a>
  328. <a href="/ashoot_setting/13"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">13</button></a>
  329. <a href="/ashoot_setting/14"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">14</button></a>
  330. <a href="/ashoot_setting/15"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">15</button></a>
  331. <a href="/ashoot_setting/16"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">16</button></a>
  332. <a href="/ashoot_setting/17"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">17</button></a>
  333. <a href="/ashoot_setting/18"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">18</button></a>
  334. <a href="/ashoot_setting/19"><button class="btn btn-primary btn-lg" style="margin-top:5px;margin-bottom:5px">19</button></a>
  335. <br>
  336. <div id="map-canvas" class="col-sm-12" style="text-align:center;background-color:#f2f2f2;padding:280px;border:1px;border-radius: 35px;"></div>
  337. </center>
  338. </div>
  339. </div>
  340. </body>
  341. </html>