-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
88 lines (73 loc) · 3.38 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no, shrink-to-fit=no">
<meta name="application-name" content="LeoRover UI">
<meta name="apple-mobile-web-app-title" content="LeoRover UI">
<meta name="theme-color" content="#000000">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>LeoRover</title>
<!-- icons -->
<link rel="shortcut icon" href="./img/LogoLeo_mini.png">
<link rel="apple-touch-icon-precomposed" href="./img/LogoLeo_mini.png">
<link rel="manifest" href="./manifest.webmanifest">
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/font.css" />
<script src="./js/jquery.min.js"></script>
<script src="./js/bootstrap.min.js"></script>
<script src="./js/roslib.min.js"></script>
<script src="./js/nipplejs.js"></script>
<script src="./js/leo.js"></script>
<script src="./js/fullscreen.js"></script>
</head>
<body class="bg-custom">
<nav class="navbar navbar-expand-md bg-bar navbar-dark">
<div class="container-fluid">
<div class="col-3 navbar-brand" href="#">
<img class="rounded" src="./img/LogoLeo.png" alt="Logo" style="width: 130px; height: 40px;"/>
</div>
<div class="col-2" >
<div id="batteryID" class="mx-auto" style="width: 70px; height: 40px; color: aliceblue; text-align: center;">Voltage: 0V</div>
</div>
<div class="col-2 text-center">
<button class="bg-dark btn-sm mx-auto" style="width: 45px; height: 45px;" type="button" onclick="fullScreen()">
<img class="rounded img-fluid" src="img/nav-bar-fullscreen.svg" alt="FullScreen" style="width: 25px; height: 25px;"/>
</button>
</div>
<button class="col-2 navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div class="col-5 collapse navbar-collapse justify-content-end ml-auto px-0" id="collapsibleNavbar">
<ul class="navbar-nav flex-row ml-md-auto w-auto custom-font-size padd">
<li class="nav-item mx-0 px-1 my-auto col-auto">
<p id="select -label" style="color:aliceblue; text-align: start; margin-bottom: 0%;">Camera stream:</p>
<select name="camera" id="camera-select" onchange="changeVideoSrc();"></select>
</li>
<li class="nav-item mx-0 px-1 my-auto col-auto">
<button id="imgBtn" class="btn btn-dark image-btn btn-sm custom-btn mt-2 mx-auto" type="button" onclick="imgWidth()">Stream</button>
</li>
<li class="nav-item mx-0 px-1 my-auto col-auto">
<button type="button" class="btn btn-warning btn-sm custom-btn mt-2 mx-auto" onclick="systemReboot()">Reboot</button>
</li>
<li class="nav-item mx-0 px-1 my-auto col-auto">
<button type="button" class="btn btn-danger btn-sm custom-btn mt-2 mx-auto" onclick="turnOff()">Turn off</button>
</li>
</ul>
</div>
</div>
</nav>
<div class="row fixed-bottom">
<div class="col my-2 d-flex ml-auto" style="height: 210px;">
<div id="joystick"></div>
</div>
</div>
<div class="justify-content-center">
<img src="" class="center-fit" alt="" id="video"></img>
<div>
</body>
</html>