-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathindex.html
114 lines (93 loc) · 5.65 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, target-densitydpi=medium-dpi" />
<link rel="stylesheet" href="libs/jQM-flat/jquery.mobile.flatui.css">
<link rel="stylesheet" type="text/css" href="css/index.css" />
<title>App Name</title>
</head>
<body>
<div id="app">
<div id="home-page" data-role="page">
<div data-role="content" >
<div id="logoContainer" class="centerText">
<img src="img/logo.png" id="logo" />
</div>
<div id="menu">
<a data-icon="flat-heart" data-theme="d" href="#second-page" data-role="button">Second Page</a>
<a data-icon="flat-time" data-theme="f" href="#due-page" data-role="button">Fake Btn</a>
<fieldset class="ui-grid-a">
<div class="ui-block-a"> <a data-icon="flat-checkround" data-theme="e" href="#tips-page" data-role="button">Fake Btn</a></div>
<div class="ui-block-b"><a data-icon="ms-question" data-theme="g" href="#about-page" data-role="button" >About</a></div>
</fieldset>
</div>
</div>
</div><!-- /page -->
<div id="second-page" data-role="page">
<div data-role="header" data-id="header" id="header" data-position="fixed" class="ui-header">
<a href="#home-page" data-role="button" data-icon="arrow-l" data-inline="true" >Back</a>
<h1>Sample Form</h1>
</div>
<div data-role="content" >
<form id="search-form" action="">
<label for="address">Address</label>
<input type="text" name="address" id="address" data-mini="true" placeholder="123 cedar ave"/>
<label for="dentist">Person <span class="small-text">(optional)</span></label>
<input type="text" name="dentist" id="dentist" data-mini="true" placeholder="Dr Smith"/>
<div data-role="fieldcontain">
<fieldset data-role="controlgroup" data-mini="true">
<legend>Availability</legend>
<input type="checkbox" name="checkbox-1a" id="checkbox-1a" class="custom" checked="checked" />
<label for="checkbox-1a">Morning</label>
<input type="checkbox" name="checkbox-2a" id="checkbox-2a" class="custom" checked="checked"/>
<label for="checkbox-2a">Afternoon</label>
<input type="checkbox" name="checkbox-3a" id="checkbox-3a" class="custom" checked="checked" />
<label for="checkbox-3a">Evening</label>
<input type="checkbox" name="checkbox-4a" id="checkbox-4a" class="custom" />
<label for="checkbox-4a">Weekends</label>
</fieldset>
</div>
<div data-role="fieldcontain">
<label for="select-choice-a">Type</label>
<select name="select-choice" id="select-choice-a" data-native-menu="false" data-mini="true" data-theme="b">
<option value="val1">Option 1</option>
<option value="val2">Option 2</option>
<option value="val3">Option 3</option>
</select>
</div>
<button type="submit" data-theme="f" data-mini="false" class="ui-btn-hidden" aria-disabled="false">Search</button>
</form>
</div>
<div id="footer" data-role="footer" data-id="footer1" data-position="fixed" data-tap-toggle="false">
<div id="navbar" data-role="navbar">
<ul>
<li><a id="map-button" href="#second-page" data-icon="flat-location" data-theme="b">Map</a></li>
<li><a id="list-button" href="#list-page" data-icon="flat-menu">List</a></li>
<li><a id="search-button" href="#search-page" data-icon="ms-search">Search</a></li>
</ul>
</div>
</div>
</div>
<div id="about-page" data-role="page">
<div data-role="header" data-id="header1" data-position="fixed" class="ui-header">
<a href="#" data-rel="back" data-role="button" data-icon="arrow-l" data-inline="true" >Back</a>
<h1>About App</h1>
</div>
<div data-role="content" class="big-text">
<h2>Privacy Policy</h2>
<p>...</p>
</div>
</div>
</div>
<script type="text/javascript" src="libs/fastclick.min.js"></script>
<script type="text/javascript" src="phonegap.js"></script>
<script type="text/javascript" src="libs/jquery-2.0.3.min.js"></script>
<script type="text/javascript" src="libs/jQueryMobile/jquery.mobile-1.3.2.min.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript">
app.initialize();
</script>
</body>
</html>