-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHome.html
executable file
·120 lines (104 loc) · 3.22 KB
/
Home.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
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="api/jquery-1.11.2.min.js"></script>
<script type="text/javascript" src="api/parse-1.3.5.js"></script>
<script type="text/javascript" src="js/signin.js"></script>
<script type="text/javascript" src="js/signup.js"></script>
<script type="text/javascript" src="js/currentuserinfo.js"></script>
<script type="text/javascript" src="js/serviceinfo.js"></script>
<script type="text/javascript" src="js/domElement.js"></script>
<script type="text/javascript" src="js/reformatter.js"></script>
<script type="text/javascript" src="js/servicemanager.js"></script>
<script type="text/javascript" src="js/customertopmenu.js"></script>
<link rel="stylesheet" type="text/css" href="css/customertopmenu.css">
</head>
<body>
<div class="jbTitle">
<h1>Telegroup Company</h1>
</div>
<div class="jbMenu">
<p>
<span class = "menu-item">
<a href="home.html">Home</a>
<a href="addservice.html">Add Service</a>
<a href="myaccount.html">My Account</a>
<span id = "signbtn"> </span>
</span>
<a class = "submenu-item" href="signup.html">Are You New User?</a>
</p>
</div>
</br></br>
<div class="jbContent">
<span class = "body-item">
<div id="textDiv"></div>
<h2>Welcome to Telegroup, </h2>
<h4>
<label for="Username"></label>
<span id = "fullname"></span></br></br>
<span id = "username"></span></br></br>
<span id = "usertype"></span></br></h4>
<script>
if ( Parse.User.current() != null )
{
var currentUser = Parse.User.current()
document.getElementById("fullname")
.appendChild(document.createTextNode( "Your Name: " + currentUser.get("firstname") + " " + currentUser.get("lastname") ));
document.getElementById("username").appendChild(document.createTextNode( "Username: " + currentUser.get("username") ));
document.getElementById("usertype").appendChild(document.createTextNode("Your Customer Status: " + getAccountType() ));
}
</script>
</br>
</br>
<!--
<form>
<fieldset>
Available Packages:
</br></br>
<script>displayAllPackages( "id2");</script>
<span id = 'id2'> </span>
</br>
<button type="button" id = "addpackagebtn" >Add Packages</button>
<script>
$("#addpackagebtn").click( function ( )
{
selfAddPackage ( "newpackages" );
});
</script>
</fieldset>
</form>
</br></br></br></br>
<form>
<fieldset>
Available Services:
</br></br>
<script>displayAllServices( "id1");</script>
<span id = 'id1'> </span>
</br>
<button type="button" onclick="addServices( "newservice")">Add Service</button>
</fieldset>
</form>
</br>
</br>
</br>
<button onclick = "location.href = 'myaccount.html';" id = "myButton" class = float-left submit-button>
My Account
</button>
</br>
</br>
<button onclick = "location.href = 'signin.html';" id = "myButton" class = float-left submit-button>
Sign In
</button>
</br>
</br>
<button onclick = "signOut()">
Sign Out
</button>
</br>
</br>
<button onclick = "location.href = 'home.html';" id = "myButton" class = float-left submit-button>
HOME
</button>-->
</div></span>
</body>
</html>