From 74d606bef1d0259fa28dee011db41de1fb236b98 Mon Sep 17 00:00:00 2001
From: schneefux <schneefux+commit@schneefux.xyz>
Date: Thu, 12 Jul 2018 11:34:43 +0200
Subject: Add Blitz Points statistics

---
 src/Highlights.vue | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

(limited to 'src/Highlights.vue')

diff --git a/src/Highlights.vue b/src/Highlights.vue
index 0aa8a5f..ff40906 100644
--- a/src/Highlights.vue
+++ b/src/Highlights.vue
@@ -72,6 +72,33 @@
                   :entry="stats.topLegendaryWin" />
     </div>
 
+    {{ stats.topBlitzPoints }}
+    <div class="column" v-if="!!stats.topKillDeathPoints">
+      <talent-box class="is-dark notification"
+                  title="Soldier"
+                  type="Kill Death Difference"
+                  label=""
+                  :value="stats.topKillDeathPoints.KillDeathPoints.toFixed(2)"
+                  :entry="stats.topKillDeathPoints" />
+    </div>
+
+    <div class="column" v-if="!!stats.topObjectivePoints">
+      <talent-box class="is-dark notification"
+                  title="Trebuchet"
+                  type="Objectives"
+                  label=""
+                  :value="stats.topObjectivePoints.ObjectivePoints.toFixed(2)"
+                  :entry="stats.topObjectivePoints" />
+    </div>
+
+    <div class="column" v-if="!!stats.topBlitzPointsDelta">
+      <talent-box class="is-dark notification"
+                  title="Blitzkrieg"
+                  type="Points Difference"
+                  label=""
+                  :value="stats.topBlitzPointsDelta.BlitzPointsDelta.toFixed(2)"
+                  :entry="stats.topBlitzPointsDelta" />
+    </div>
   </div>
 </template>
 
@@ -96,6 +123,9 @@ export default Vue.component('highlights', {
         topLegendaryWin: ReportService.getTopLegendaryWins(this.selectedMode),
         topLowLevel: ReportService.getTopLowLevel(this.selectedMode),
         topScaling: ReportService.getTopScaling(this.selectedMode),
+        topKillDeathPoints: ReportService.getTopKillDeathPoints(this.selectedMode),
+        topObjectivePoints: ReportService.getTopObjectivePoints(this.selectedMode),
+        topBlitzPointsDelta: ReportService.getTopBlitzPointsDelta(this.selectedMode),
       };
     },
     playersPerMatch: function() {
-- 
cgit v1.3.1

