diff --git a/src/models/result.py b/src/models/__init__.py similarity index 100% rename from src/models/result.py rename to src/models/__init__.py diff --git a/src/static/style.css b/src/static/style.css index 7e9204a..8042fa7 100644 --- a/src/static/style.css +++ b/src/static/style.css @@ -20,6 +20,23 @@ header { text-align: center; } + footer { text-align: center; +} + +main table { + font-family: arial, sans-serif; + border-collapse: collapse; + width: 100%; +} + +main td, main th { + border: 1px solid #dddddd; + text-align: left; + padding: 8px; +} + +main tr:nth-child(even) { + background-color: #dddddd; } \ No newline at end of file diff --git a/src/templates/index.html b/src/templates/index.html index c8f1f44..eb3f614 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -5,7 +5,7 @@ - + Scoreboard! @@ -13,7 +13,18 @@

The Scoreboard!

- + + + + + + {% for item in results %} + + + + + {% endfor %} +
TextScore
Text: {{ item.text }} Score: {{ item.score }}