-
Notifications
You must be signed in to change notification settings - Fork 0
/
PV1_Exams-V2.html
159 lines (153 loc) · 7.12 KB
/
PV1_Exams-V2.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
<!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">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script src="js/bootstrap.js" type="text/javascript"></script>
<script src="js/app.js" type="text/javascript"></script>
<script src="js/Chart.min.js" type="text/javascript"></script>
<script src="js/ankicharts.js" type="text/javascript"></script>
<script src="js/screenswitch.js" type="text/javascript"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.js"></script>
<script src="js/jquery-1.11.0.min.js" type="text/javascript"></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;
});
});
</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">Calendar</a></li>
<li><a href="PV1_Assignment.html">Assignment</a></li>
<li><a href="PV1_Exams.html"><div id ="active2">Exams</div></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:630px;">
<h2><select>
<option value="CPSC 310">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>
<!-- <div class="deck-screen-left">
<canvas id="canvas" height="200" width="400"></canvas>
<br>
</div>
</div> -->
<h1>Exam Dates</h1>
<div id="mytables">
<table style="width:100%" align="center">
<tr>
<td><form action="PV1_Exams-CreateNewItem.html">
<input type="submit" class='btn btn-primary' value="Create New Item"></form></td>
<td><b><u><font color="black"></font></u></b></td>
<td><b><u><font color="black"></font></u></b></td>
<td><b><u><font color="black"></font></u></b></td>
<td><b><u><font color="black"></font></u></b></td>
</tr>
<tr>
<td><font color="white">.</font></td>
<td><font color="white">.</font></td>
<td><font color="white">.</font></td>
<td><font color="white">.</font></td>
<td><font color="white">.</font></td>
</tr>
<tr>
<td><b><u><font color="black">Item Name</font></u></b></td>
<td><b><u><font color="black">% of Students with Conflicts</font></u></b></td>
<td><b><u><font color="black">Date</font></u></b></td>
<td><b><u><font color="black">Time</font></u></b></td>
<td><b><u><font color="black"></font></u></b></td>
</tr>
<tr>
<td><a href="#"><b><font color="black">Midterm 1</font></b></a></td>
<td><span style="background-color:red; border-radius: 7px; padding: 0px 10px; "><font color="white">40%</font></span></td>
<td>Jan 20 2014</td>
<td>1:00 PM</td>
<td><form action="PV1_Exams-Midterm1.html">
<input type="submit"class='btn btn-default' value="Change Item Date"></form></td>
<td><button type="button" class='btn btn-default' onclick="alert('Item Deleted')">X</button></td>
</tr>
<tr>
<td><a href="#"><b><font color="black">Quiz #5</font></b></a></td>
<td><span style="background-color:Green; border-radius: 7px; padding: 0px 10px; "><font color="white">0%</font></span></td>
<td>Feb 28 2014</td>
<td>1:00 PM</td>
<td><button type="button" class='btn btn-default' onclick="alert('Success! You have updated the exam date!')">Change Item Date</button></td>
<td><button type="button" class='btn btn-default' onclick="alert('Item Deleted')">X</button></td>
</tr>
<tr>
<td><a href="#"><b><font color="Red">(new) Midterm 2</font></b></a></td>
<td><span style="background-color:orange; border-radius: 7px; padding: 0px 10px; "><font color="white">15%</font></span></td>
<td>Mar 4 2014</td>
<td>1:00 PM</td>
<td><button type="button" class='btn btn-default' onclick="alert('Success! You have updated the exam date!')">Change Item Date</button></td>
<td><button type="button" class='btn btn-default' onclick="alert('Item Deleted')">X</button></td>
</tr>
<tr>
<td><a href="#"><b><font color="black">Quiz #6</font></b></a></td>
<td><span style="background-color:Green; border-radius: 7px; padding: 0px 10px; "><font color="white">2%</font></span></td>
<td>Mar 16 2014</td>
<td>1:00 PM</td>
<td><button type="button" class='btn btn-default' onclick="alert('Success! You have updated the exam date!')">Change Item Date</button></td>
<td><button type="button" class='btn btn-default' onclick="alert('Item Deleted')">X</button></td>
</tr>
</table>
</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>