summaryrefslogtreecommitdiff
path: root/rust/templates
diff options
context:
space:
mode:
Diffstat (limited to 'rust/templates')
-rw-r--r--rust/templates/leaderboard.html50
1 files changed, 0 insertions, 50 deletions
diff --git a/rust/templates/leaderboard.html b/rust/templates/leaderboard.html
deleted file mode 100644
index 82992d1..0000000
--- a/rust/templates/leaderboard.html
+++ /dev/null
@@ -1,50 +0,0 @@
-<!DOCTYPE html>
-<html>
-
-<head>
- <meta charset="utf-8">
- <title>Leaderboard</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <style>
- table {
- width: 80%;
- border-collapse: collapse;
- }
-
- table, th, td {
- border: 1px solid black;
- }
-
- th, td {
- padding: 15px;
- text-align: left;
- }
-
- th {
- background-color: #f2f2f2;
- }
-
- tr:nth-child(even) {
- background-color: #f2f2f2;
- }
-
- .success {
- background-color: green;
- }
-
- .fail {
- background-color: red;
- }
- </style>
-</head>
-
-<body>
- <h1>Leaderboard</h1>
- <table>
- <tr><th>Name</th><th>Grade</th><th>Last test</th></tr>
- {{#each this.clients}}
- <tr><td>{{this.name}}</td><td>{{this.grade}}</td><td class="{{#if this.success}}success{{else}}fail{{/if}}">{{this.last_query}}</td></tr>
- {{/each}}
- </table>
-</body>
-</html>