-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin-drones.html
153 lines (142 loc) · 8 KB
/
admin-drones.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta name="viewport" content="device-width, initial-scale=1, user-scalable=yes">
<title>Administracion</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<!-- Personal CSS -->
<link rel="stylesheet" href="css/estilos.css" type="text/css">
<link rel="icon" type="image/png" href="dron.png">
<!-- Bootstrap scripts -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
<!-- JQuery -->
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-2.0.3.min.js"></script>
<!-- Friconix -->
<script defer src="https://friconix.com/cdn/friconix.js"> </script>
<!-- Animated CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.0.0/animate.min.css" type="text/css">
<!-- Google fonts -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Rancho&effect=fire-animation|shadow-multiple|3d">
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-dark bg-dark navbar-expand-md bg-faded justify-content-center font-effect-fire-animation">
<a href="index.html" class="navbar-brand d-flex w-50 mr-auto">Drones</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsingNavbar3">
<span class="navbar-toggler-icon"></span>
</button>
<div class="navbar-collapse collapse w-100" id="collapsingNavbar3">
<ul class="navbar-nav w-100 justify-content-center">
<li class="nav-item active">
<a class="nav-link" href="index.html"><i class="fi-xnsuxl-videocamera-solid fi-2x"></i></a>
</li>
</ul>
<ul class="nav navbar-nav ml-auto w-100 justify-content-end">
<li class="nav-item">
<a class="nav-link" href="admin.html"><i class="fi-xnsuxl-users-cog fi-2x"></i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://www.linkedin.com/in/alvaro-de-la-rosa-mora-5ba9851b1/" target="_blank"><i class="fi-snsuxl-linkedin fi-2x"></i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://github.com/uo258175/TFG" target="_blank"><i class="fi-xnsuxl-github fi-2x"></i></a>
</li>
<li class="nav-item">
<a class="nav-link" href="info.html"><i class="fi-ctluxl-question-mark fi-2x"></i></a>
</li>
</ul>
</div>
</nav>
<div class="container-fluid">
<div class="row justify-content-center page-title">
<h1 class="animate__animated animate__zoomInDown font-effect-shadow-multiple title">ADMINISTRACION DRONES</h1>
</div>
<div class="zig-zag" style="height: 100%; background-color: navajowhite;">
<div class="animate__animated animate__fadeInUp" id="not-logged">
<form>
<div class="form-group">
<input type="email" class="form-control" id="email" placeholder="Introduce correo">
</div>
<div class="form-group">
<input type="password" class="form-control" id="password" placeholder="Contraseña" required>
</div>
<button type="button" class="btn btn-primary" onclick="Login()" style="font-size: 50px;"><i class="fi-xwsuxl-sign-in-solid"></i> Entrar</button>
</form>
</div>
<div id="logged">
<div class="row justify-content-center">
<div class="col-6 justify-content-center margin-15">
<h2>Bienvenido, </h2><h6 id="username"></h6>
</div>
<div class="col-6 justify-content-center margin-15">
<button class="btn btn-primary" onclick="Salir()"><i class="fi-xnsuxl-sign-out-solid"></i> Cerrar Sesion</button>
</div>
</div>
<div class="row justify-content-center tabla-admin table-responsive">
<table class="table animate__animated animate__fadeInUp">
<thead>
<tr>
<th scope="col"><i class="fi-xnsuxl-radar-solid"></i>Modelo</th>
<th scope="col"><i class="fi-xwluxl-address-card-solid"></i>Matricula</th>
<th scope="col"><i class="fi-cnluxl-arrow solid"></i>Altura</th>
<th scope="col"><i class="fi-cwsuxl-plus-solid"></i>Descripcion</th>
<th scope="col"><i class="fi-cnluxl-globe-solid"></i>Longitud</th>
<th scope="col"><i class="fi-cnluxl-globe-solid"></i>Latitud</th>
<th scope="col"><i class="fi-xnsuxl-videocamera-solid"></i>Streaming</th>
<th scope="col"><i class="fi-xwsuxl-pen"></i>Editar/Borrar</th>
</tr>
</thead>
<tbody id="tabla-drones">
</tbody>
</table>
</div>
<div class="row justify-content-center margin-15 tabla-admin table-responsive">
<table class="table animate__animated animate__fadeInUp">
<thead>
<tr>
<th scope="col"><i class="fi-xnsuxl-radar-solid"></i>Modelo</th>
<th scope="col"><i class="fi-xwluxl-address-card-solid"></i>Matricula</th>
<th scope="col"><i class="fi-cnluxl-arrow solid"></i>Altura</th>
<th scope="col"><i class="fi-cwsuxl-plus-solid"></i>Descripcion</th>
<th scope="col"><i class="fi-cnluxl-globe-solid"></i>Longitud</th>
<th scope="col"><i class="fi-cnluxl-globe-solid"></i>Latitud</th>
<th scope="col"><i class="fi-xwsuxl-pen"></i>Crear nuevo dron</th>
</tr>
</thead>
<tbody id="tabla-drones">
<tr>
<td><input type="text" id="name" placeholder="Introduce nombre"></td>
<td><input type="number" id="matricula" placeholder="Matricula"></td>
<td><input type="number" id="height" placeholder="Altura"></td>
<td><textarea id="description" cols="60" rows="3"></textarea></td>
<td><input type="text" id="longitud" placeholder="Longitud geografica"></td>
<td><input type="text" id="latitud" placeholder="Latitud geografica"></td>
<td><button class="btn btn-primary" onclick="Post()"><i class="fi-cwsuxl-plus-solid"></i></button></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- Footer -->
<footer class="bg-dark">
<div class="row py-1">
<div class="col-6"><a href="#"><i class="fi-snsuxl-linkedin fi-2x"></i></a></div>
<div class="col-6"><a href="info.html"><i class="fi-ctluxl-question-mark fi-2x"></i></a></div>
</div>
<!-- Copyright -->
<div class="footer-copyright text-center py-1">© 2020 Copyright:
<p>Álvaro de la Rosa Mora</p>
<p><a href="tecnologias.html">Tecnologías empleadas</a></p>
</div>
<!-- Copyright -->
</footer>
<!-- Footer -->
</div>
<script src="admin-dron.js"></script>
</body>
</html>