diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-01-02 20:42:01 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-01-05 12:33:59 +0100 |
commit | b21316248572cb27ed1f504529ad6680a473022e (patch) | |
tree | f8a2f81258cae3b1d2429fb7df5a3287954b683a /views/villages.twig | |
parent | f621d95f89ded05a2e916c5ee363bfe75ea37482 (diff) |
gemini
Diffstat (limited to 'views/villages.twig')
-rw-r--r-- | views/villages.twig | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/views/villages.twig b/views/villages.twig deleted file mode 100644 index bdb87be..0000000 --- a/views/villages.twig +++ /dev/null @@ -1,38 +0,0 @@ -{% extends 'base.twig' %} - -{% block main %} -<table> - <thead> - <tr> - <td>Name</td> - <td>Coordinates</td> - <td>Wood</td> - <td>Clay</td> - <td>Iron</td> - <td>Food</td> - <td>Storage</td> - <td>Satisfaction</td> - </tr> - </thead> - <tbody> - {% for village in villages %} - <tr> - <td> - <a href="/village/{{ village.x}}/{{ village.y }}"> - {{ village.name }} - </a> - </td> - <td> - { x: {{ village.x }}, y: {{ village.y }} } - </td> - <td>{{ village.wood }}</td> - <td>{{ village.clay }}</td> - <td>{{ village.iron }}</td> - <td>{{ village.food }}</td> - <td>{{ village.getStorage(village.id).getCapacity() * (25 / 100) }}</td> - <td>{{ village.satisfaction }}</td> - </tr> - {% endfor %} - </tbody> -</table> -{% endblock %} |