|
|
|
@ -12,7 +12,7 @@ |
|
|
|
<div class="match-result"> |
|
|
|
<div class="match-result"> |
|
|
|
<div class="player"> |
|
|
|
<div class="player"> |
|
|
|
<template x-for="name in match.teams[i-1].names"> |
|
|
|
<template x-for="name in match.teams[i-1].names"> |
|
|
|
<div class="ws" x-data="{ |
|
|
|
<div class="bold" x-data="{ |
|
|
|
showName(name, team) { |
|
|
|
showName(name, team) { |
|
|
|
let html = `<span class='` |
|
|
|
let html = `<span class='` |
|
|
|
if (team.is_winner) html += `winner` |
|
|
|
if (team.is_winner) html += `winner` |
|
|
|
@ -29,7 +29,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<span x-data="{ |
|
|
|
<span x-data="{ |
|
|
|
showScore(score, team) { |
|
|
|
showScore(score, team) { |
|
|
|
let html = `<span class='score ws w30px` |
|
|
|
let html = `<span class='score bold w30px` |
|
|
|
if (team.is_winner) html += ` winner` |
|
|
|
if (team.is_winner) html += ` winner` |
|
|
|
html += `'>` |
|
|
|
html += `'>` |
|
|
|
html += score |
|
|
|
html += score |
|
|
|
@ -46,7 +46,7 @@ |
|
|
|
let html = `` |
|
|
|
let html = `` |
|
|
|
|
|
|
|
|
|
|
|
if (match.has_walk_out) { |
|
|
|
if (match.has_walk_out) { |
|
|
|
html += `<span class='score ws w60px'>` |
|
|
|
html += `<span class='score bold w60px'>` |
|
|
|
if (team.walk_out) html += `WO` |
|
|
|
if (team.walk_out) html += `WO` |
|
|
|
html += `</span>` |
|
|
|
html += `</span>` |
|
|
|
} |
|
|
|
} |
|
|
|
|