From feef8146d2e29968c146429d45ce8545bc1dc23d Mon Sep 17 00:00:00 2001 From: Artus Date: Tue, 11 Jun 2019 22:08:53 +0200 Subject: [PATCH] adds simple global state, adds dropdown to switch players --- lootalot_front/src/App.vue | 34 ++++++----- lootalot_front/src/components/GroupChest.vue | 22 ++++++++ lootalot_front/src/components/Player.vue | 59 ++++++++++++++------ 3 files changed, 84 insertions(+), 31 deletions(-) create mode 100644 lootalot_front/src/components/GroupChest.vue diff --git a/lootalot_front/src/App.vue b/lootalot_front/src/App.vue index 49d347c..05a182b 100644 --- a/lootalot_front/src/App.vue +++ b/lootalot_front/src/App.vue @@ -3,19 +3,7 @@
-
-
-
-
- -
-
-

Coffre de groupe

-
-
- -
-
+
@@ -23,14 +11,30 @@ diff --git a/lootalot_front/src/components/GroupChest.vue b/lootalot_front/src/components/GroupChest.vue new file mode 100644 index 0000000..ceb009b --- /dev/null +++ b/lootalot_front/src/components/GroupChest.vue @@ -0,0 +1,22 @@ + + + diff --git a/lootalot_front/src/components/Player.vue b/lootalot_front/src/components/Player.vue index 1c7888c..6e88504 100644 --- a/lootalot_front/src/components/Player.vue +++ b/lootalot_front/src/components/Player.vue @@ -2,12 +2,26 @@
-
+
@@ -42,6 +57,7 @@