diff --git a/tournaments/static/tournaments/Padeltest.html b/tournaments/static/tournaments/Padeltest.html deleted file mode 100644 index d389472..0000000 --- a/tournaments/static/tournaments/Padeltest.html +++ /dev/null @@ -1,509 +0,0 @@ - - - - - - - - - Padel - - - -
-
-
-
-
-
- - - -
-

- Tennis Sporting Club Cassis -

-

P100 hommes

- Propulsé par Padel Club -
-
-
-
- -
-
-
-
- - -
- -
-
-
-
- Sanyo Gutierrez -
-
- Franco Stupachuk -
-
- -
- 6 - 6 - 6 -
-
- -
-
-
Juan Lebron
-
Ale Galan
-
- -
- 2 - 3 - 4 -
-
-
- -
- - détails -
-
-
- -
-
-
- - -
- -
-
-
-
- Fernando Belasteguín -
-
- Carlos Daniel Gutierrez -
-
- -
- 6 - 6 - 6 -
-
- -
-
-
Francisco Manuel Gil
-
Agustin Gomez Silingo
-
- -
- 2 - 3 - 4 -
-
-
- -
- - détails -
-
-
- -
-
-
- - -
- -
-
-
-
Sanyo
-
Stupa
-
- -
- 6 - 6 - 6 -
-
- -
-
-
Lebron
-
Galan
-
- -
- 2 - 3 - 4 -
-
-
- -
- - détails -
-
-
- -
-
-
- - -
- -
-
-
-
Sanyo
-
Stupa
-
- -
- 6 - 6 - 6 -
-
- -
-
-
Lebron
-
Galan
-
- -
- 2 - 3 - 4 -
-
-
- -
- - détails -
-
-
- -
-
-
- - -
- -
-
-
-
Sanyo
-
Stupa
-
- -
- 6 - 6 - 6 -
-
- -
-
-
Lebron
-
Galan
-
- -
- 2 - 3 - 4 -
-
-
- -
- - détails -
-
-
- -
-
-
- - -
- -
-
-
-
Sanyo
-
Stupa
-
- -
- 6 - 6 - 6 -
-
- -
-
-
Lebron
-
Galan
-
- -
- 2 - 3 - 4 -
-
-
- -
- - détails -
-
-
- -
-
-
- - -
- -
-
-
-
Sanyo
-
Stupa
-
- -
- 6 - 6 - 6 -
-
- -
-
-
Lebron
-
Galan
-
- -
- 2 - 3 - 4 -
-
-
- -
- - détails -
-
-
- -
-
-
- - -
- -
-
-
-
Sanyo
-
Stupa
-
- -
- 6 - 6 - 6 -
-
- -
-
-
Lebron
-
Galan
-
- -
- 2 - 3 - 4 -
-
-
- -
- - détails -
-
-
-
-
-
-
- - diff --git a/tournaments/static/tournaments/css/style.css b/tournaments/static/tournaments/css/style.css index 9b72871..4f8b244 100644 --- a/tournaments/static/tournaments/css/style.css +++ b/tournaments/static/tournaments/css/style.css @@ -205,9 +205,25 @@ tr { height: 60px; } +.match-result { + display: flex; + align-items: center; + margin-bottom: 10px; /* Adjust as needed */ +} + +.player { + flex: 1; + display: flex; + flex-direction: column; /* Stack player names vertically */ +} + .scores { - vertical-align: middle; - /* margin: 0 auto 0 0; */ + display: flex; +} + +.scores span { + width: 30px; /* Fixed width for each score cell */ + text-align: center; /* Center-align the score text */ } .separator { @@ -219,7 +235,10 @@ tr { .score { font-size: 22px; vertical-align: middle; + text-align: center; padding: 0px 5px; + /* width: 40px; */ + /* justify-content: space-between; */ } .winner { @@ -281,13 +300,6 @@ tr { vertical-align: middle; } -/* .table-container { - display: table; -} -.table-cell { - display: table-cell; - vertical-align: middle; -} */ .horizontal-padding { padding: 0px 20px; } @@ -401,7 +413,7 @@ tr { .flex-row { display: flex; justify-content: space-between; - height: 29px; + height: 24px; align-items: center; /* vertical-align: middle; */ } @@ -460,6 +472,9 @@ tr { width: 100%; } +.w20px { + width: 20px; +} .w80px { width: 80px; } @@ -474,6 +489,13 @@ tr { padding: 5px 0px; } +.table-row-2-colums-test { + display: grid; + grid-template-columns: 1px auto 100px; + align-items: center; /* Vertically center the content within each column */ + padding: 5px 0px; +} + .table-row-3-colums { display: grid; grid-template-columns: auto 1fr auto; diff --git a/tournaments/static/tournaments/test.html b/tournaments/static/tournaments/test.html deleted file mode 100644 index b7c0c0f..0000000 --- a/tournaments/static/tournaments/test.html +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - Padel - - - - -
-
1

-
2b

-
3c

-
1

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3v

-
1

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3

-
2x

-
3

-
1

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3

-
1

-
2

-
3aa

- -
- - diff --git a/tournaments/templates/tournaments/match_cell.html b/tournaments/templates/tournaments/match_cell.html index 0438f0a..d6910f3 100644 --- a/tournaments/templates/tournaments/match_cell.html +++ b/tournaments/templates/tournaments/match_cell.html @@ -12,13 +12,31 @@ {% for team in match.teams %} -
- +
+ {% if match.started %} + {% for score in team.scores %} +
+ {{ score }} +
+ {% endfor %} + {% else %} + {{ team.weight }} + {% endif %} +
+
+ + + + {% endfor %}