-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnews.html
111 lines (92 loc) · 4.1 KB
/
news.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
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
<meta charset="utf-8">
<!-- iPad/iPhone specific css below, add after your main css >
<link rel="stylesheet" media="only screen and (max-device-width: 1024px)" href="ipad.css" type="text/css" />
<link rel="stylesheet" media="only screen and (max-device-width: 480px)" href="iphone.css" type="text/css" />
-->
<!-- If your application is targeting iOS BEFORE 4.0 you MUST put json2.js from http://www.JSON.org/json2.js into your www directory and include it here -->
<script type="text/javascript" charset="utf-8" src="cordova-1.7.0.js"></script>
<link rel="stylesheet" href="css/jquery.mobile.1.1.0.min.css" />
<script src="js/jquery-1.6.4.min.js"></script>
<script src="js/main.js"></script>
<script src="js/jquery.mobile-1.1.0.min.js"></script>
</head>
<body>
<div data-role="page" id="news">
<div data-theme="a" data-role="header" data-position="fixed">
<h3> NEWS </h3>
</div>
<div data-role="content" class="content">
<div class="container">
<div class="row">
<div class="span4">
<div class="well">
<a id="reset" href="#" class="btn"><i class="icon-trash"></i> Reset Local Database</a>
<p>Delete all rows from the employee table in the local SQLite database. Does not require network
connectivity.</p>
</div>
</div>
<div class="span4">
<div class="well">
<a id="sync" href="#" class="btn"><i class="icon-refresh"></i> Sync with Server</a>
<p>Get changes from server and update local database accordingly. Requires network connectivity.</p>
</div>
</div>
<div class="span4">
<div class="well">
<a id="render" href="#" class="btn"><i class="icon-list"></i> Render List</a>
<p>Render the employee list using the data from the local SQLite database. Does not require network
connectivity.</p>
</div>
</div>
</div>
<div class="row">
<div class="span12">
Log:
<textarea id="log" style="width:99%" rows="5"></textarea>
<a id="clearLog" href="#" class="btn"><i class="icon-remove"></i> Clear</a>
</div>
</div>
<br/>
<div class="row">
<div class=span12>
<table class="table table-bordered">
<thead>
<tr>
<th>id</th>
<th>First Name</th>
<th>Last Name</th>
<th>Title</th>
<th>Phone</th>
<th>Deleted</th>
<th>Last Modified</th>
</tr>
</thead>
<tbody id="list"></tbody>
</table>
</div>
</div>
</div>
<button onclick="refreshFeed();">LOAD</button>
<div id="newslist">
<ul data-role="listview" data-inset="true" data-theme="a">
</ul>
</div>
</div>
<div data-theme="a" data-role="footer" data-position="fixed" data-id="commonFooter">
<div data-role="navbar" data-iconpos="top">
<ul>
<li> <a href="index.html" data-theme="" data-icon="home" > HOME </a> </li>
<li> <a href="news.html" data-theme="" data-icon="check" class="ui-btn-active ui-state-persist"> NEWS </a> </li>
<li> <a href="stores.html" data-theme="" data-icon="info"> STORES </a> </li>
<li> <a href="contact.html" data-theme="" data-icon="star"> CONTACT </a> </li>
</ul>
</div>
</div>
</div>
</body>
</html>