-
Notifications
You must be signed in to change notification settings - Fork 0
/
PV1_Home.html
222 lines (213 loc) · 7.91 KB
/
PV1_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
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
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<link rel="icon"
type="image/png"
href="./images/m.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Professor Landing Page</title>
<link rel="stylesheet" href="css/profView.css">
<link type="text/css" rel="StyleSheet" href="http://cdnjs.cloudflare.com/ajax/libs/fullcalendar/1.6.4/fullcalendar.css">
<script src="js/jquery-1.11.0.min.js" type="text/javascript"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/fullcalendar/1.6.4/fullcalendar.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
//Default Action
$(".tab_content").hide(); //Hide all content
$("ul.tabs li:first").addClass("active").show(); //Activate first tab
$(".tab_content:first").show(); //Show first tab content
//On Click Event
$("ul.tabs li").click(function() {
$("ul.tabs li").removeClass("active"); //Remove any "active" class
$(this).addClass("active"); //Add "active" class to selected tab
$(".tab_content").hide(); //Hide all tab content
var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
$(activeTab).fadeIn(); //Fade in the active content
return false;
});
//calendar
$(document).ready(function() {
$('#conflict-info').popover('hide');
$('#term-1-calendar').fullCalendar({
year: 2013,
month:8
});
$('#term-2-calendar').fullCalendar({
year: 2014,
month: 0,
events: [
{
id: 'A1',
tag: 'assignments',
title: 'A1',
start: '2014-01-05',
backgroundColor: '#FA8A28',
borderColor: '#FA8A28',
url:'PV1_Assignment.html'
},
{
id: 'A2',
tag: 'assignments',
title: 'A2 - !',
start: '2014-01-19',
backgroundColor: '#FA8A28',
borderColor: 'red',
className: 'warning',
url:'PV1_Assignment.html'
},
{
id:'M1',
tag:'exams',
title: 'M1 - !!!',
start: '2014-01-20',
backgroundColor: '#5254FF',
borderColor: 'red',
className: 'warning',
url:'PV1_Exams.html'
},
{
id: 'A3',
tag: 'assignments',
title: 'A3 - !',
start: '2014-02-02',
backgroundColor: '#FA8A28',
borderColor: 'red',
className: 'warning',
url:'PV1_Assignment.html'
},
{
id: 'A4',
tag: 'assignments',
title: 'A4 - !',
start: '2014-02-16',
backgroundColor: '#FA8A28',
borderColor: 'red',
className: 'warning',
url:'PV1_Assignment.html'
},
{
id: 'A5',
tag: 'assignments',
title: 'A5',
start: '2014-03-02',
backgroundColor: '#FA8A28',
borderColor: '#FA8A28',
url:'PV1_Assignment.html'
},
{
id: 'A6',
tag: 'assignments',
title: 'A6',
start: '2014-03-16',
backgroundColor: '#FA8A28',
borderColor: '#FA8A28',
url:'PV1_Assignment.html'
},
{
id: 'A7',
tag: 'assignments',
title: 'A7',
start: '2014-03-30',
backgroundColor: '#FA8A28',
borderColor: '#FA8A28',
url:'PV1_Assignment.html'
},
{
id:'M2',
tag:'exams',
title: 'M2',
start: '2014-03-3',
backgroundColor: '#5254FF',
borderColor: '#5254FF',
url:'PV1_Exams.html'
},
]
})
});
});
</script>
<script language="JavaScript" src="ts_picker.js">
</script>
</head>
<body>
<div class="container-fluid" style="width:100%; height:100px;">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="PV1_Home.html"><font size="6"><img src="./images/banner.png" alt="info_text1" width = "500px" height = "80px"></font></a>
</div>
<div class="navbar-collapse collapse" style="background-image: url(wallpaper.jpg); width:100%">
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Settings</a></li>
<li><a href="#">Profile</a></li>
<li><a href="#">Help</a></li>
</ul>
</div>
</div>
<div style="height:5px; width:100%; background-color:#FFFFFF;"></div>
<div id = "page_container" style=" width:100%" align="center">
<div id = "mysidebar" style="float:left; width:11%; height:277px; background-color:#FFFF;" >
<ul class="nav2 nav-sidebar">
<li><a href="PV1_Home.html"><div id ="active2">Calendar</div></a></li>
<li><a href="PV1_Assignment.html">Assignment</a></li>
<li><a href="PV1_Exams.html">Exams</a></li>
<li><a href="PV1_Labs.html">Labs</a></li>
<li><a href="PV1_Events.html">Events</a></li>
</ul>
</div>
<div id = "Page_content" style="float:left; width:89%; height:100%">
<h2><select>
<option value="CPSC 110">CPSC 110</option>
<option value="CPSC 320">CPSC 320</option>
<option value="CPSC 304">CPSC 304</option>
<option value="CPSC 344">CPSC 344</option>
</select></h2>
<!-- Calendar title and date selector optional, may be removed. -->
<h1>Calendar</h1>
Go to Selected Date:<form name="tstest">
<input type="Text" name="timestamp" value="">
<a href="javascript:show_calendar('document.tstest.timestamp', document.tstest.timestamp.value);"><img src="cal.gif" width="16" height="16" border="0" alt="Click Here to Pick up the timestamp"></a>
</form>
<div class="container">
<table style="margin: 10px;">
<tr>
<td style=" border: 1px solid white; width:150px"><div id = "rounded" style="background-color:#5254FF; padding:10px;">Exams/Quizzes</div></td>
<td style=" border: 1px solid white; width:150px"><div id = "rounded" style="background-color:#FA8A28; padding:10px;">Assignments</div></td>
<td style=" border: 1px solid white; width:150px"><div id = "rounded" style="background-color:#9E42FF; padding:10px;">Labs</div></td>
<td style=" border: 1px solid white; width:150px"><div id = "rounded" style="background-color:#1BD12A; padding:10px;">Events</div></td>
</tr>
<tr>
<td style="padding: 10px; border: 1px solid white">% of class with conflicts:
<button id='conflict-info' type="button" class="btn btn-link" data-container="body" data-toggle="popover" data-placement="top" data-content="A conflict occurs when a student that is currently in your class has another midterm, quiz, assignment or coursework from another course scheduled on the same day as a currently scheduled exam or assignment">
What is a conflict?
</button>
</td>
<td style="padding: 10px; border: 1px solid white">! = 10%-20%</td>
<td style="padding: 10px; border: 1px solid white">!! = 21%-30%</td>
<td style="padding: 10px; border: 1px solid white">!! over 30%</td>
</tr>
</table>
<div id='term-2-calendar' style="width: 900px;"></div>
</div>
</div>
</div>
</div>
<div id="footer_2" style="background-color:#000000;clear:both;text-align:center;"><font color="white">
Copyright TeamMinions.com</font></div>
</body>
</html>
<script type=”text/javascript”>
function tab(tab) {
document.getElementById(‘tab1′).style.display = ‘none’;
document.getElementById(‘tab2′).style.display = ‘none’;
document.getElementById(‘li_tab1′).setAttribute(“class”, “”);
document.getElementById(‘li_tab2′).setAttribute(“class”, “”);
document.getElementById(tab).style.display = ‘block’;
document.getElementById(‘li_’+tab).setAttribute(“class”, “active”);
}
</script>