-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIHome.html
50 lines (43 loc) · 2.38 KB
/
IHome.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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Ares - Main Menu</title>
<#INCLUDE filename="include_head.html">
<script>
var sessionid = '<#PARAM Name="SessionID">';
</script>
</head>
<body id="type-a">
<div id="wrap">
<div id="content-wrap">
<#INCLUDE filename="include_menu.html">
<div id="content" role="main" tabindex="-1">
<h1>Main Menu</h1>
<span style="background-color:#E6F4FF; font-size: 110%;"><#STATUS class="fade"></span>
<br />
<#TABLE name="CourseValidation" class="instructor-table" AllowRowClick="Yes" headerText="Available Courses to Import from Registrar" column="AddCourse:" column ="ItemCheck" AllowJavascriptHover="False" column="CourseNumber:Course" column="CourseCode:Section" column="Name: Course Title" column="Semester: Semester" Session="Current" Role="Instructor" NoDataAction="ShowMessage" NoDataMessage="No courses found.">
<#TABLE name="Course" class="instructor-table filterTable" headerText="Current Courses" LinkColumn="CourseNumber" Session="Current" Role="Instructor" column="CourseNumber:Course" column="CourseCode:Section" column="Name:Name" column="ReserveItems:Reserve Items" footerText="<a href='<#Action action=10 form=2 value=IActiveCourseList>'>Also view upcoming courses</a>" NoDataAction="ShowMessage" NoDataMessage="No courses found.">
<br />
<#TABLE class="instructor-table filterTable" name="Item" headerText="Awaiting Supply By Instructor" ShowHiddenItems="True" LinkType="ItemEdit" LinkColumn="BothTitlesIcon" column="BothTitlesIcon:Title" column="Author:Author" column="Department:Department" column="CourseNumber:Course" ItemStatus="Awaiting Supply By Instructor" NoDataAction="ShowNothing">
<div id="footer" role="contentinfo">
<p><#COPYRIGHT></p>
<#INCLUDE filename="include_footer.html">
</div>
</div>
</div>
</div>
<script>
window.onload = function() {
var footer = document.getElementById("footer");
var sidebar = document.getElementById("sidebar");
var content = document.getElementById("content");
var sidebarHeight = sidebar.clientHeight;
var contentHeight = content.clientHeight;
if (sidebarHeight > contentHeight) {
var heightDiff = sidebarHeight - contentHeight;
footer.setAttribute('style', 'padding-top:'+ heightDiff +'px;');
}
};
</script>
</body>
</html>