Red Teams
DS
diff --git a/templates/match_play_match_load.html b/templates/match_play_match_load.html
index d1127b4f..6097a987 100644
--- a/templates/match_play_match_load.html
+++ b/templates/match_play_match_load.html
@@ -30,10 +30,10 @@
{{range $match := $matches}}
-
- {{$match.ShortName}} |
- {{$match.Time}} |
-
+ |
+ {{$match.ShortName}} |
+ {{$match.Time}} |
+
Load
{{if ne $match.Status matchScheduled}}
Show Result
diff --git a/templates/match_review.html b/templates/match_review.html
index e79e6ef5..774fc5c6 100644
--- a/templates/match_review.html
+++ b/templates/match_review.html
@@ -7,15 +7,22 @@
{{define "title"}}Match Review{{end}}
{{define "body"}}
-
- -
- Practice
+
@@ -35,19 +42,19 @@
{{range $match := $matches}}
-
- {{$match.ShortName}} |
- {{$match.Time}} |
-
+ |
+ {{$match.ShortName}} |
+ {{$match.Time}} |
+
{{index $match.RedTeams 0}}, {{index $match.RedTeams 1}}, {{index $match.RedTeams 2}}
|
-
+ |
{{index $match.BlueTeams 0}}, {{index $match.BlueTeams 1}}, {{index $match.BlueTeams 2}}
|
- {{if $match.IsComplete}}{{$match.RedScore}}{{end}} |
- {{if $match.IsComplete}}{{$match.BlueScore}}{{end}} |
-
- Edit
+ | {{if $match.IsComplete}}{{$match.RedScore}}{{end}} |
+ {{if $match.IsComplete}}{{$match.BlueScore}}{{end}} |
+
+ Edit
|
{{end}}
diff --git a/web/match_play.go b/web/match_play.go
index 2ae762ad..546ced68 100644
--- a/web/match_play.go
+++ b/web/match_play.go
@@ -528,16 +528,16 @@ func (web *Web) buildMatchPlayList(matchType model.MatchType) (MatchPlayList, er
matchPlayList[i].Status = match.Status
switch match.Status {
case game.RedWonMatch:
- matchPlayList[i].ColorClass = "danger"
+ matchPlayList[i].ColorClass = "red"
case game.BlueWonMatch:
- matchPlayList[i].ColorClass = "info"
+ matchPlayList[i].ColorClass = "blue"
case game.TieMatch:
- matchPlayList[i].ColorClass = "warning"
+ matchPlayList[i].ColorClass = "yellow"
default:
matchPlayList[i].ColorClass = ""
}
if web.arena.CurrentMatch != nil && matchPlayList[i].Id == web.arena.CurrentMatch.Id {
- matchPlayList[i].ColorClass = "success"
+ matchPlayList[i].ColorClass = "green"
}
}
diff --git a/web/match_review.go b/web/match_review.go
index 3ad6a140..ca265767 100644
--- a/web/match_review.go
+++ b/web/match_review.go
@@ -200,13 +200,13 @@ func (web *Web) buildMatchReviewList(matchType model.MatchType) ([]MatchReviewLi
}
switch match.Status {
case game.RedWonMatch:
- matchReviewList[i].ColorClass = "danger"
+ matchReviewList[i].ColorClass = "red"
matchReviewList[i].IsComplete = true
case game.BlueWonMatch:
- matchReviewList[i].ColorClass = "info"
+ matchReviewList[i].ColorClass = "blue"
matchReviewList[i].IsComplete = true
case game.TieMatch:
- matchReviewList[i].ColorClass = "warning"
+ matchReviewList[i].ColorClass = "yellow"
matchReviewList[i].IsComplete = true
default:
matchReviewList[i].ColorClass = ""
|