Make race page table columns smaller
All checks were successful
Build Formula10 Docker Image / build-docker (push) Successful in 14s

This commit is contained in:
2024-02-26 23:56:58 +01:00
parent 16be73c1c1
commit dc9dc3d092
2 changed files with 2 additions and 4 deletions

View File

@ -25,8 +25,6 @@ import formula10.controller.error_controller
# TODO # TODO
# General # General
# - Don't write full 2024 date, just 24 or leave out completely, to make column smaller
# Statistics # Statistics
# - Auto calculate points # - Auto calculate points
# - Display points somewhere in race table? # - Display points somewhere in race table?

View File

@ -17,13 +17,13 @@
<table class="table table-bordered table-sm table-responsive shadow-sm"> <table class="table table-bordered table-sm table-responsive shadow-sm">
<thead> <thead>
<tr> <tr>
<th scope="col" rowspan="2" class="text-center" style="width: 200px;">Race</th> <th scope="col" rowspan="2" class="text-center" style="width: 125px;">Race</th>
<th scope="col" {% if model.active_user is none %}colspan="{{ model.all_users() | length }}"{% endif %} <th scope="col" {% if model.active_user is none %}colspan="{{ model.all_users() | length }}"{% endif %}
class="text-center">Call class="text-center">Call
</th> </th>
<th scope="col" rowspan="2" class="text-center" style="width: 200px;">Result</th> <th scope="col" rowspan="2" class="text-center" style="width: 125px;">Result</th>
</tr> </tr>
</thead> </thead>