-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (54 loc) · 1.99 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
<!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">
<title>Location using Wit.ai</title>
<!-- Bootstrap CSS -->
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/main.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="page-header">
<h1>Location using Wit.ai</h1>
</div>
<p class="lead">This is an experiment to extract locations data from a given query using Wit.ai API.</p>
<div class="row">
<div class="col-sm-12 form-horizontal">
<div class="form-group">
<label for="query" class="sr-only">Enter some text:</label>
<div class="col-sm-12">
<input type="text" id="query" name="query" value="" placeholder="Enter a query..." class="form-control input-lg" tabindex="0" autofocus aria-required="true" required>
</div>
</div>
<div class="form-group">
<div class="col-sm-12">
<button class="btn btn-primary btn-lg" type="button" id="submit">Execute Query</button>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div id="output"></div>
</div>
</div>
<div class="row">
<div class="col-sm-12 footer">
← <a href="https://github.com/jabranr/location-wit-ai">Back to Github</a> – © Jabran Rafique – MIT License
</div>
</div>
</div>
<!-- jQuery -->
<script src="//code.jquery.com/jquery.js"></script>
<script src="js/main.js"></script>
</body>
</html>