-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
92 lines (85 loc) · 2.74 KB
/
index.html
File metadata and controls
92 lines (85 loc) · 2.74 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
<!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">
<meta name="description" content="SmartCourse CMS">
<meta property="og:title" content="SmartCourse Admin">
<meta property="og:description" content="Community-driven ratings, reviews and info about UNSW courses.">
<meta property="og:url" content="https://admin.smartcourse.me">
<link rel="stylesheet" type="text/css" href="style.css">
<title>SmartCourse Admin</title>
</head>
<body>
<noscript>
<strong>We're sorry but SmartCourse Admin doesn't work properly without JavaScript enabled. Please enable it to
continue.</strong>
</noscript>
<header>SmartCourse CMS</header>
<div id="app">
<div class="container">
<h3>Admin Login</h3>
<form>
<p><span id="login-message"></span></p>
<div class="login-row">
<label for="email">Email</label>
<input type="text" id="email">
</div>
<div class="login-row">
<label for="password">Password</label>
<input type="password" id="password">
</div>
<button id="login" type="button">Login</button>
</form>
</div>
<div class="container hide">
<h3>Configuration</h3>
<form>
<div class="group">
<div class="sub-group">
<label for="server">Server</label>
<input type="text" id="server" value="localhost:3000">
</div>
<div class="sub-group">
<label for="server-TLS">TLS</label>
<input type="checkbox" id="server-TLS">
</div>
</div>
<div class="group">
<div class="sub-group">
<label for="frontend">Frontend</label>
<input type="text" id="frontend" value="localhost:8081">
</div>
<div class="sub-group">
<label for="frontend-TLS">TLS</label>
<input type="checkbox" id="frontend-TLS">
</div>
</div>
<button data-button="get" type="button">getReports</button>
</form>
</div>
<div class="container hide">
<h3>Reports</h3>
<div>
<table>
<thead>
<tr>
<th><button data-button="delete" type="button">Delete</button></th>
<th>Reports</th>
<th>Type</th>
<th>Title</th>
<th>Body</th>
</tr>
</thead>
<tbody id="reports">
</tbody>
</table>
</div>
</div>
</div>
<script src="auth.js" type="module"></script>
<script src="utils.js" type="module"></script>
<script type="module" defer src="main.js"></script>
</body>
</html>