Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
0e29652651 | ||
![]() |
4464d92e81 |
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "csgowtf",
|
"name": "csgowtf",
|
||||||
"version": "1.0.1",
|
"version": "1.0.3",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
|
@@ -5,39 +5,39 @@
|
|||||||
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
||||||
<meta content="width=device-width,initial-scale=1.0" name="viewport">
|
<meta content="width=device-width,initial-scale=1.0" name="viewport">
|
||||||
|
|
||||||
<meta content="Open source CSGO data platform"
|
<meta content="Track your CSGO matches and see your match details."
|
||||||
name="description">
|
name="description">
|
||||||
<meta content="index, follow, archive"
|
<meta content="index, follow, archive"
|
||||||
name="robots">
|
name="robots">
|
||||||
<meta content="Open source CSGO data platform"
|
<meta content="Track your CSGO matches and see your match details."
|
||||||
property="st:section">
|
property="st:section">
|
||||||
<meta content="csgoWTF"
|
<meta content="csgoWTF - Open source CSGO data platform"
|
||||||
name="twitter:title">
|
name="twitter:title">
|
||||||
<meta content="Open source CSGO data platform"
|
<meta content="Track your CSGO matches and see your match details."
|
||||||
name="twitter:description">
|
name="twitter:description">
|
||||||
<meta content="summary_large_image"
|
<meta content="summary_large_image"
|
||||||
name="twitter:card">
|
name="twitter:card">
|
||||||
<meta content="https://csgow.tf/"
|
<meta content="https://csgow.tf/"
|
||||||
property="og:url">
|
property="og:url">
|
||||||
<meta content="csgoWTF"
|
<meta content="csgoWTF - Open source CSGO data platform"
|
||||||
property="og:title">
|
property="og:title">
|
||||||
<meta content="Open source CSGO data platform"
|
<meta content="Track your CSGO matches and see your match details."
|
||||||
property="og:description">
|
property="og:description">
|
||||||
<meta content="website"
|
<meta content="website"
|
||||||
property="og:type">
|
property="og:type">
|
||||||
<meta content="en_US"
|
<meta content="en_US"
|
||||||
property="og:locale">
|
property="og:locale">
|
||||||
<meta content="csgoWTF"
|
<meta content="csgoWTF - Open source CSGO data platform"
|
||||||
property="og:site_name">
|
property="og:site_name">
|
||||||
<meta content="https://csgow.tf/logo.svg"
|
<meta content="https://csgow.tf/android-chrome-512x512.png"
|
||||||
name="twitter:image">
|
name="twitter:image">
|
||||||
<meta content="https://csgow.tf/logo.svg"
|
<meta content="https://csgow.tf/android-chrome-512x512.png"
|
||||||
property="og:image">
|
property="og:image">
|
||||||
<meta content="1024"
|
<meta content="512"
|
||||||
property="og:image:width">
|
property="og:image:width">
|
||||||
<meta content="1024"
|
<meta content="512"
|
||||||
property="og:image:height">
|
property="og:image:height">
|
||||||
<meta content="https://csgow.tf/logo.svg"
|
<meta content="https://csgow.tf/android-chrome-512x512.png"
|
||||||
property="og:image:secure_url">
|
property="og:image:secure_url">
|
||||||
|
|
||||||
<link href="<%= BASE_URL %>apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180">
|
<link href="<%= BASE_URL %>apple-touch-icon.png" rel="apple-touch-icon" sizes="180x180">
|
||||||
|
@@ -215,8 +215,8 @@ export default {
|
|||||||
|
|
||||||
data.stats = data.matchDetails.stats
|
data.stats = data.matchDetails.stats
|
||||||
data.score = data.matchDetails.score
|
data.score = data.matchDetails.score
|
||||||
data.team1Avg = getTeamAvgRank(1).reduce((a, b) => a + b) / 5
|
data.team1Avg = Math.floor(getTeamAvgRank(1).reduce((a, b) => a + b) / 5)
|
||||||
data.team2Avg = getTeamAvgRank(2).reduce((a, b) => a + b) / 5
|
data.team2Avg = Math.floor(getTeamAvgRank(2).reduce((a, b) => a + b) / 5)
|
||||||
|
|
||||||
LoadImage(data.matchDetails.map ? data.matchDetails.map : 'random')
|
LoadImage(data.matchDetails.map ? data.matchDetails.map : 'random')
|
||||||
|
|
||||||
@@ -271,7 +271,7 @@ export default {
|
|||||||
const getTeamAvgRank = (team) => {
|
const getTeamAvgRank = (team) => {
|
||||||
let arr = []
|
let arr = []
|
||||||
for (let i = (team - 1) * 5; i < team * 5; i++) {
|
for (let i = (team - 1) * 5; i < team * 5; i++) {
|
||||||
arr.push(data.matchDetails.stats[i].rank.old)
|
arr.push(data.matchDetails.stats[i].rank?.old !== undefined ? data.matchDetails.stats[i].rank?.old : 0)
|
||||||
}
|
}
|
||||||
return arr
|
return arr
|
||||||
}
|
}
|
||||||
|
@@ -85,21 +85,25 @@
|
|||||||
<!-- AuthCode input -->
|
<!-- AuthCode input -->
|
||||||
<div class="form-outline mb-4">
|
<div class="form-outline mb-4">
|
||||||
<input id="track-authcode" v-model="data.userData.authcode" class="form-control bg-secondary"
|
<input id="track-authcode" v-model="data.userData.authcode" class="form-control bg-secondary"
|
||||||
placeholder="AuthCode*"
|
placeholder="AuthCode (required)"
|
||||||
required type="text"/>
|
required type="text"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- ShareCode input -->
|
<!-- ShareCode input -->
|
||||||
<div class="form-outline mb-2">
|
<div class="form-outline mb-2">
|
||||||
<input id="track-sharecode" v-model="data.userData.sharecode" class="form-control bg-secondary"
|
<input id="track-sharecode" v-model="data.userData.sharecode" class="form-control bg-secondary"
|
||||||
placeholder="ShareCode"
|
:placeholder="store.state.playerDetails.matches ? 'ShareCode (optional)' : 'ShareCode (required)'"
|
||||||
|
:required="!store.state.playerDetails.matches"
|
||||||
type="text"/>
|
type="text"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-outline mb-4">
|
<div class="form-outline mb-4">
|
||||||
<small>You can find your AuthCode and ShareCode <a
|
<small>
|
||||||
href="https://help.steampowered.com/en/wizard/HelpWithGameIssue/?appid=730&issueid=128"
|
<a href="https://help.steampowered.com/en/wizard/HelpWithGameIssue/?appid=730&issueid=128"
|
||||||
target="_blank">here</a>.</small>
|
target="_blank">
|
||||||
|
Here you can find your AuthCode and ShareCode
|
||||||
|
</a>
|
||||||
|
</small>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Submit button -->
|
<!-- Submit button -->
|
||||||
@@ -120,7 +124,7 @@
|
|||||||
<div class="matches">
|
<div class="matches">
|
||||||
|
|
||||||
<MatchesTable v-if="store.state.playerDetails.matches" :matches="store.state.playerDetails.matches" color-front />
|
<MatchesTable v-if="store.state.playerDetails.matches" :matches="store.state.playerDetails.matches" color-front />
|
||||||
<h5 v-else>No matches on record</h5>
|
<h5 v-else>Track yourself to see your matches</h5>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user