diff options
| author | Arnaud Bailly <arnaud.bailly@iohk.io> | 2024-10-10 08:16:44 +0200 |
|---|---|---|
| committer | Arnaud Bailly <arnaud.bailly@iohk.io> | 2024-10-10 08:16:44 +0200 |
| commit | 492a9e7ae1b50bd2e46daf589a6e52388703ec7e (patch) | |
| tree | d4eb6370f2bfb3bc57392463c30a196ae910a151 /rust/templates/leaderboard.html | |
| parent | e3fdf12d472b24a9a91a0bdebe667b86797b2483 (diff) | |
| download | lambda-nantes-492a9e7ae1b50bd2e46daf589a6e52388703ec7e.tar.gz | |
Render leaderboard template from clients data
Diffstat (limited to 'rust/templates/leaderboard.html')
| -rw-r--r-- | rust/templates/leaderboard.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/rust/templates/leaderboard.html b/rust/templates/leaderboard.html new file mode 100644 index 0000000..f062323 --- /dev/null +++ b/rust/templates/leaderboard.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> + +<head> + <title>Leaderboard</title> +</head> + +<body> + <table> + <tr><th>Name</th><th>Grade</th></tr> + {{#each this.clients}} + <tr><td>{{this.name}}</td><td>{{this.grade}}</td></tr> + {{/each}} + </table> +</body> +</html> |
