-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrespondsability.htm
490 lines (396 loc) · 13 KB
/
respondsability.htm
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
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<title>iReply</title>
<link href="style.css"rel="stylesheet" type="text/css" />
<style type="text/css" media="all">
body,ul,li {
padding:0;
margin:0;
border:0;
}
body {
font-size:12px;
-webkit-user-select:none;
-webkit-text-size-adjust:none;
font-family:helvetica;
/* padding-bottom:44px; /* This prevents the scroller to lock if the user swipes down outside of the screen.
NOT needed if in home screen mode and on Android. */
background:#ff8000;
}
#header {
width:100%;
height:auto;
min-height:50px;
line-height:45px;
background:url(images/header.png) repeat-x ;
box-shadow: inset 0px 15px 30px 0px rgba(255,255,255,0.1);
text-align:center;
font-family: 'OpenSansCondensedLight';
padding-top:2%;
color:#FF6600;
font-size:36px;
font-weight:bold;
}
#header a {
color:#f3f3f3;
text-decoration:none;
font-weight:bold;
text-shadow:0 -1px 0 rgba(0,0,0,0.5);
}
#footer {
width:100%;
height:65px;
position:absolute; z-index:2;
bottom:0;
padding:0;
background:url(images/header.png) repeat-x;
box-shadow: inset 0px 15px 30px 0px rgba(255,255,255,0.1);
}
#footer li {
display:block;
float:left;
}
#footer li {
width:50%;
text-align:center;
}
#footer a.remove {
border-right:1px solid #333;
}
#footer a.add {
border-left:1px solid #6a6a6a;
}
#footer a {
display:block;
text-decoration:none;
font-size:12px;
color:#eee;
line-height:24px;
text-shadow:0 -1px 0 #000;
}
#footer span {
display:block;
font-size:30px;
font-weight:bold;
}
#wrapper {
/* Of course you need to specify the object height */
top:60px; bottom:48px;
position:absolute; z-index:1;
width:100%;
overflow:hidden;
}
#scroller {
/* -webkit-touch-callout:none;*/
-webkit-tap-highlight-color:rgba(0,0,0,0);
float:left;
width:100%;
padding:0;
/* -webkit-box-shadow:0 0 8px #555; /* Don't use box shadows, they slow down drastically CSS animations */
}
#scroller ul {
list-style:none;
padding:0;
margin:0;
width:100%;
text-align:left;
}
#scroller li {
padding:0 10px;
height:40px;
line-height:40px;
border-bottom:1px solid #ccc;
border-top:1px solid #fff;
background-color:#fafafa;
font-size:14px;
}
#scroller li > a {
display:block;
}
#myFrame {
position:absolute;
top:0; left:0;
}
</style>
<style>
#preloader {
position:absolute;
top:0;
left:0;
right:0;
bottom:0;
background-color:#fff; /* change if the mask should have another color then white */
z-index:999999; /* makes sure it stays on top */
}
#status {
width:200px;
height:200px;
position:absolute;
left:50%; /* centers the loading animation horizontally one the screen */
top:50%; /* centers the loading animation vertically one the screen */
background-image:url(img/status.gif); /* path to your loading animation */
background-repeat:no-repeat;
background-position:center;
margin:-100px 0 0 -100px; /* is width and height divided by two */
}
.button3{
border:1px solid #26759E;-webkit-box-shadow: #FEFFFF 0px 1px 3px inset;-moz-box-shadow: #FEFFFF 0px 1px 3px inset; box-shadow: #FEFFFF 0px 1px 3px inset; -webkit-border-radius: 7px; -moz-border-radius: 7px;border-radius: 7px;font-size:14px;font-family:lucida sans unicode, lucida grande, sans-serif; padding: 11px 5px 11px 5px; text-shadow: 0px 1px 0 rgba(0,0,0,0.5); text-align: center; color: #FFFFFF;background-color: #60FA1E;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #60FA1E), color-stop(100%, #174F17));
background-image: -webkit-linear-gradient(top, #60FA1E, #174F17);
background-image: -moz-linear-gradient(top, #60FA1E, #174F17);
background-image: -ms-linear-gradient(top, #60FA1E, #174F17);
background-image: -o-linear-gradient(top, #60FA1E, #174F17);
background-image: linear-gradient(top, #60FA1E, #174F17);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#60FA1E, endColorstr=#174F17);
}
h9{
font-family:Arial, Helvetica, sans-serif;
font-size:16px;
color:#FFFFFF;
text-align:center;
}
table{
border-collapse:collapse;
}
tr td{
border-collapse:collapse;
height:60px;
}
.button_example{
width:100%;
height:auto;
border:2px solid #536792;
-webkit-border-radius:3px;
-moz-border-radius:3px;
border-radius:3px;
font-family:arial, helvetica, sans-serif;
padding:1%;
padding-bottom:2%;
text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
font-weight:bold;
text-align:center;
color:#FFFFFF;
background-color:#000000;
background-image:-webkit-gradient(linear, left top, left bottom, from(#000000), to(#cccccc));
background-image:-webkit-linear-gradient(top, #000000, #cccccc);
background-image:-moz-linear-gradient(top, #000000, #cccccc);
background-image:-ms-linear-gradient(top, #000000, #cccccc);
background-image:-o-linear-gradient(top, #000000, #cccccc);
background-image:linear-gradient(to bottom, #000000, #cccccc);
filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#000000, endColorstr=#cccccc);
}
.rowbar{
width:98%;
height:auto;
float:left;
margin-left:1%;
margin-top:1.5%;
background:#E9E9E9;
-webkit-border-radius:3px;
}
.rowbar1{
width:98%;
height:auto;
float:left;
margin-left:1%;
margin-top:1.5%;
background:#E9E9E9;
-webkit-border-radius:3px;
}
</style>
<script type="text/javascript" src="jquery-1.js"></script>
<style type="text/css">
#stage {
display: block;
margin: 0;
padding: 0;
margin: 0 auto;
}
#stage .slider-frame {
position: relative;
display: block;
margin: 0;
padding: 0;
margin: 0 auto;
width:68px;
height: 29px;
float:left;
background-color: #404040;
background-repeat: no-repeat;
background-image: -webkit-gradient(linear, left top, left bottom, from(#2b2b2b), to(#404040));
background-image: -webkit-linear-gradient(#2b2b2b, #404040);
background-image: -moz-linear-gradient(#2b2b2b, #404040);
background-image: -o-linear-gradient(top, #2b2b2b, #404040);
background-image: -khtml-gradient(linear, left top, left bottom, from(#2b2b2b), to(#404040));
filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#2b2b2b', EndColorStr='#404040', GradientType=0);
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#2b2b2b', EndColorStr='#404040', GradientType=0))";
border-top: 1px solid #333333;
border-right: 1px solid #333333;
border-bottom: 1px solid #666666;
border-left: 1px solid #333333;
-moz-border-radius: 16px;
border-radius: 16px;
-webkit-box-shadow: inset 0px 1px 8px 0 rgba(0, 0, 0, 0.25);
-moz-box-shadow: inset 0px 1px 8px 0 rgba(0, 0, 0, 0.25);
box-shadow: inset 0px 1px 8px 0 rgba(0, 0, 0, 0.25);
}
#stage .slider-frame .slider-button {
display: block;
margin: 0;
padding: 0;
width: 33px;
height: 27px;
line-height: 27px;
background: #2372c6;
-moz-border-radius:16px;
border-radius: 16px;
border: 1px solid #70430e;
-webkit-transition: all 0.25s ease-in-out;
-moz-transition: all 0.25s ease-in-out;
transition: all 0.25s ease-in-out;
color: #fff;
font-family:Helvetica;
font-size:11px;
font-weight: bold;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
text-align: center;
cursor: pointer;
}
#stage .slider-frame .slider-button.on {
margin-left:32px;
background: #d37a16;
border: 1px solid #0f3f74;
}
#stage .slider-frame .slider-button:before {
position: absolute;
display: block;
margin: 0;
padding: 0;
width: 23px;
height: 12px;
margin-left:5px;
background: rgba(255, 255, 255, 0.25);
content: '';
-moz-border-radius: 15px;
border-radius: 15px;
}
</style>
<script type="text/javascript" charset="utf-8" src="cordova-2.5.0.js"></script>
<script type="text/javascript" charset="utf-8">
document.addEventListener("deviceready", onDeviceReady, false);
function queryDB(tx) {
tx.executeSql('SELECT * FROM DEMO', [], querySuccess, errorCB);
}
// Query the success callback
//
function querySuccess(tx, results) {
var det='';
var lis=document.getElementById('messagelist').innerHTML;
var msg='';
var ph='';
var len = results.rows.length;
keys=Object.keys(results.rows.item(0));
console.log("DEMO table: " + len + " rows found.");
for (var i=0; i<len; i++){
console.log("Row = " + i + " ID = " + results.rows.item(i).contactno + " Data = " + results.rows.item(i).message);
msg=results.rows.item(i).message;
ph=results.rows.item(i).contactno;
//det=det+"Row = " + i + " ID = " + results.rows.item(i).contactno + " Data = " + results.rows.item(i).message+"\n";
var listsample=lis.replace('**message**', msg);
listsample=listsample.replace('**contact no**', ph);
$('#rowbar1').append(listsample);
}
}
function errorCB(err) {
console.log("Error processing SQL: "+err.code);
alert("Error processing SQL: "+err.code);
}
function onDeviceReady() {
var db = window.openDatabase("Database", "1.0", "PhoneGap Demo", 200000);
db.transaction(queryDB, errorCB, querySuccess);
}
</script>
<script type="text/javascript">//<![CDATA[
$(window).load(function(){
$('.slider-button').toggle(function(){
$(this).addClass('on').html('OFF');
},function(){
$(this).removeClass('on').html('ON');
});
});//]]>
</script>
</head>
<body>
<div id="container" style=" padding-bottom:20px;">
<div style="width:100%;height:auto;float:left;">
<div style="width:100%; height:auto;float:left;">
<table style="width:100%;">
<tr >
<td style="width:33%; ">
<input type="checkbox" style="margin-left:30%;" />
<h9>text</h9>
</td>
<td style="width:33%;">
<input type="checkbox" style="margin-left:30%;"/>
<h9>email</h9>
</td>
<td style="width:33%;">
<a href="viewno.htm"><img src="images/contact.png" style="width:50%; margin-left:30%;" /></a>
</td>
</tr>
</table>
</div>
<div style="width:94%;height:auto;float:left;">
<input type="text" style="width:100%;height:100px; float:left; margin-left:2%;" />
</div>
<div style="width:100%;height:auto;float:left; margin-top:5%;">
<input type="button" class="button_example" value="add reply" style="width:40%; float:left; margin-left:7%;" />
<input type="button" class="button_example" value="save reply" style="width:40%; float:left; margin-left:5%;" />
</div>
<div style="width:98%;height:auto;float:left; margin-top:4%; background:#FFFFFF; border:1px solid #000000; margin-left:1%; padding-bottom:1%;">
<div id="messagelist" style="display:none;">
<div class="rowbar">
<div style="width:60%;height:auto;float:left; font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#000000; padding:1.5%;">
**message**
</div>
<div style="width:34%;height:auto;float:left; margin-left:-2%;">
<div style="float:left; width:45%; height:auto;">
<img src="images/contact.png" style=" float:left; width:100%; height:auto; margin-top:5%;" />
</div>
<div style="width:50%;float:left; margin-top:8%; margin-left:1%;">
<section id="stage">
<div class="slider-frame">
<span class="slider-button">ON</span>
</div>
<div>
**contact no**
</div>
</section>
</div>
</div>
</div>
</div>
<div id="rowbar1">
</div>
</div>
</div>
<div style="width:100%; height:100px; float:left;">
<a href="settings.htm"><input type="button" class="button_example" value="Settings" style="width:40%; float:right; margin-right:2%;" /></a>
</div>
</div>
<!-- jQuery Plugin -->
<!-- Preloader -->
<script type="text/javascript">
//<![CDATA[
$(window).load(function() { // makes sure the whole site is loaded
$("#status").fadeOut(); // will first fade out the loading animation
$("#preloader").delay(350).fadeOut("slow"); // will fade out the white DIV that covers the website.
})
//]]>
</script>
</body>
</html>