-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsolus_enterCou.php
More file actions
93 lines (78 loc) · 2.83 KB
/
Copy pathsolus_enterCou.php
File metadata and controls
93 lines (78 loc) · 2.83 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
<!-- Purpose: To enter course information into the database
Author: Songyu Yang -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Add Course</title>
<link rel="stylesheet" type = "text/css" href="main.css">
<link rel="stylesheet" type = "text/css" href="Table_CSS.css">
</head>
<style>
.textClass{
height: 25px;
width: 260px;
}
.textClass label{
/*width: 50px;*/
}
.textClass input{
height: 25px;
}
.labelClass{
width: 130px;
}
</style>
<body>
<div>
<div style="display: flex">
<div style="margin: auto">
<h1>Welcome to Solus</h1>
<h3>Add a Course Information</h3>
</div>
</div>
<div class="header" style="display: flex;">
<div style="margin: auto">
<form method="post" action="solus_enterCouInfo.php">
<table>
<tr>
<div >
<td class="labelClass"><label for="code">Code:</label></td>
<td><input type="text" id="code" name="code" class="textClass"><em>The value cannot exceed 9 characters</em></td>
</div>
</tr>
<tr>
<div >
<td class="labelClass"><label for="units">Units:</label></td>
<td><input type="number" id="units" name="units" class="textClass"></td>
</div>
</tr>
<tr>
<div >
<td class="labelClass"><label for="learningHours">Learning Hours:</label></td>
<td><input type="number" id="learningHours" name="learningHours" class="textClass"></td>
</div>
</tr>
<tr>
<div >
<td class="labelClass"><label for="description">Description:</label></td>
<td><textarea name="description" id="" cols="40" rows="10"></textarea></td>
</div>
</tr>
</table>
<div class="">
<div>
<div style="margin-left: 50px;margin-top: 10px">
<input type="submit" value="Add Course" style="height: 28px">
<a href="index.php" style="padding: 2px 6px;background: #54c4e5;color: white">Home</a>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</body>
</html>