Files
ShowMeYourBigSatellite/templates/simplemap.html
Julien Lengrand-Lambert 3a5d78fef8 Issue 16
It is now possible to change the server to which positions will be retrieved in the side panel.
2014-08-05 23:54:35 +02:00

37 lines
921 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>Simple Map</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
<link href='css/leaflet.css' rel='stylesheet' />
<link href='css/simplemap.css' rel='stylesheet' />
</head>
<body>
<div id="map"></div>
<div id="menu">
<h1>Menu<h1>
<div id="satellites">
<h2>Select your satellite : <h2>
<select id="satellite">
{% for sat in satellites %}
<option value="{{ sat }}">{{ sat }}</option>
{% endfor %}
</select>
</div>
<div id="servers">
<h2>Server address : <h2>
<input type="text" id="server" value="http://localhost:5000">
</div>
</div>
</body>
<script src='js/lib/leaflet.js'></script>
<script src="js/lib/jquery.min.js"></script>
<script src="js/mapsFun.js"></script>
</html>