-
Notifications
You must be signed in to change notification settings - Fork 1
/
dashboard.html
138 lines (109 loc) · 5.54 KB
/
dashboard.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
<!DOCTYPE html>
<html>
<title>Happening Place</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<head>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://www.w3schools.com/lib/w3-theme-dark-grey.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script type="text/javascript" src="js/dashboard.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>
</head>
<body class="w3-theme-d1 bg-success" onload="retrieveHostEventList()">
<div class="w3-top">
<div class="w3-bar w3-theme-d2 w3-left-align w3-large">
<a class="w3-bar-item w3-button w3-hide-medium w3-hide-large w3-right w3-padding-large w3-hover-white w3-large w3-theme-d2"
href="javascript:void(0);" onclick="openNav()"><i class="fa fa-bars"></i></a>
<a class="w3-bar-item w3-button w3-padding-large w3-theme-d4" title="home"><i class="fa fa-home w3-margin-right"></i>Happening
Place</a>
<a href="#" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white" title="News"><i class="fa fa-globe"></i></a>
<a href="guest.html" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white" title="Switch User"><i
class="fa fa-refresh"></i></a>
<a href="#" class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white" title="Messages"><i class="fa fa-envelope"></i></a>
<div class="w3-dropdown-hover w3-hide-small">
<button class="w3-button w3-padding-large" title="Notifications"><i class="fa fa-bell"></i><span class="w3-badge w3-right w3-small w3-green">3</span></button>
<div class="w3-dropdown-content w3-card-4 w3-bar-block" style="width:300px">
<a href="#" class="w3-bar-item w3-button">One new friend request</a>
<a href="#" class="w3-bar-item w3-button">Upcoming Event Reminder</a>
<a href="#" class="w3-bar-item w3-button">New events added</a>
</div>
</div>
<style>
.button3 {
background-color: red;
border: none;
color: white;
padding: 10px 12px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 2px 2px;
cursor: pointer;
height: 40px;
width: 160px;
}
</style>
<a href="#" class="w3-bar-item w3-button w3-hide-small w3-right w3-padding-large w3-hover-white" title="My Account">
<img src="img/avatar2.png" class="w3-circle" style="height:23px;width:23px" alt="Avatar">
</a>
</div>
</div>
<div id="navDemo" class="w3-bar-block w3-theme-d2 w3-hide w3-hide-large w3-hide-medium w3-large">
<a href="#" class="w3-bar-item w3-button w3-padding-large">Link 1</a>
<a href="#" class="w3-bar-item w3-button w3-padding-large">Link 2</a>
<a href="#" class="w3-bar-item w3-button w3-padding-large">Link 3</a>
<a href="#" class="w3-bar-item w3-button w3-padding-large">My Profile</a>
</div>
<div class="w3-container w3-theme-d3" style="padding-top:60px; padding-bottom:20px; padding-left:10px; height:1500px; overflow:auto;">
<div class="w3-container w3-third w3-theme-d3" style="overflow:auto;padding-top:10px; padding-bottom:20px; padding-left:0px; padding-right:0px;">
<div class="w3-third w3-theme-d2 w3-card" style="width:50%;padding:15px; overflow: auto;">
<h4>
<div class="w3-button w3-theme-d5" onclick="retrieveHostEventList()">Host</div>
<div class="w3-button w3-theme-d5" onclick="hostContributeList()">Contribute</div>
</h4>
<br> <a class="w3-bar-item w3-button w3-hide-small w3-padding-large w3-hover-white" title="Create Event"
onclick="eventmanager()"><i class="fa fa-plus"></i></a>
<p id="eventList"></p>
</div>
<!-- COLUMN 1 -->
<div class="w3-rest " style="padding-top:1%; padding-bottom:20px; padding-right:20px; padding-left:10px">
<div id="eventDetails" class="w3-bar-block w3-theme-d3" style="padding-left:0px">
<div class="w3-card w3-theme-d4" style="padding-left:0%">
<h3>  Tasks</h3>
<p id="tasks" class="w3-bar-block w3-theme-d3"></p>
</div>
<div class="w3-card w3-theme-d4" style="padding-left:0%">
<h3>  Contributors</h3>
<p id="contributors" class="w3-bar-block w3-theme-d3"></p>
</div>
</div>
</div>
</div>
<div class="w3-container w3-third w3-theme-d3" style="padding-top:10px; padding-bottom:10px; padding-left:0px;">
<p id="menu">
</p>
<p id="userRating"></p>
<p id="createEvent"></p>
<br>
</div>
<div class="w3-rest w3-theme-d2" style="padding-top:10px; padding-bottom:20px; padding-left:1%; ">
<div class="w3-bar-block w3-theme-d3" style="overflow:auto">
<div class="w3-card w3-theme-d4" style="padding-left:5%">
<h3>Guests</h3>
<input id="message" placeholder="Enter message to send" class="form-control"></input>
<button type="button" class="btn btn-primary" onclick="sendMessage()">Send</button>
</div>
<p id="hostEventGuestList"></p>
</div>
<div class="w3-card w3-theme-d4" style="padding-left:5%">
<h3>Descriptors</h3>
</div>
<p id="tagsOutput">
<canvas id="pie-chart" width="800" height="450"></canvas>
</p>
</div>
</div>
</body>
</html>