diff --git a/scores/static/scores/style.css b/scores/static/scores/style.css index 111f1b5..74be8a1 100644 --- a/scores/static/scores/style.css +++ b/scores/static/scores/style.css @@ -7,7 +7,7 @@ html, body { /*font-family: Helvetica, sans-serif;*/ background-color: white; color: black; - + font-size: 100%; box-sizing: border-box; height: 100%; @@ -53,12 +53,17 @@ table, th, td { border-collapse: collapse; } +table { + width: 100%; + border-collapse: collapse; +} + tr { - height: 60px; + height: 80px; } td { - padding: 0px 10px; + padding: 8px 16px; } .big { @@ -66,8 +71,13 @@ td { font-weight: 600; } +.sbig { + font-size: 30px; + font-weight: 600; +} .score { width: 60px; + font-size: 150%; text-align: center; vertical-align: middle; } @@ -77,6 +87,12 @@ td { margin: 0 auto; } +.scenter { + text-align: center; + font-size: 200%; + margin: 0 auto; +} + .match { /* display: inline-block; */ display:inline-block; @@ -103,6 +119,12 @@ td { } .teamname { width: 100%; + font-size: 120%; +} + +.steamname { + width: 100%; + font-size: 200%; } .smatch { diff --git a/scores/templates/scores/index.html b/scores/templates/scores/index.html index d72a672..bfcc549 100644 --- a/scores/templates/scores/index.html +++ b/scores/templates/scores/index.html @@ -85,8 +85,8 @@

-

{{ match.durationPrefix }}
-
{{ match.duration }}
+
{{ match.durationPrefix }}
+
{{ match.duration }}

@@ -154,8 +154,8 @@

-

{{ match.durationPrefix }}
-
{{ match.duration }}
+
{{ match.durationPrefix }}
+
{{ match.duration }}

diff --git a/scores/templates/scores/match.html b/scores/templates/scores/match.html index 10ea699..9ed2a7e 100644 --- a/scores/templates/scores/match.html +++ b/scores/templates/scores/match.html @@ -2,80 +2,56 @@ {% load static %} - - - Padel - {{ match.title }} - COURS {{ match.court }} + Padel - -
{% if match.tournament.club.header %} -
{{ match.tournament.club.header }}
+
{{ match.tournament.club.header }}
{% endif %}
+ {% autoescape off %}
- {% if match %}
-

COURS {{ match.court }}

-

{{ match.title }}

+

{{ match.title }}

+ + {% if match.team3 %} - + {% if match.team1scorecolumn1 %}{% endif %} + {% if match.team2scorecolumn1 %}{% endif %} - + {% if match.team1scorecolumn2 %}{% endif %} + {% if match.team2scorecolumn2 %}{% endif %} - + {% if match.team1scorecolumn3 %}{% endif %} + {% if match.team2scorecolumn3 %}{% endif %} - + {% if match.team1scorecolumn4 %}{% endif %} + {% if match.team2scorecolumn4 %}{% endif %} - {% if match.team5 %} - + + {% if match.team1scorecolumn5 %}{% endif %} + {% if match.team2scorecolumn5 %}{% endif %} {% endif %} @@ -84,7 +60,7 @@ document.getElementById("demo").innerHTML = "EXPIRED";
{{ match.team1|linebreaksbr }}
{{ match.team1|linebreaksbr }}{{ match.team1scorecolumn1 }}{{ match.team2scorecolumn1 }}
{{ match.team2|linebreaksbr }}
{{ match.team2|linebreaksbr }}{{ match.team1scorecolumn2 }}{{ match.team2scorecolumn2 }}
{{ match.team3|linebreaksbr }}
{{ match.team3|linebreaksbr }}{{ match.team1scorecolumn3 }}{{ match.team2scorecolumn3 }}
{{ match.team4|linebreaksbr }}
{{ match.team4|linebreaksbr }}{{ match.team1scorecolumn4 }}{{ match.team2scorecolumn4 }}
{{ match.team5|linebreaksbr }}
{{ match.team5|linebreaksbr }}{{ match.team1scorecolumn5 }}{{ match.team2scorecolumn5 }}
- + {% if match.team1scorecolumn1 %}{% endif %} {% if match.team1scorecolumn2 %}{% endif %} {% if match.team1scorecolumn3 %}{% endif %} @@ -92,7 +68,7 @@ document.getElementById("demo").innerHTML = "EXPIRED"; {% if match.team1scorecolumn5 %}{% endif %} - + {% if match.team2scorecolumn1 %}{% endif %} {% if match.team2scorecolumn2 %}{% endif %} {% if match.team2scorecolumn3 %}{% endif %} @@ -103,19 +79,22 @@ document.getElementById("demo").innerHTML = "EXPIRED"; {% endif %} -

{{ match.duration }}

+ +

+

{{ match.durationPrefix }}
+
{{ match.duration }}
+

- {% else %} -

No matches at the moment...

- {% endif %} - + + {% endautoescape %} - {% if match.club.footer %} -
{{ match.club.footer }}
+ {% if club.footer %} +
{{ club.footer }}
{% endif %} + - + diff --git a/scores/templates/scores/tournament.html b/scores/templates/scores/tournament.html index ba94022..ccf75bb 100644 --- a/scores/templates/scores/tournament.html +++ b/scores/templates/scores/tournament.html @@ -21,11 +21,14 @@ {% for match in live_matches %}
- -

TERRAIN #{{ match.court }}

- -

{{ match.title }}

- +
+
+

{{ match.title }}

+
+ +
{% if match.team3 %}
{{ match.team1|linebreaksbr }}{{ match.team1|linebreaksbr }}{{ match.team1scorecolumn1 }}{{ match.team1scorecolumn2 }}{{ match.team1scorecolumn3 }}{{ match.team1scorecolumn5 }}
{{ match.team2|linebreaksbr }}{{ match.team2|linebreaksbr }}{{ match.team2scorecolumn1 }}{{ match.team2scorecolumn2 }}{{ match.team2scorecolumn3 }}
@@ -80,10 +83,9 @@

-

{{ match.durationPrefix }}
-
{{ match.duration }}
+
{{ match.durationPrefix }}
+
{{ match.duration }}

- {% endfor %} @@ -146,8 +148,8 @@

-

{{ match.durationPrefix }}
-
{{ match.duration }}
+
{{ match.durationPrefix }}
+
{{ match.duration }}