Split part details display into two columns

This commit is contained in:
Oliver Walters 2019-04-18 08:33:25 +10:00
parent fd3f6ec21e
commit 18c48e9191

View File

@ -25,6 +25,8 @@
<hr> <hr>
<div class='row'>
<div class='col-sm-6'>
<table class='table table-striped'> <table class='table table-striped'>
<tr> <tr>
<td>Part name</td> <td>Part name</td>
@ -66,6 +68,10 @@
<td>Units</td> <td>Units</td>
<td>{{ part.units }}</td> <td>{{ part.units }}</td>
</tr> </tr>
</table>
</div>
<div class='col-sm-6'>
<table class='table table-striped'>
<tr> <tr>
<td>Buildable</td> <td>Buildable</td>
<td>{% include "yesnolabel.html" with value=part.buildable %}</td> <td>{% include "yesnolabel.html" with value=part.buildable %}</td>
@ -93,6 +99,8 @@
</tr> </tr>
{% endif %} {% endif %}
</table> </table>
</div>
</div>
{% if part.notes %} {% if part.notes %}
<div class="panel panel-default"> <div class="panel panel-default">