fix: text-center thead
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
<div>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr><th><h4 class="mb-0">{{ head.traits }}</h4></th><th>Personen</th></tr>
|
||||
<tr class="text-center">
|
||||
<th><h4 class="mb-0">{{ head.traits }}</h4></th><th>Personen</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{% for stat in trait.by_type %}
|
||||
<tr>
|
||||
@@ -22,7 +24,9 @@
|
||||
<div>
|
||||
<table class="table">
|
||||
<thead>
|
||||
<tr><th><h4 class="mb-0">{{ head.booking_types }}</h4></th><th>Buchungen</th><th>Dauer (ø)</th><th>Gesamt</th></tr>
|
||||
<tr class="text-center">
|
||||
<th><h4 class="mb-0">{{ head.booking_types }}</h4></th><th>Buchungen</th><th>Dauer (ø)</th><th>Gesamt</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{% for stat in booking.by_type %}
|
||||
<tr>
|
||||
|
||||
@@ -2,9 +2,7 @@ from django.db.models import Q, F, Sum, Count, ExpressionWrapper, IntegerField
|
||||
from django.db.models.functions import Substr
|
||||
from django.views.generic import TemplateView
|
||||
|
||||
from app.base.models import Booking, BookingType
|
||||
from app.base.models.trait import Trait
|
||||
from app.base.models.trait_mapping import TraitMapping
|
||||
from app.base.models import Booking, BookingType, Trait, TraitMapping
|
||||
from app.base.views.login import LoginRequired
|
||||
from app.base.views.model_views.base import ViewOptions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user