-
Notifications
You must be signed in to change notification settings - Fork 18
/
manageCourse.mustache
executable file
·94 lines (75 loc) · 3.28 KB
/
manageCourse.mustache
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Manage Courses - Instructors</title>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script type="text/javascript" src="https://rawgit.com/enyo/dropzone/master/dist/dropzone.js"></script>
<script type="text/javascript" src="/routers/manage.js"></script>
<script type="text/javascript" src="/javascripts/controllers/manageCourse.js"></script>
<link rel="stylesheet" type="text/css" href="/stylesheets/global.css">
<link rel="stylesheet" type="text/css" href="/stylesheets/manageCourse.css" />
<!-- link rel="stylesheet" type="text/css" href="https://rawgit.com/enyo/dropzone/master/dist/dropzone.css" / -->
</head>
<body>
<div class="header-container">
<header class="manage-course"> Manage {{className}} </header>
<br>
<div class="line-separator-header"></div>
<br>
</div>
</div>
<div class="enroll-container">
<header class="enroll-header"> Enroll Instructors/TAs </header>
<div class="line-separator"></div>
<div class="enroll-instructor-container">
<br>
<textarea class="enroll-person" id="instructor-box" placeholder="Add Instructors"></textarea>
<br>
<button class="enroll-button" id="instructor-button">Add Instructors</button>
<br>
<span id="i-test"> </span>
</div>
<header class="enroll-header"> Enroll Students </header>
<div class="line-separator"></div>
<div class="enroll-student-container">
<br>
<textarea class="enroll-person" id="student-box" placeholder="Add Students"></textarea>
<br>
<button class="enroll-button" id="student-button">Add Students</button>
<br>
<span style="padding: 20px; font-weight: bold;"> or </span>
<br>
<form id="upload-students-files"
name="studentsFiles"
enctype="multipart/form-data"
action="/uploadStudentsFiles"
method="POST"
class="dropzone">
</form>
<span id="s-test"> </span>
</div>
<header class="upload-video-header"> Upload Lecture Video </header>
<div class="line-separator"></div>
<div class="upload-video-container">
<!--<br>-->
<!-- <form id="upload-lecture-videos"
name="lectureVideos"
enctype="multipart/form-data"
action="/uploadLectureVideos"
method="POST"
class="dropzone">
</form> -->
<form method="post" enctype="multipart/form-data" action="/manage/{{className}}">
<input type="file" name="filename">
<input type="submit" value="Upload">
</form>
<!-- <span id="ul-test"> </span> -->
</div>
<div class="watch-videos-container">
<button type="watch-videos" class="watch-videos" onclick="window.location='/{{className}}';"/>Watch Lecture Videos</button>
</div>
</div>
</body>
</html>