Small changes to UI. Also add warning about state of the project.

This commit is contained in:
Kevin Dungs 2014-11-17 16:49:06 +01:00
parent 361d113c9a
commit af29d6321f
2 changed files with 32 additions and 22 deletions

View File

@ -7,6 +7,11 @@
<title>these-3-words Map</title> <title>these-3-words Map</title>
<!-- Style --> <!-- Style -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<style>
body {
padding-top: 40px;
}
</style>
</head> </head>
<body> <body>
<div class="container"> <div class="container">
@ -18,6 +23,7 @@
<p class="lead"> <p class="lead">
Find a location anywhere in the world identified by three simple words. Find a location anywhere in the world identified by three simple words.
</p> </p>
<p class="text-warning">This is a very early pre-alpha release. Don't expect anything to work properly or reproducible. Especially since the underlying word-list will most likely change soon.</p>
<p id="input3wordsContainer"> <p id="input3wordsContainer">
<input type="text" class="form-control" id="input3words" placeholder="zeljka-worry-suhai"> <input type="text" class="form-control" id="input3words" placeholder="zeljka-worry-suhai">
</p> </p>

View File

@ -1,24 +1,28 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="en">
<head> <head>
<style type="text/css"> <!-- Meta -->
html, body, #map-canvas { height: 100%; margin: 0; padding: 0;} <meta charset="utf-8">
</style> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js"> <title>these-3-words Map</title>
</script> <!-- Style -->
<script type="text/javascript"> <style type="text/css">
function initialize() { html, body, #map-canvas { height: 100%; margin: 0; padding: 0;}
var mapOptions = { </style>
center: { lat: {{ lat }}, lng: {{ lng }}}, </head>
zoom: 14 <body>
}; <div id="map-canvas"></div>
var map = new google.maps.Map(document.getElementById('map-canvas'), <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js"></script>
mapOptions); <script type="text/javascript">
} function initialize() {
google.maps.event.addDomListener(window, 'load', initialize); var mapOptions = {
</script> center: { lat: {{ lat }}, lng: {{ lng }}},
</head> zoom: 14
<body> };
<div id="map-canvas"></div> var map = new google.maps.Map(document.getElementById('map-canvas'),
</body> mapOptions);
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
</body>
</html> </html>