Spaces:
Sleeping
Sleeping
Download Arrays/templates/results.html from swetha-coding/Dsa-hub: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/spaces/swetha-coding/Dsa-hub/resolve/main/Arrays/templates/results.html
- Command line
-
hf download hf://spaces/swetha-coding/Dsa-hub/Arrays/templates/results.html
-
curl -L -o results.html https://huggingface.co/spaces/swetha-coding/Dsa-hub/resolve/main/Arrays/templates/results.html
1.16 kB
| <html> | |
| <head> | |
| <title>Results</title> | |
| <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> | |
| </head> | |
| <body class="container mt-5"> | |
| <h2 class="mb-4">Gradebook Results</h2> | |
| <ul class="list-group mb-4"> | |
| {% for name, mark in students %} | |
| <li class="list-group-item"> | |
| Rank {{ loop.index }}: <strong>{{ name }}</strong> - {{ mark }} | |
| <span class="badge bg-{{ 'success' if mark >= 35 else 'danger' }}"> | |
| {{ "Pass" if mark >= 35 else "Fail" }} | |
| </span> | |
| </li> | |
| {% endfor %} | |
| </ul> | |
| <div class="card p-3"> | |
| <p><strong>Average:</strong> {{ average }}</p> | |
| <p><strong>Highest:</strong> {{ high }}</p> | |
| <p><strong>Lowest:</strong> {{ low }}</p> | |
| <p><strong>Median:</strong> {{ median }}</p> | |
| <p><strong>Pass:</strong> {{ pass_count }}</p> | |
| <p><strong>Fail:</strong> {{ fail_count }}</p> | |
| </div> | |
| <div class="mt-3"> | |
| <a href="/" class="btn btn-secondary">Back to Hub</a> | |
| </div> | |
| </body> | |
| </html> | |