summaryrefslogtreecommitdiff
path: root/rust/templates/leaderboard.html
diff options
context:
space:
mode:
authorArnaud Bailly <arnaud.bailly@iohk.io>2025-01-25 10:45:41 +0100
committerArnaud Bailly <arnaud.bailly@iohk.io>2025-01-25 10:45:41 +0100
commit7752d73216578d5961751b5d0535088d384b4aa6 (patch)
tree786e46fe1276e93ade0a48398cd4c9ac13081707 /rust/templates/leaderboard.html
parentd6f68e919db51d366c8ca3c1509bea12aa81d692 (diff)
downloadlambda-nantes-7752d73216578d5961751b5d0535088d384b4aa6.tar.gz
Move λ-calcul workshop code to subdirectory
Diffstat (limited to 'rust/templates/leaderboard.html')
-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>