Using the <caption> tag for table captions. Fixes bug #953741
Change-Id: I68873292cefac3ad9426f235c228522db3cf171f
This commit is contained in:
parent
baf6662ac4
commit
9fbca56439
@ -1,11 +1,11 @@
|
|||||||
<div class="table_wrapper">
|
<div class="table_wrapper">
|
||||||
<form action="{{ table.get_absolute_url }}" method="POST">{% csrf_token %}
|
<form action="{{ table.get_absolute_url }}" method="POST">{% csrf_token %}
|
||||||
<div class='table_header'>
|
|
||||||
<h3 class='table_title'>{{ table }}</h3>
|
|
||||||
{{ table.render_table_actions }}
|
|
||||||
</div>
|
|
||||||
{% with columns=table.get_columns rows=table.get_rows %}
|
{% with columns=table.get_columns rows=table.get_rows %}
|
||||||
<table id="{{ table.name }}" class="table table-bordered table-striped">
|
<table id="{{ table.name }}" class="table table-bordered table-striped">
|
||||||
|
<caption class='table_header'>
|
||||||
|
<h3 class='table_title'>{{ table }}</h3>
|
||||||
|
{{ table.render_table_actions }}
|
||||||
|
</caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
{% for column in columns %}
|
{% for column in columns %}
|
||||||
|
@ -287,6 +287,7 @@ a.current_item:hover h3, a.current_item:hover h4 {
|
|||||||
|
|
||||||
.table_header {
|
.table_header {
|
||||||
height: 30px;
|
height: 30px;
|
||||||
|
padding: 5px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table_title h3, .table_header h3 {
|
.table_title h3, .table_header h3 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user