-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
90 lines (70 loc) · 2.88 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
<!doctype html>
<html class="no-js ui-mobile-rendering" lang="en">
<head>
<title>Hope</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" />
</head>
<body>
<div id="hopemobile" data-role="page" data-title="Hope">
<div data-role="header">
<h1>Hope</h1>
</div><!-- /header -->
<div data-role="content">
<h2>Report</h2>
<ul data-role="listview" data-inset="true">
<li><a href="#hope?login" class="login">Login</a></li>
<li><a href="#hope?about" class="about">About</a></li>
<li><a href="#hope?home" class="about">Test</a></li>
</ul>
</div><!-- /content -->
</div>
<div id="login" data-role="page" data-title="Login">
</div>
<div id="about" data-role="page" data-title="About">
<div data-role="header">
<a href="#" data-icon="back" class="back ui-btn-left">Back</a>
<h1>About</h1>
</div><!-- /header -->
</div>
<div id="home" data-role="page" data-title="Home">
</div>
</body>
<script type="text/javascript">
domain = "http://moth.dec.uc.pt/"
rootUrl= domain + "smartroads/"
var app = null;
</script>
<script type="text/template" id="login_content">
<div data-role="header">
<a href="#" data-icon="back" class="back ui-btn-left">Back</a>
<h1>Hope</h1>
</div><!-- /header -->
<div data-role="content">
<input type="text" name="username" id="username" value="" placeholder="email@example.com">
<input type="password" name="password" id="password" value="" autocomplete="off" placeholder="password">
<form>
<input type="submit" id="submit" value="sign in" data-theme="b">
<input type="submit" value="sign up" data-theme="a">
</form>
</div>
</script>
<script type="text/template" id="home_content">
<div data-role="header">
<a href="#" data-icon="back" class="back ui-btn-left">Back</a>
<h1>Home</h1>
</div><!-- /header -->
<div data-role="content">
<ul data-role="listview" id="listcategories" data-filter="true" data-filter-placeholder="Search categories..." data-inset="true">
<li><a href="#">Building</a></li>
<li><a href="#">Wall</a></li>
<li><a href="#">Element</a></li>
</ul>
<button id="takepicture" type="submit" data-theme="b">Take Picture</button>
<button id="selectpicture" type="submit" data-theme="b">Select Picture</button>
<a href="#" id="getlocation" data-role="button" data-icon="refresh" data-theme="a">Get Location</a>
</div>
</script>
<script src="js/libs/require.js" data-main="js/mobile"></script>
</html>