Table coloring needs table- prefix.

- Legacy-Id: 19614
This commit is contained in:
Lars Eggert 2021-11-10 10:11:57 +00:00
parent f17a7eddd4
commit add1dae1cd
6 changed files with 11 additions and 11 deletions

View file

@ -26,7 +26,7 @@
</thead>
{% for state, docs in grouped_docs %}
<tbody>
<tr class="info"><th colspan="5">{{ state.name }}</th></tr>
<tr class="table-info"><th colspan="5">{{ state.name }}</th></tr>
</tbody>
<tbody>
{% for doc in docs %}

View file

@ -28,7 +28,7 @@
{% for state in state_groups %}
<tbody>
<tr class="info"><th colspan="2">{{state.grouper}}</th></tr>
<tr class="table-info"><th colspan="2">{{state.grouper}}</th></tr>
</tbody>
<tbody>

View file

@ -17,7 +17,7 @@
</p>
<table class="table table-sm">
<tr {% if warn.intended_std_level %}class="warning"{% endif %}>
<tr {% if warn.intended_std_level %}class="table-warning"{% endif %}>
<th class="text-nowrap">Intended status level</th>
<td>{% if warn.intended_std_level %}<span class="bi bi-exclamation"></span>{% endif %}</td>
<td>{{doc.intended_std_level}}</td>
@ -29,13 +29,13 @@
<td>{{ad}}</td>
</tr>
<tr {% if warn.shepherd %}class="warning"{% endif %}>
<tr {% if warn.shepherd %}class="table-warning"{% endif %}>
<th class="text-nowrap">Document shepherd</th>
<td>{% if warn.shepherd %}<span class="bi bi-exclamation"></span>{% endif %}</td>
<td>{% if doc.shepherd %}{{ doc.shepherd.person }}{% endif %}</td>
</tr>
<tr {% if warn.shepherd_writeup %}class="warning"{% endif %}>
<tr {% if warn.shepherd_writeup %}class="table-warning"{% endif %}>
<th class="text-nowrap">Shepherd write-up exists</th>
<td>{% if warn.shepherd_writeup %}<span class="bi bi-exclamation"></span>{% endif %}</td>
<td>{%if shepherd_writeup %}Yes{%else%}No{%endif%}</td>
@ -47,7 +47,7 @@
<td>{% if notify %}{{notify}}{%else%}(None){%endif%}</td>
</tr>
<tr {% if warn.tags %}class="warning"{% endif %}>
<tr {% if warn.tags %}class="table-warning"{% endif %}>
<th class="text-nowrap">Annotation tags</th>
<td>{% if warn.tags %}<span class="bi bi-exclamation"></span>{% endif %}</td>
<td>{% if not tags %}(None){%else%}{% for tag in tags %}{{ tag }}{% if not forloop.last%}, {%endif%}{% endfor %}{% endif %}</td>

View file

@ -134,7 +134,7 @@
{% ifchanged item.timeslot.time|date:"Y-m-d" %}
<tr><th class="gap" colspan="7"></th></tr>
<tr class="warning">
<tr class="table-warning">
<th colspan="7">
{# The anchor here needs to be in a div, not in the th, in order for the anchor-target margin hack to work #}
<div class="anchor-target" id="{{item.timeslot.time|slugify}}"></div>
@ -145,7 +145,7 @@
{% if item.timeslot.type_id == 'regular' %}
{% ifchanged %}
<tr class="info session-label-row"
<tr class="table-info session-label-row"
data-slot-start-ts="{{item.start_timestamp}}"
data-slot-end-ts="{{item.end_timestamp}}">
<td class="leftmarker"></td>

View file

@ -100,7 +100,7 @@
<tr>
<th class="gap" colspan="7"></th>
</tr>
<tr class="warning">
<tr class="table-warning">
<th colspan="7">
{# The anchor here needs to be in a div, not in the th, in order for the anchor-target margin hack to work #}
<div class="anchor-target" id="{{ item.timeslot.time|slugify }}"></div>
@ -111,7 +111,7 @@
{% if item.timeslot.type_id == 'regular' %}
{% ifchanged %}
<tr class="info session-label-row"
<tr class="table-info session-label-row"
data-slot-start-ts="{{ item.start_timestamp }}"
data-slot-end-ts="{{ item.end_timestamp }}">
<td class="leftmarker"></td>

View file

@ -52,7 +52,7 @@
{% ifchanged %}
</tbody>
<tbody>
<tr><th class="warning" colspan="7">{{session.current_status_name|capfirst}}</th></tr>
<tr><th class="table-warning" colspan="7">{{session.current_status_name|capfirst}}</th></tr>
</tbody>
<tbody>
{% endifchanged %}