diff --git a/tournaments/models/group_stage.py b/tournaments/models/group_stage.py index 815187a..0a93c56 100644 --- a/tournaments/models/group_stage.py +++ b/tournaments/models/group_stage.py @@ -101,11 +101,10 @@ class LiveGroupStage: self.teams.append(team) def formatted_duration(self): - # return "test d" if self.start and self.end: return format_seconds((self.end - self.start).total_seconds()) else: - return "--" + return "" def to_dict(self): return { @@ -114,18 +113,6 @@ class LiveGroupStage: "duration": self.formatted_duration() } - def lean(self): - leanteams = [] - for team in self.teams: - leanteams.append(team.lean()) - return LeanGroupStage(self.title, [], self.formatted_duration()) - -class LeanGroupStage: - def __init__(self, title, teams, duration): - self.title = title - self.teams = teams - self.duration = duration - class GroupStageTeam: def __init__(self, team_registration): self.names = team_registration.team_names() @@ -149,12 +136,3 @@ class GroupStageTeam: "win_loss": self.wins_losses(), "diff": self.formatted_diff() } - - def lean(self): - return LeanTeam(self.names, self.wins_losses(), self.formatted_diff()) - -class LeanTeam: - def __init__(self, names, winloss, diff): - self.names = names - self.winloss = winloss - self.diff = diff diff --git a/tournaments/static/tournaments/css/style.css b/tournaments/static/tournaments/css/style.css index 1c91020..908572a 100644 --- a/tournaments/static/tournaments/css/style.css +++ b/tournaments/static/tournaments/css/style.css @@ -303,6 +303,10 @@ tr { border-bottom: 1px solid #ccc; } +.dark-bottom-border { + border-bottom: 1px solid #485170; +} + .bubble-bottom { font-size: 14px; } diff --git a/tournaments/templates/tournaments/broadcasted_group_stages.html b/tournaments/templates/tournaments/broadcasted_group_stages.html index b6b0e55..5728bc1 100644 --- a/tournaments/templates/tournaments/broadcasted_group_stages.html +++ b/tournaments/templates/tournaments/broadcasted_group_stages.html @@ -104,7 +104,7 @@
-
+