-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
309 lines (287 loc) · 11.7 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0">
<title>e-Kalondolondo</title>
<link type="text/css" rel="stylesheet" href="src/custom.css" />
<link rel="stylesheet" href="src/libs/css/activityIndicator.css" type="text/css" />
<link rel="stylesheet" href="index.css" />
<link rel="stylesheet" href="src/bootstrap/css/bootstrap-responsive.css" type="text/css"/>
<link rel="stylesheet" type="text/css" href="src/jquery.mobile.simpledialog.min.css" />
<link rel="stylesheet" href="jquery.mobile/jquery.mobile-1.2.0.min.css" />
<script type="text/javascript" charset="utf-8" src="cordova-2.0.0.js"></script>
<script src="jquery.mobile/jquery-1.8.2.min.js"></script>
<script src="jquery.mobile/jquery.mobile-1.2.0.min.js"></script>
</head>
<body onload="init()">
<div id="login-page" data-role="page">
<div data-role="header" data-theme="b">
<h1 class="fancy"><img alt="icon" src="images/wvm.png" style="padding-top: 10px" width="200px" height="120px">
<br/>
e-Kalondolondo</h1>
</div>
<div id="content_id" data-role="content">
<form id="loginForm">
<div data-role="fieldcontain" class="ui-hide-label">
<label for="username">Username:</label>
<input type="text" name="username" id="username1" value="" style="padding-top:5px" width="100px" placeholder="Username" />
</div>
<div data-role="fieldcontain" class="ui-hide-label">
<label for="password">Password:</label>
<input type="text" name="password" id="password1" value="" width="100px" placeholder="Password" />
</div>
<div id="requiredFields"></div>
<br />
<!--input type="submit" value="Login" id="submitButton"-->
<div class="ui-grid-a">
<div class="ui-block-a">
<a href="#" data-role="button" width="100px" height="30px" id="login-button" class="btn btn-primary">Login</a>
</div>
<div class="ui-block-b">
<a data-role="button" width="100px" height="30px" onclick="navigator.app.exitApp()" class="btn btn-primary">Exit</a>
</div>
</div><!-- /grid-a -->
</form>
</div>
<div data-role="footer" data-theme="b">
<h4>Copyright © SecureNET Technologies (k) Ltd</h4>
</div>
</div>
<!-- Start of home page -->
<div data-role="page" id="home-page">
<div data-role="header" data-theme="b">
<a href="#" data-role="button" data-toggle="modal" data-icon="gear" id="upload_button" class="ui-btn-left">Upload</a>
<h1><img alt="icon" src="images/wvm.png" width="100px" height="50px">
<br/>
e-Kalondolondo</h1>
<a href="#login-page" data-transition="pop" data-role="button" data-icon="minus" id="logout-button" class="ui-btn-right" >Logout</a>
</div>
<div data-role="content">
<div class="api-div">
<h2 >Welcome <label id="usr">Enum</label>
<input id="usrId" type="hidden">
</input>,</h2>
<br/>
<h4 class="help" >Select a Survey tool from the list below </h4>
</div>
<ul data-role="listview" data-inset="true" id="menu_id">
<li>
<a id="hm" href="#">Harmonized Monitoring Survey Tool</a>
</li>
<li>
<a id="cg" href="#">Care Giver Survey Tool</a>
</li>
<li>
<a id="yb" href="#" onclick="loadHeader(3);">Youth Behaviour Survey Tool</a>
</li>
<li>
<a id="fl" href="#" onclick="loadHeader(4);">Functional Literacy Assessment Tool (FLAT)</a>
</li>
<li>
<a id="gm" href="#" onclick="loadHeader(5);">Growth Monitoring Tool</a>
</li>
</ul>
<a href="#page7" data-transition="slideup" data-icon="arrow-d" data-role="button">View Messages</a>
</div><!-- /content -->
<div data-role="footer" data-theme="b">
<h4>Copyright © SecureNET Technologies (k) Ltd</h4>
</div>
</div><!-- /page -->
<!-- Start of Survey1a page -->
<div data-role="page" id="survey1a-page">
<div data-role="header" data-theme="b">
<h1 id="hd_sv">Header</h1>
<a href="#home-page" data-role="button" data-icon="home" id="add-button" class="ui-btn-right">Home</a>
</div>
<div data-role="content" class="api-div">
<div hidden="hidden">
</br>
opt_rows_returned=><label id="opt_rows_returned"></label></br>
i_type=><label id="i_type"></label></br>
i_id=><label id="i_id"></label></br>
</div>
<a href="#" id="view-report-btn" data-icon="grid" data-role="button" align="middle">View Report</a>
<div id="ph1"></div>
<div id="ph2"></div>
<div id="valid"></div>
<div class="ui-grid-b">
<div class="ui-block-a">
<a id="previous-btn" data-role="button" align="middle" data-icon="arrow-l"onclick="previousFunc('id')" >Previous</a>
</div>
<div class="ui-block-b">
<a id="next-btn" data-role="button" data-icon="arrow-r" data-iconpos="right" align="middle" onclick="nextFunc('id');" >Next</a>
</div>
</div>
</div>
<div data-role="footer" data-theme="b">
<h4>Copyright © SecureNET Technologies (k) Ltd</h4>
</div>
</div>
<!-- CGST List Modules-->
<div data-role="page" id="survey2-page">
<div data-role="header" data-theme="b">
<h1 id="hd1_hm">CARE GIVER SURVEY TOOL</h1>
<a href="#home-page" data-role="button" data-icon="home" id="add-button" class="ui-btn-right">Home</a>
</div>
<div data-role="content" class="api-div">
<blockquote>
<h2>Instructions</h2>
</blockquote>
<label id="userId"></label>
<h4 class="help" ><strong>Fill</strong> out accordingly as per the program you are visiting and Press <strong> START </strong> to answer subsequent questions as per the <strong>module</strong> you have selected</h4>
<table id="deviceinfo">
<tr spancol="2">
<th colspan="2" align="center">Program/Project Profile</th>
</tr>
<tr>
<td>Name of Program/Project (ADP)</td>
<td class="alt"><select name="type" id="adpList"></select></td>
</tr>
<tr>
<td>Location (TA and District)<label id="adpID"></label></td>
<td class="alt" style="text-align: center"><strong id="TA" > </strong></td>
</tr>
<tr>
<td>Reporting Period (Month and FY)</td>
<td class="alt"><strong id="pgversion"> </strong></td>
</tr>
<tr>
<td>Name of Person Compiling Report:</td>
<td class="alt"><strong id="person_id"> </strong></td>
</tr>
<tr>
<td>Position of Person Compiling Report:</td>
<td class="alt"style="text-align: center"><strong id="version" >-</strong></td>
</tr>
<tr>
<td>Module:</td>
<td class="alt"><select name="type" id="surveytooltypeList"></select></td>
</tr>
<tr>
<td>Selected Module:<label id="modID"></label></td>
<td class="alt"><label STYLE="font-weight: bold" id="mod"></label></td>
</tr>
</table>
<a data-role="button" align="middle" href="#" id="start_cg_btn">START</a>
</div>
<div data-role="footer" data-theme="b">
<h4>Copyright © SecureNET Technologies (k) Ltd</h4>
</div>
</div>
<!-- Modules not set form-->
<div id="page0" data-role="page">
<div data-role="header" data-theme="b">
<h1 id="hd1">CARE GIVER SURVEY TOOL</h1>
<a href="#home-page" data-role="button" data-icon="home" id="add-button" class="ui-btn-right">Home</a>
</div>
<div data-role="content" class="api-div">
<blockquote>
<h2>Instructions</h2>
</blockquote>
<h4 class="help" ><strong>Sorry</strong> No modules have been set, Kindly contact your DME to set the module or go to the <a href="#home-page" data-role="button" data-icon="home" id="add-button">Home screen</a> and select a survery tool that has modules already set</h4>
</div>
<div data-role="footer" data-theme="b">
<h4>Copyright © SecureNET Technologies (k) Ltd</h4>
</div>
</div>
<!-- Message Form-->
<div id="page7" data-role="page">
<div data-role="header" data-theme="b">
<a href="#" data-role="button" data-icon="grid" id="view_surveys_btn" class="ui-btn-left">View Summary</a>
<h1 id="hd1">Received Messages</h1>
<a href="#home-page" data-role="button" data-icon="home" id="home-button" class="ui-btn-right">Home</a>
</div>
<div data-role="content" class="api-div">
<h4 class="help" >View Messages Received</h4>
</div>
<ul data-role="listview" data-inset="true" id="menu_id">
<li data-role="list-divider" role="heading" class="ui-li ui-li-divider ui-btn ui-bar-b ui-corner-top ui-btn-up-undefined">
Content
</li>
<li data-theme="c" class="ui-btn ui-btn-icon-right ui-li-has-arrow ui-li ui-li-has-count ui-btn-up-c">
<div class="ui-btn-inner ui-li">
<div class="ui-btn-text">
<a href="#" id="inbox_btn" class="ui-link-inherit">Inbox <span class="ui-li-count ui-btn-up-c ui-btn-corner-all">0</span></a>
</div><span class="ui-icon ui-icon-arrow-r ui-icon-shadow"></span>
</div>
</li>
</ul>
<h3 class="help">Test Available users(to be removed)</h3>
<form id="mycontact">
<fieldset>
<legend>
Your details
</legend>
<ol>
<li>
<label for="username">Username</label>
<input id="username" type="text" placeholder="username" required autofocus pattern=" ">
<input type="hidden" id="id"/>
</li>
<li>
<label for="useremail">Password</label>
<input id="useremail" type="text" placeholder="password" required pattern=" ">
</li>
</ol>
</fieldset>
<div class="ui-grid-a">
<div class="ui-block-a">
<a data-role="button" id="btnReset" class="btn btn-primary" type=submit>
RESET
</a>
</div>
<div class="ui-block-b">
<a data-role="button" id="submitButton" type="submit" class="btn btn-primary">
SAVE
</a>
</div>
<div class="ui-block-a">
<a data-role="button" id="btnUpdate" class="btn btn-primary" type=submit>
UPDATE
</a>
</div>
<div class="ui-block-b">
<a data-role="button" id="btnDrop" class="btn btn-danger" type=submit>
DROP
</a>
</div>
</div>
</form>
<br />
<div id="results"></div>
<div data-role="footer" data-theme="b">
<h4>Copyright © SecureNET Technologies (k) Ltd</h4>
</div>
</div>
<!-- Survey report page-->
<div id="page8" data-role="page">
<div data-role="header" data-theme="b">
<h1 id="hd_sr">Survey Report</h1>
<a href="#" data-role="button" data-icon="home" id="gohome-page8" class="ui-btn-right">Home</a>
</div>
<div data-role="content" class="api-div">
<div id="total_surveys"><span></span></div>
<h4 class="help" >List of Surveys</h4>
</br>
</br>
<ul id="surveyList" class="nav nav-list bs-docs-sidenav affix-top">
</ul>
</br>
</br>
<div id="sv_table"></div>
<ul id="sv_list" class="nav nav-list bs-docs-sidenav affix-top"></ul>
</div>
<!--div data-role="footer" data-theme="b">
<h4>Copyright © SecureNET Technologies (k) Ltd</h4>
</div-->
</div>
<!-- App specific scripts -->
<script src="js/app.js"></script>
<script type="text/javascript" src="src/jquery.mobile.simpledialog2.min.js"></script>
<script type="text/javascript" charset="utf-8" src="phonegap-1.4.1.js"></script>
<script src="src/libs/noClickDelay.js"></script>
<script src="jquery.mobile/date.format.js"></script>
<script src="src/libs/jquery.animate-enhanced.js"></script>
<script src="src/libs/iscroll.js"></script>
<script src="src/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>