summaryrefslogtreecommitdiff
path: root/src/ModeTab.vue
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2018-05-21 13:09:05 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2018-12-13 16:59:33 +0100
commitaea0fa999fd09951835b2d74c53137624f46929e (patch)
tree3d806b7b5c5dd8b95fd07d6f3402d2231cf981d4 /src/ModeTab.vue
parent73e2c234f2f52357b21fd9fe9b956eeabb8ddc62 (diff)
downloadbrokentalents-aea0fa999fd09951835b2d74c53137624f46929e.tar.gz
brokentalents-aea0fa999fd09951835b2d74c53137624f46929e.zip
major redesign
Diffstat (limited to 'src/ModeTab.vue')
-rw-r--r--src/ModeTab.vue50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/ModeTab.vue b/src/ModeTab.vue
new file mode 100644
index 0000000..e629ef0
--- /dev/null
+++ b/src/ModeTab.vue
@@ -0,0 +1,50 @@
+<template>
+ <div>
+ <div class="columns is-multiline">
+ <div class="column">
+ <h2 class="title is-2">Highlights</h2>
+ <highlights :reportService="reportService"></highlights>
+ </div>
+
+ <div class="column is-narrow">
+ <h2 class="title is-2">Top 10 Talents</h2>
+ <top-talents-box :reportService="reportService"></top-talents-box>
+ </div>
+ </div>
+
+ <div class="columns is-multiline">
+ <h2 class="title is-2">Individual Hero Statistics</h2>
+ <div class="column is-two-thirds">
+ <hero-draft-grid :reportService="reportService"></hero-draft-grid>
+ </div>
+ <div class="column is-one-third">
+ <hero-talent-table :reportService="reportService"></hero-talent-table>
+ </div>
+ </div>
+
+ <div>
+ <h2 class="title is-2">All Hero Statistics</h2>
+ <report-table :reportService="reportService"></report-table>
+ </div>
+ </div>
+</template>
+
+<script>
+import Vue from 'vue';
+import Highlights from './Highlights.vue';
+import TopTalentsBox from './TopTalentsBox.vue';
+import HeroDraftGrid from './HeroDraftGrid.vue';
+import HeroTalentTable from './HeroTalentTable.vue';
+import ReportTable from './ReportTable.vue';
+
+export default Vue.component('mode-tab', {
+ props: [ 'reportService' ],
+ components: {
+ Highlights,
+ TopTalentsBox,
+ HeroDraftGrid,
+ HeroTalentTable,
+ ReportTable,
+ },
+});
+</script>