diff --git a/scores/models.py b/scores/models.py index 929aafc..e4295b5 100644 --- a/scores/models.py +++ b/scores/models.py @@ -64,7 +64,7 @@ class Match(models.Model): return self.court / 100 def isMatch(self): - if self.court < 100 and self.court > 0: + if self.court < 100 and self.court >= 0: return True else : return False diff --git a/scores/static/scores/style.css b/scores/static/scores/style.css index 95728bc..4361875 100644 --- a/scores/static/scores/style.css +++ b/scores/static/scores/style.css @@ -83,6 +83,13 @@ td { vertical-align: middle; } +.bigscore { + width: 100px; + font-size: 200%; + text-align: center; + vertical-align: middle; +} + .center { text-align: center; margin: 0 auto; diff --git a/scores/templates/scores/index.html b/scores/templates/scores/index.html index 36b34f8..04b40a9 100644 --- a/scores/templates/scores/index.html +++ b/scores/templates/scores/index.html @@ -15,35 +15,43 @@