[TASK] style found cams

This commit is contained in:
Marie Birner
2025-08-03 11:00:52 +02:00
parent ee4972b25c
commit 631b1a9bb6
2 changed files with 35 additions and 12 deletions

View File

@@ -36,7 +36,7 @@ async fn index(
mark { "TODO: Show optional SUCC message" }
}
div {
div.mb-sm {
(client.get_display_name())
", do you want to be named something different? No worries, change here 👇"
}
@@ -51,7 +51,7 @@ async fn index(
}
}
p {
p.mb-0 {
"You have found "
(sightings.len())
"/"
@@ -59,19 +59,15 @@ async fn index(
" cameras:"
progress value=(sightings.len()) max=(amount_total_cameras);
}
p {
ul.iterated {
@for (idx, sighting) in sightings.iter().enumerate() {
li.card {
span {
span.font-headline.rank.text-muted { (idx+1) }
(sighting.camera.name)
}
}
ol.flex.small {
@for (idx, sighting) in sightings.iter().enumerate() {
li {
(sighting.camera.name)
}
}
}
p {
h2 { "Highscore" }
ul.iterated {