Browse Source

More table cleanup

Jeremy Stretch 7 years ago
parent
commit
a523d25c0d

+ 4 - 4
netbox/templates/dcim/device.html

@@ -393,7 +393,7 @@
                             {% include 'dcim/inc/devicebay.html' %}
                         {% empty %}
                             <tr>
-                                <td colspan="4" class="text-center text-muted">&mdash; No device bays defined &mdash;</td>
+                                <td colspan="5" class="text-center text-muted">&mdash; No device bays defined &mdash;</td>
                             </tr>
                         {% endfor %}
                     </tbody>
@@ -455,7 +455,7 @@
                             {% include 'dcim/inc/interface.html' %}
                         {% empty %}
                             <tr>
-                                <td colspan="8" class="text-center text-muted">&mdash; No interfaces defined &mdash;</td>
+                                <td colspan="9" class="text-center text-muted">&mdash; No interfaces defined &mdash;</td>
                             </tr>
                         {% endfor %}
                     </tbody>
@@ -517,7 +517,7 @@
                             {% include 'dcim/inc/consoleserverport.html' %}
                         {% empty %}
                             <tr>
-                                <td colspan="4" class="text-center text-muted">&mdash; No console server ports defined &mdash;</td>
+                                <td colspan="5" class="text-center text-muted">&mdash; No console server ports defined &mdash;</td>
                             </tr>
                         {% endfor %}
                     </tbody>
@@ -574,7 +574,7 @@
                             {% include 'dcim/inc/poweroutlet.html' %}
                         {% empty %}
                             <tr>
-                                <td colspan="4" class="text-center text-muted">&mdash; No power outlets defined &mdash;</td>
+                                <td colspan="5" class="text-center text-muted">&mdash; No power outlets defined &mdash;</td>
                             </tr>
                         {% endfor %}
                     </tbody>

+ 1 - 1
netbox/templates/virtualization/virtualmachine.html

@@ -257,7 +257,7 @@
                         {% include 'dcim/inc/interface.html' with device=vm %}
                     {% empty %}
                         <tr>
-                            <td colspan="6">No interfaces defined</td>
+                            <td colspan="9" class="text-center text-muted">&mdash; No interfaces defined &mdash;</td>
                         </tr>
                     {% endfor %}
                 </tbody>