Fix table column widths

This commit is contained in:
Jeremy Stretch 2019-08-14 15:46:08 -04:00
parent f8326ef6df
commit 47d60dbb20

View File

@ -4,16 +4,15 @@
{% block content %} {% block content %}
<h1>{% block title %}Scripts{% endblock %}</h1> <h1>{% block title %}Scripts{% endblock %}</h1>
<div class="row"> <div class="row">
<div class="col-md-9"> <div class="col-md-12">
{% if scripts %} {% if scripts %}
{% for module, module_scripts in scripts.items %} {% for module, module_scripts in scripts.items %}
<h3><a name="module.{{ module }}"></a>{{ module|bettertitle }}</h3> <h3><a name="module.{{ module }}"></a>{{ module|bettertitle }}</h3>
<table class="table table-hover table-headings reports"> <table class="table table-hover table-headings reports">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th class="col-md-3">Name</th>
<th>Description</th> <th class="col-md-9">Description</th>
<th></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -23,7 +22,6 @@
<a href="{% url 'extras:script' module=module name=class_name %}" name="script.{{ class_name }}"><strong>{{ script }}</strong></a> <a href="{% url 'extras:script' module=module name=class_name %}" name="script.{{ class_name }}"><strong>{{ script }}</strong></a>
</td> </td>
<td>{{ script.Meta.description }}</td> <td>{{ script.Meta.description }}</td>
<td></td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>