-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·92 lines (92 loc) · 4.44 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
89
90
91
92
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="../../favicon.ico">
<title>Starter Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link rel="stylesheet" type="text/css" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- <div id="map_canvas"></div>-->
<div class="container">
<div class="row">
<div class="col-md-12">
<div id="crear-mapa" class="row">
<div class="col-md-12 crear-mapa">
<button type="bottom" class="btn btn-primary" onclick="crearMapa()">Crear mapa</button>
<button type="bottom" class="btn btn-primary" onclick="cargarMapa()">Cargar mapa</button>
</div>
</div>
<div id="form-new-mapa" class="row" style="display:none">
<div class="col-md-8 datos-mapa">
<form action="">
<div class="form-group">
<label for="mapa-nombre">Nombre del mapa:</label>
<input type="text" id="mapa-nombre" name="mapa-nombre" class="form-control"/>
<label for="mapa-centro">Centro del Mapa:</label>
<input type="text" id="mapa-centro" name="mapa-centro" class="form-control"/>
</div>
<div id="datos-poligonos-new"></div>
<button type="button" class="btn btn-primary" onclick="submitForm()">Aceptar</button>
<button type="button" class="btn btn-default" onclick="cancelarMapa()">Cancelar</button>
</form>
</div>
<div class="col-md-3 col-md-offset-1 control-palette">
<div id="palette-new"></div><br/>
<div>
<button id="delete-button-new" class="btn btn-danger">Eliminar</button>
</div>
</div>
</div>
<div id="form-load-mapa" class="row" style="display:none">
<div class="col-md-8 datos-mapa">
<form action="">
<div class="form-group">
<label for="mapa-nombre">Nombre del mapa:</label>
<input type="text" class="form-control" name="mapa-nombre-load" id="mapa-nombre-load"/>
<label for="mapa-nombre">Centro del mapa:</label>
<input type="text" class="form-control" name="mapa-centro-load" id="mapa-centro-load"/>
</div>
<div id="datos-poligonos-load"></div>
<button type="button" class="btn btn-primary" onclick="submitForm()">Aceptar</button>
<button type="button" class="btn btn-default" onclick="cancelarMapa()">Cancelar</button>
</form>
</div>
<div class="col-md-3 col-md-offset-1 control-palette">
<div id="palette-load"></div><br/>
<div>
<button id="delete-button-load" class="btn btn-danger">Eliminar</button>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div id="map-outer" class="col-md-12">
<div id="map_canvas"></div>
</div>
</div>
<div class="row footer">
</div>
</div><!-- /.container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/functions.js"></script>
</body>
</html>