Created
November 24, 2021 19:27
-
-
Save wescpy/ecf84ac51e0396a4c51bec2d9ad5f297 to your computer and use it in GitHub Desktop.
Demo app template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html><head><title>Student Information</title><body> | |
<style> | |
body { | |
font-family: Verdana, Helvetica, sans-serif; | |
background-color: #DDDDDD; | |
} | |
table, th, td { | |
border: 1px solid black; | |
padding: 4px; | |
border-collapse: collapse; | |
} | |
</style> | |
<h2>Student Information</h2> | |
<table> | |
<tr> | |
<th> | |
# | |
</th> | |
{% for col in headers %} | |
<th> | |
{{ col }} | |
</th> | |
{% endfor %} | |
</tr> | |
{% for student in students %} | |
<tr> | |
<td> | |
{{ loop.index }} | |
</td> | |
{% for col in student %} | |
<td> | |
{{ col }} | |
</td> | |
{% endfor %} | |
</tr> | |
{% endfor %} | |
</table> | |
</body></html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment