-
Notifications
You must be signed in to change notification settings - Fork 9
/
fetch.html
45 lines (40 loc) · 1.47 KB
/
fetch.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
<!DOCTYPE html>
<html>
<body>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Mosaic</title>
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0' name='viewport'>
<meta content='none' name='robots'>
<link href='/static/css/bootstrap.min.css' rel='stylesheet' type='text/css'>
<link href='/static/css/font-awesome.min.css' rel='stylesheet' type='text/css'>
<script src='/static/js/jquery.min-1.9.1.js' type='text/javascript'></script>
<script src='/static/js/bootstrap.min.js' type='text/javascript'></script>
<style>
body { padding-top: 20px; }
p {font-size: 16px; line-height: 140%; }
.content {
background-color: #fff;
padding: 20px 50px 50px 50px;
}
</style>
</head>
<div class='container'>
<div class='content'>
<h1><i class="fa fa-photo"></i> Mosaic</h1>
<div class="lead">Fetch tiles for your mosaic ({{ . }} tiles fetched).</div>
<form class="form" method="post" action="/fetch_tiles">
<input class="form-control input-lg" type="text" name="query" placeholder="query for tile pictures"/>
<br/>
<button class="btn btn-primary btn-lg" type="submit">
Fetch tiles
</button>
<a class="btn btn-lg btn-warning" href="/reload">Load fetched tiles</a>
<a class="btn btn-lg btn-info" href="/">Go back</a>
</form>
<br>
<p class="small">Copyright <a href="http://about.me/sausheong">Chang Sau Sheong</a> 2015</p>
</div>
</div>
</body>
</html>