Get rid of hardcoded column width setting in group popup, it does not appear to have any effect and removing it relieves us from the mathfilters dependency - also put the popup inside a spaceless to free some space up
- Legacy-Id: 8524
This commit is contained in:
parent
41cb195f52
commit
b35d0e20ff
|
@ -238,7 +238,6 @@ INSTALLED_APPS = (
|
|||
'widget_tweaks',
|
||||
'typogrify',
|
||||
'bootstrap3',
|
||||
'mathfilters',
|
||||
)
|
||||
|
||||
# Settings for django-bootstrap3
|
||||
|
|
|
@ -1,20 +1,12 @@
|
|||
{# widthratio rounds up, is useless #}
|
||||
{% load mathfilters %}
|
||||
|
||||
{% with cols=areas|length|add:1 %}
|
||||
{% with colw=100|div:cols %}
|
||||
<div class="table-responsive">
|
||||
<table class="table table-condensed">
|
||||
{% spaceless %}
|
||||
<table class="table table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
{% for area in areas %}
|
||||
<th class="text-center" style="width:{{colw}}%">
|
||||
{{area.acronym|upper}}
|
||||
</th>
|
||||
<th class="text-center">{{area.acronym|upper}}</th>
|
||||
{% endfor %}
|
||||
<th class="text-center" style="width:{{colw}}%">
|
||||
IRTF
|
||||
</th>
|
||||
<th class="text-center">IRTF</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -46,6 +38,5 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{% endspaceless %}
|
||||
</div>
|
||||
{% endwith %}
|
||||
{% endwith %}
|
||||
|
|
Loading…
Reference in a new issue