Przeglądaj źródła

Fix table column widths

Jeremy Stretch 6 lat temu
rodzic
commit
47d60dbb20
1 zmienionych plików z 3 dodań i 5 usunięć
  1. 3 5
      netbox/templates/extras/script_list.html

+ 3 - 5
netbox/templates/extras/script_list.html

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