-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwindow.html
More file actions
157 lines (152 loc) · 7.08 KB
/
window.html
File metadata and controls
157 lines (152 loc) · 7.08 KB
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
<!DOCTYPE html>
<html lang = "en">
<head>
<title>CourseCal</title>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
<!-- Google Fonts - Monterrat -->
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400&display=swap" rel="stylesheet">
<!-- Custom CSS -->
<link rel="stylesheet" href="theme.css">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.4/jspdf.min.js"></script>
</head>
<!-- Content -->
<body style="-webkit-app-region: drag">
<div id="generalNav">
<!-- Navigation -->
<div id="mySidenav" class="sidenav col-3">
<div class="navWrapper" style="-webkit-app-region: no-drag">
<!-- Allow the user to select preferred calendar -->
<!--<select id="YearSelect" onchange="selectYear()">
<option value="">Select Year</option>
<option value="2019/2020">2019/2020</option>
<option value="2020/2021">2020/2021</option>
</select> -->
<select id="SemesterSelect" onchange="semesterSelect()">
<option value="">Select Semester</option>
<option value="Fall">Fall</option>
<option value="Spring">Spring</option>
</select>
<select id="calendarSelect" onchange="calendarSelect()">
<option value="">Export to</option>
<option value="ics">.ics file</option>
<option value="Google">Google</option>
</select>
<!-- Nav Content -->
<a href="#" id = "New" onclick="fileExplorer()">Semester +</a>
<a href="#" id = "Create" onclick="eventWindow()">Create events</a>
<a href="#" id = "Dates" onclick="openDates()">Additional Dates</a>
<a href="#" id = "MyUTK" onclick="openUTK()">MyUTK</a>
<select id="themeSelect" onchange="themeSelect()">
<option value="">Choose theme</option>
<option value="dark">Dark</option>
<option value="light">Lighten Up</option>
<option value="vol">Vol Mode</option>
<option value="america">Bald Eagle</option>
</select>
<a href="#" id="Contact" onclick="contactList()">Contact</a>
<a href="#" id="Help" onclick="helpSelect()">Help</a>
<input id="folderInput" type="file" webkitdirectory mozdirectory msdirectory odirectory directory multiple/>
</div>
</div>
<!-- Drag and drop area -->
<div id="view">
<div class="buttonview">
<button id="viewdrag" onclick="viewDrag()">Drag pdf</button>
<button id="viewevents" onclick="viewEvents()">Events</button>
<button id="viewpdf" onclick="viewPdf()">Term Schedule</button>
</div>
<hr>
<div id="dnd" class="col-9 offset-3" style="-webkit-app-region: no-drag;">
<p id="instructions" class="instructions">Drag and drop a PDF of your course schedule from MyUTK</p>
</div>
<div id="dnd2" style="display: none;">
<p id="eventMessage">Please supply an event to view list of events</p>
<tbody>
<div id = "scroll1">
<table id = "eventTable">
<tr>
<th id="eventheader" style="width:70%">Events</th>
<th id="delete" style="width:20%"></th>
</tr>
</table>
</div>
</tbody>
<button id="export" onclick="pdfExport()">Export to PDF</button>
</div>
<div id="dnd3" style="display: none;">
<p id="scheduleMessage">Please supply a pdf to view schedule</p>
<tbody>
<div id = "scroll2">
<table id = "scheduleTable">
<tr>
<th>Sunday</th>
<th>Monday</th>
<th>Tuesday</th>
<th>Wednesday</th>
<th>Thursday</th>
<th>Friday</th>
<th>Saturday</th>
</tr>
</table>
</div>
</tbody>
</div>
</div>
</div>
<div id="eventCreation">
<p id="eventitle">Create Events</p>
<form id="inputs">
<div>
Event Description: <input id="desc" type="text" name="Description" placeholder="Enter Description"><br>
</div>
<div>
Location: <input id="local" type="text" name="Location" placeholder="Enter location of event"><br>
</div>
<div>
Start time: <input id="stime" type="time" name="start" value="12:00"><br>
</div>
<div>
End time: <input id="etime" type="time" name="end" value="13:00"><br>
</div>
<div>
Date: <input id="eventdate" type="date" name="Date" value="2019-01-01"><br>
</div>
</form>
<button id="submitButton" onclick="submit()">Submit</button>
<div id="homeloc">
<button id="homeButton" onclick="returnToMain()">Home</button>
</div>
</div>
<!-- jQuery, Popper.js, and Bootstrap -->
<script>
let $ = require('jquery');
require('popper.js');
require('bootstrap');
</script>
<!-- Font Awesome CDN -->
<script src="https://use.fontawesome.com/68e1c66338.js"></script>
<!-- Local scripts -->
<script src ="js/selectYear.js"></script>
<script src="googleCal/index.js"></script>
<script src="js/scheduleData.js"></script>
<script src="js/parseSchedule.js"></script>
<script src="js/fileExplorer.js"></script>
<script src="js/drop.js"></script>
<script src="js/calendarPrefs.js"></script>
<script src="js/dates.js"></script>
<script src="js/helpSelect.js"></script>
<script src="js/contactInfo.js"></script>
<script src="js/accessUTK.js"></script>
<script src="js/createIcs.js"></script>
<script src="js/lightMode.js"></script>
<script src="js/view.js"></script>
<script src="js/eventCreate.js"></script>
<script src="js/eventControl.js"></script>
</body>
</html>