File size: 4,448 Bytes
ef2b5ae
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Course Submission — PESU</title>
    <link rel="stylesheet" href="styles.css" />
    <script src="script.js" defer></script>
  </head>
  <body>
    <div class="container">
      <div class="card">
        <h1>Course Submission</h1>
        <p class="subtitle">Fill in the course details below.</p>

        <form id="course-form">
          <fieldset>
            <legend>Faculty Details</legend>

            <label for="faculty_email">Email</label>
            <input type="email" id="faculty_email" name="faculty_email" required />

            <label for="offering_department">Offering Department</label>

            <select id="offering_department" name="offering_department" required>
              <option value="">Select offering department</option>
              <option value="MA">Mathematics (MA)</option>
              <option value="CS">Computer Science (CS)</option>
              <option value="UZ">(UZ)</option>
            </select>

            <span class="hint">e.g. Mathematics, Computer Science (MA, CS)</span>

          </fieldset>

          <fieldset>
            <legend>Course Details</legend>

            <label for="target_department">Target Department / Program</label>
            <select id="target_department" name="target_department" required>
              <option value="">Select target department</option>
              <option value="CSE">Computer Science and Engineering (CSE)</option>
              <option value="AIML">Artificial Intelligence and Machine Learning (AIML)</option>
              <option value="ECE">Electronics and Communication Engineering (ECE)</option>
              <option value="ME">Mechanical Engineering (ME)</option>
              <option value="EEE">Electronics and Electrical Engineering (EEE)</option>
              <option value="BT">Biotechnology (BT)</option>
            </select>
          
            <label for="semester">Semester</label>
            <select id="semester" name="semester" required>
              <option value="">Select semester</option>
              <option value="1">Semester 1</option>
              <option value="2">Semester 2</option>
              <option value="3">Semester 3</option>
              <option value="4">Semester 4</option>
              <option value="5">Semester 5</option>
              <option value="6">Semester 6</option>
              <option value="7">Semester 7</option>
              <option value="8">Semester 8</option>
            </select>

            <label for="course_title">Course Title</label>
            <input type="text" id="course_title" name="course_title" required />

            <label for="credit_category">Credit Category</label>
            <select id="credit_category" name="credit_category" required>
              <option value="">Select credit category</option>
              <option value="0">0 Credits</option>
              <option value="2">2 Credits</option>
              <option value="4">4 Credits</option>
              <option value="5">5 Credits</option>
            </select>
          </fieldset>

          <fieldset>
            <legend>Academic Content</legend>
            <label for="raw_course_content">Course Content</label>
            <textarea id="raw_course_content" name="raw_course_content" rows="8" required></textarea>
            <span class="hint">Topics, units, or rough syllabus.</span>

            <label for="text_books">Textbook References</label>
            <textarea id="text_books" name="text_books" rows="4" required></textarea>

            <label for="reference_books">Other Suggested Reference Books <span class="optional">(optional)</span></label>
            <textarea id="reference_books" name="reference_books" rows="4"></textarea>

            <label for="preferred_tools">Preferred Tools / Languages <span class="optional">(optional)</span></label>
            <textarea id="preferred_tools" name="preferred_tools" rows="3"></textarea>
          </fieldset>

          <button type="submit" id="submit-btn">Submit Course</button>
          <a href="preview.html?sem=1" style="display:block;text-align:center;margin-top:8px;color:#00377b;font-size:13px">View Preview (test)</a>
        </form>

        <div id="result" class="hidden"></div>
      </div>
    </div>
  </body>
</html>