-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmailbox.html
executable file
·94 lines (81 loc) · 4.63 KB
/
mailbox.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
<!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=default-width, height=default-height, target-densitydpi=device-dpi" />
<script type="text/javascript" src="js/jquery.min.js" ></script>
<script type="text/javascript" src="js/jquery.mobile.min.js"></script>
<link rel="stylesheet" href="css/jalf_theme.min.css" />
<link rel="stylesheet" href="css/jquery.mobile.structure.min.css" />
<link rel="stylesheet" type="text/css" href="css/index.css" />
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript" src="js/main.js"></script>
<script type="text/javascript" src="js/mailboxList.js"></script>
</head>
<body>
<div data-role="page" data-theme="a">
<div data-role="header">
<a href="javascript:void(0);" data-role="button" class="btnlogout" data-inline="true" data-theme="a" >Logoff</a>
<h1>MailBox</h1>
<a data-role="button" id="btnComposeMessage" href="javascript:void(0);" data-inline="true" data-theme="a"> Compose </a>
</div>
<div data-role="content" data-theme="a">
<script type="text/javascript">
$(document).ready(function() {
getunreadmessage();
$("#btnComposeMessage").click(function() {
try
{
console.log('compose email click function');
$.mobile.changePage("ComposeMessage.html", {transition: "slide",showLoadMsg: true});
}
catch(e)
{
alert(e);
}
});
});
$(".btnlogout").click(function (){
showConfirm();
});
function showConfirm() {
var buttonIndex=confirm("Do you want to disconnect?");
if (buttonIndex==true)
{
$.mobile.changePage("index.html",{transition:"slide"});
}
}
function SetParamEmail(indx){
try{
indexEmail=indx;
console.log('indexEmail=' + indexEmail);
console.log('SetParamEmail function');
// window.location.href="mailboxList.html";
$.mobile.changePage("mailboxList.html", {transition:"slide",showLoadMsg:true});
console.log('page navigation');
}
catch(e){alert(e);}
}
</script>
<div id="mail_select" style="padding-top:20px;">
<div class="listview">
<ul id="ulEmailBox" data-role="listview" data-count-theme="a" data-theme="a" data-inset="true" style="margin:0px; font-size:18px;">
</ul>
</div>
</div>
</div>
<div data-theme="a" data-role="footer" data-inset="true" data-position="fixed" data-tap-toggle="false">
<div data-role="navbar" >
<ul>
<!-- <li><a rel="external" id="amailbox" href="mailbox.html" data-icon="jalf-email" > MailBox </a></li>-->
<li><a rel="external" id="afavorites" href="favorites.html" data-icon="jalf-favorites" > Favorites </a></li>
<li><a rel="external" id="asearch" href="search.html" data-icon="jalf-search" > Search </a></li>
<li><a rel="external" id="aphotos" href="AlbumCategory.html" data-icon="jalf-photos" > Photos </a></li>
<li><a rel="external" id="alocation" href="location.html" data-icon="jalf-location" > Location </a></li>
</ul>
</div>
</div>
</div>
</body>
</html>