summaryrefslogtreecommitdiff
path: root/views/gemini/send-units
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-01-08 15:10:10 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-01-08 15:10:10 +0100
commit82875448c485d26375ed6dea4e64e940f6e10f74 (patch)
treeff2580447429309824e7d64401ad75e7f756e45e /views/gemini/send-units
parentb21316248572cb27ed1f504529ad6680a473022e (diff)
gemini
Diffstat (limited to 'views/gemini/send-units')
-rw-r--r--views/gemini/send-units/01-units.twig3
-rw-r--r--views/gemini/send-units/02-villages.twig5
-rw-r--r--views/gemini/send-units/03-actions.twig5
3 files changed, 13 insertions, 0 deletions
diff --git a/views/gemini/send-units/01-units.twig b/views/gemini/send-units/01-units.twig
new file mode 100644
index 0000000..6996c3b
--- /dev/null
+++ b/views/gemini/send-units/01-units.twig
@@ -0,0 +1,3 @@
+{% for unit in village.getUnits(village.id, 1) %}
+=> /village/{{ village.x }}/{{ village.y }}/send-units/type/{{ unit.type }} {{ unit.type }}
+{% endfor %}
diff --git a/views/gemini/send-units/02-villages.twig b/views/gemini/send-units/02-villages.twig
new file mode 100644
index 0000000..80f5326
--- /dev/null
+++ b/views/gemini/send-units/02-villages.twig
@@ -0,0 +1,5 @@
+{{ selectedUnit }}
+
+{% for listVillage in villages %}
+=> /village/{{ village.x }}/{{ village.y }}/send-units/type/{{ selectedUnit }}/village/{{ listVillage.x }}/{{ listVillage.y }} {{ listVillage.name }} - {{ listVillage.x }} - {{ listVillage.y }}
+{% endfor %}
diff --git a/views/gemini/send-units/03-actions.twig b/views/gemini/send-units/03-actions.twig
new file mode 100644
index 0000000..2b0ed45
--- /dev/null
+++ b/views/gemini/send-units/03-actions.twig
@@ -0,0 +1,5 @@
+{{ selectedUnit }}
+{{ selectedVillage.name }} - {{ selectedVillage.x }} x {{ selectedVillage.y }}
+
+=> /village/{{ village.x }}/{{ village.y }}/send-units/type/{{ selectedUnit }}/village/{{ selectedVillage.x }}/{{ selectedVillage.y }}/action/Borrow Borrow
+=> /village/{{ village.x }}/{{ village.y }}/send-units/type/{{ selectedUnit }}/village/{{ selectedVillage.x }}/{{ selectedVillage.y }}/action/Gift Gift