Spaces:
Runtime error
Runtime error
Download templates/processed_json.html from Jaimodiji/Report-Generator: direct link, hf CLI and curl.
- Browser
- Download file 1.14 kB
-
https://huggingface.co/spaces/Jaimodiji/Report-Generator/resolve/main/templates/processed_json.html
- Command line
-
hf download hf://spaces/Jaimodiji/Report-Generator/templates/processed_json.html
-
curl -L -o processed_json.html https://huggingface.co/spaces/Jaimodiji/Report-Generator/resolve/main/templates/processed_json.html
1.14 kB
| {% extends 'base.html' %} | |
| {% block content %} | |
| <div class="container mt-5"> | |
| <h2>Processed Quiz Data</h2> | |
| <form action="{{ url_for('json_bp.save_processed_json') }}" method="post"> | |
| <input type="hidden" name="questions_data" value="{{ questions | tojson | e }}"> | |
| <table class="table"> | |
| <thead> | |
| <tr> | |
| <th>Question</th> | |
| <th>Your Answer</th> | |
| <th>Correct Answer</th> | |
| <th>Status</th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| {% for q in questions %} | |
| <tr> | |
| <td>{{ q.question | safe }}</td> | |
| <td>{{ q.yourAnswer | safe }}</td> | |
| <td>{{ q.correctAnswer | safe }}</td> | |
| <td><span class="badge bg-{% if q.status == 'Wrong' %}danger{% else %}warning{% endif %}">{{ q.status }}</span></td> | |
| </tr> | |
| {% endfor %} | |
| </tbody> | |
| </table> | |
| <button type="submit" class="btn btn-primary">Go to Question Entry</button> | |
| </form> | |
| </div> | |
| {% endblock %} | |