diff --git a/package.json b/package.json
index e0a2263..470cf88 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "csgowtf",
- "version": "0.1.0",
+ "version": "0.28.36",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
diff --git a/src/components/MatchesTable.vue b/src/components/MatchesTable.vue
index 70a71f5..d89e1ca 100644
--- a/src/components/MatchesTable.vue
+++ b/src/components/MatchesTable.vue
@@ -6,14 +6,14 @@
Map |
Rank |
-
+
|
Score |
- K |
- A |
- D |
- +/- |
- Rating |
+ K |
+ A |
+ D |
+ +/- |
+ Rating |
Duration |
Date |
@@ -27,30 +27,27 @@
@click="GoToMatch(match.match_id)"
>
-
-
-
|
-
+
-
+ :title="DisplayRank(match.stats.rank?.new)[1]" class="rank-icon">
|
{{ match.score[0] }} - {{ match.score[1] }}
|
-
+ |
{{ match.stats.kills ? match.stats.kills : "0" }}
|
-
+ |
{{ match.stats.assists ? match.stats.assists : "0" }}
|
-
+ |
{{ match.stats.deaths ? match.stats.deaths : "0" }}
|
-
+ |
{{
(match.stats.kills ? match.stats.kills : 0) - (match.stats.deaths ? match.stats.deaths : 0)
}}
|
-
+ match.stats.multi_kills?.pent) >= 1 ? 'text-success' : 'text-warning'" class="td-hltv text-center fw-bold">
{{
GetHLTV_1(
match.stats.kills,
@@ -111,7 +108,18 @@
@@ -165,10 +186,6 @@ table {
width: 150px;
}
- th[title] {
- text-decoration: underline dotted grey;
- }
-
td {
vertical-align: middle;
}
@@ -219,18 +236,6 @@ table {
}
.td-rank {
- .uprank {
- box-shadow: 0 0 20px greenyellow;
- border: 1px solid greenyellow;
- border-radius: 5px;
- }
-
- .downrank {
- box-shadow: 0 0 20px #ff2f2f;
- border: 1px solid #ff2f2f;
- border-radius: 5px;
- }
-
img {
width: 70px;
height: auto;
diff --git a/src/components/ScoreTeam.vue b/src/components/ScoreTeam.vue
index 22e71cc..2a53285 100644
--- a/src/components/ScoreTeam.vue
+++ b/src/components/ScoreTeam.vue
@@ -35,14 +35,14 @@
| K |
A |
D |
- +/- |
+ +/- |
K/D |
-
+ |
ADR
|
- HS% |
- Rating |
- MVP |
+ HS% |
+ Rating |
+ MVP |
Score |
@@ -69,7 +69,8 @@
:name="player.player.name"
:parsed="store.state.matchDetails.parsed"
:player_score="player.score"
- :rank="player.rank?.old"
+ :rank_old="player.rank?.old"
+ :rank_new="player.rank?.new"
:rounds_played="store.state.matchDetails.score.reduce((a, b) => a + b)"
:steamid64="player.player.steamid64"
:tracked="player.player.tracked"
@@ -174,10 +175,6 @@ table {
padding: 5px 10px;
}
- .cursor__help {
- cursor: help;
- }
-
.hr {
height: 20px;;
border-bottom: 1px solid white;
diff --git a/src/components/ScoreTeamPlayer.vue b/src/components/ScoreTeamPlayer.vue
index 7bb1b9c..d18d7c5 100644
--- a/src/components/ScoreTeamPlayer.vue
+++ b/src/components/ScoreTeamPlayer.vue
@@ -20,9 +20,10 @@
-
+
|
|
@@ -83,7 +84,12 @@ export default {
required: true,
default: 'Name'
},
- rank: {
+ rank_old: {
+ type: Number,
+ required: true,
+ default: 0
+ },
+ rank_new: {
type: Number,
required: true,
default: 0
diff --git a/src/scss/classes.scss b/src/scss/classes.scss
new file mode 100644
index 0000000..b4b1d94
--- /dev/null
+++ b/src/scss/classes.scss
@@ -0,0 +1,19 @@
+.helptext {
+ cursor: help;
+ text-decoration: underline dotted grey;
+}
+.helpicon {
+ cursor: help;
+}
+
+.uprank {
+ box-shadow: 0 0 20px greenyellow;
+ border: 1px solid greenyellow;
+ border-radius: 5px;
+}
+
+.downrank {
+ box-shadow: 0 0 20px #ff2f2f;
+ border: 1px solid #ff2f2f;
+ border-radius: 5px;
+}
diff --git a/src/scss/custom.scss b/src/scss/custom.scss
index 8bea1b8..ecf94be 100644
--- a/src/scss/custom.scss
+++ b/src/scss/custom.scss
@@ -66,3 +66,5 @@ $success: #609926;
--csgo-green: #04B462;
--csgo-grey: #5a5a5a;
}
+
+@import "classes";
diff --git a/src/views/Match.vue b/src/views/Match.vue
index 69414a8..64f5e86 100644
--- a/src/views/Match.vue
+++ b/src/views/Match.vue
@@ -39,11 +39,11 @@
{{ FormatFullDate(data.matchDetails.date) }}
- 
+

+ class="match-len helpicon"
+ src="../assets/images/icons/timer_long.svg" title="Long Match">
—
@@ -51,20 +51,21 @@
:alt="DisplayRank(Math.floor(data.matchDetails.avg_rank || 0))[1]"
:src="DisplayRank(Math.floor(data.matchDetails.avg_rank || 0))[0]"
:title="'Average Rank: ' + DisplayRank(Math.floor(data.matchDetails.avg_rank || 0))[1]"
- class="rank-icon"/>
+ class="rank-icon helpicon"/>
—
+ @click.prevent="handleDownloadMenu" title="Click for more">
diff --git a/src/views/Player.vue b/src/views/Player.vue
index 39f7700..dbec626 100644
--- a/src/views/Player.vue
+++ b/src/views/Player.vue
@@ -178,7 +178,7 @@
- {{ setDmgGraphWidth() }}
+ {{setDmgGraphWidth()}}
@@ -421,7 +421,7 @@ export default {
const dmg = ref(0)
for (let i = 0; i <= 4; i++) {
- weaponsContainer = document.querySelector('.dmplayerMetag-chart-' + i)
+ weaponsContainer = document.querySelector('.dmg-chart-' + i)
if (weaponsContainer !== null) {
if (i === 0) {
dmg100.value = weaponsContainer.innerHTML * 1
|