summaryrefslogtreecommitdiff
path: root/views/villages.twig
diff options
context:
space:
mode:
Diffstat (limited to 'views/villages.twig')
-rw-r--r--views/villages.twig38
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 %}