-
Notifications
You must be signed in to change notification settings - Fork 0
/
addservice.html
executable file
·93 lines (78 loc) · 2.29 KB
/
addservice.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
<!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">
<h1>Add Services</h1>
<div id="textDiv"></div>
<label for="Username"></label>
<span id = "accounttype"> </span>
<script>
if ( Parse.User.current() == null )
{
window.location.href="signin.html"
alert("Please Log in First");
}
document.getElementById("accounttype").appendChild(document.createTextNode("Welcome " + getAccountType() ));
</script>
</br>
</br>
<form>
<fieldset>
Available Packages:
</br></br>
<script>displayAllPackages( "id2");</script>
<span id = 'id2'> </span>
</br>
<button class="myButton" 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 class="myButton" type="button" onclick="addServices( "newservice")">Add Service</button>
</fieldset>
</form>
</div>
</span>
</body>
</html>