-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjudging.html
103 lines (96 loc) · 2.12 KB
/
judging.html
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
<!DOCTYPE html>
<html>
<head>
<title>Judging</title>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body onload = "generateTableData()">
<section class = "navbar">
<p class = "navbar-header">PROCURATOR</p>
<hr>
<div class = "navbar-content">
<div>
<a href = "index.html">
<p class = "navbar-text">Home</p>
</a>
</div>
<div>
<a href = "users.html">
<p class = "navbar-text">Users</p>
</a>
</div>
<div>
<a href = "hardware.html">
<p class = "navbar-text">Hardware</p>
</a>
</div>
<div>
<a href = "milestones.html">
<p class = "navbar-text">Milestones</p>
</a>
</div>
<div>
<a href = "sponsors.html">
<p class = "navbar-text">Sponsors</p>
</a>
</div>
<div class = "selected">
<a href = "judging.html">
<div class="arrow-left"></div>
<p class = "navbar-text">Judging</p>
</a>
</div>
</div>
</section>
<section class = "main">
<div class = "header">
<h4>JUDGING</h4>
</div>
<div class = "content">
<p class = "projected-date">Feedback and criterion submissions: <a id = "judging-link"></a></p>
<div class = "activity">
<p class = "projected-date sub-header">All Judge Submissions</p>
<table id = "judge-table">
<tr>
<th>Judge</th>
<th>Project</th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
<th></th>
</tr>
</table>
</div>
<br>
<div class = "activity">
<p class = "projected-date sub-header">Project Rankings</p>
<table id="ranking-table">
<tr>
<th>Project</th>
<th>Score</th>
</tr>
</table>
</div>
</div>
</section>
</body>
<script src = "script.js"></script>
<script src = "global.js"></script>
<script src="https://code.jquery.com/jquery-2.2.4.min.js" type="text/javascript"></script>
<script type="text/javascript">
function generateTableData() {
make_server_request('/output4', function(data) {
same(12, data.responseText, "judge-table");
})
make_server_request('/get_ranking', function(data) {
formatProjectRanking(data.responseText, "ranking-table");
})
}
</script>
</html>