Visual style improvements

This commit is contained in:
Oliver Walters 2019-05-06 08:35:02 +10:00
parent 7e81d9021f
commit e58bed41b0
9 changed files with 74 additions and 32 deletions

View File

@ -5,12 +5,12 @@
<div class='row'>
<div class='col-sm-6'>
<h4>Part Builds</h4>
<h3>Part Builds</h3>
</div>
<div class='col-sm-6'>
<div class='container' id='active-build-toolbar' style='float: right;'>
<div class='btn-group' style='float: right;'>
<button class="btn btn-success" id='new-build'>Start New Build</button>
<button type='button' class="btn btn-success" id='new-build'>Start New Build</button>
</div>
</div>
</div>

View File

@ -4,10 +4,20 @@
{% block content %}
<h3>Companies</h3>
<div id='button-toolbar'>
<button style='float: right;' class="btn btn-success" id='new-company'>New Company</button>
<div class='row'>
<div class='col-sm-6'>
<h3>Company List</h3>
</div>
<div class='col-sm-6'>
<div class='container' id='active-build-toolbar' style='float: right;'>
<div class='btn-group' style='float: right;'>
<button type='button' class="btn btn-success" id='new-company'>New Company</button>
</div>
</div>
</div>
</div>
<hr>
<table class='table table-striped' id='company-table' data-toolbar='#button-toolbar'>
</table>

View File

@ -5,11 +5,18 @@
{% include 'part/tabs.html' with tab='attachments' %}
<h4>Attachments</h4>
<div id='toolbar' class='btn-group'>
<div class='row'>
<div class='col-sm-6'>
<h4>Part Attachments</h4>
</div>
<div class='col-sm-6'>
<div class="btn-group" style="float: right;">
<button type='button' class='btn btn-success' id='new-attachment'>Add Attachment</button>
</div>
</div>
</div>
<hr>
<table class='table table-striped table-condensed' data-toolbar='#toolbar' id='attachment-table'>
<tr>

View File

@ -6,11 +6,10 @@
<div class='row'>
<div class='col-sm-6'>
<h3>Part Details</h3>
<h4>Part Details</h4>
</div>
<div class='col-sm-6'>
<h3>
<div class="dropdown" style="float: right;">
<div class="btn-group" style="float: right;">
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Options
<span class="caret"></span></button>
<ul class="dropdown-menu">
@ -25,7 +24,6 @@
{% endif %}
</ul>
</div>
</h3>
</div>
</div>

View File

@ -4,7 +4,14 @@
{% include 'part/tabs.html' with tab='stock' %}
<h3>Part Stock</h3>
<div class='row'>
<div class='col-sm-6'>
<h4>Part Stock</h4>
</div>
<div class='col-sm-6'>
</div>
</div>
<hr>
<div id='button-toolbar'>
{% if part.active %}

View File

@ -4,7 +4,15 @@
{% include 'part/tabs.html' with tab='suppliers' %}
<h3>Part Suppliers</h3>
<div class='row'>
<div class='col-sm-6'>
<h4>Part Suppliers</h4>
</div>
<div class='col-sm-6'>
</div>
</div>
<hr>
<div id='button-toolbar'>
<button class="btn btn-success" id='supplier-create'>New Supplier Part</button>

View File

@ -38,3 +38,5 @@
<a href="{% url 'part-attachments' part.id %}">Attachments {% if part.attachments.all|length > 0 %}<span class="badge">{{ part.attachments.all|length }}</span>{% endif %}</a>
</li>
</ul>
<br>

View File

@ -4,7 +4,17 @@
{% include 'part/tabs.html' with tab='used' %}
<h3>Used In</h3>
<div class='row'>
<div class='col-sm-6'>
<h4>Used to Build</h4>
</div>
<div class='col-sm-6'>
<div class="btn-group" style="float: right;">
</div>
</div>
</div>
<hr>
<table class="table table-striped table-condensed" id='used-table'>
</table>

View File

@ -2,7 +2,7 @@
{% block content %}
<h3>InvenTree</h3>
<hr>
{% include "InvenTree/starred_parts.html" with collapse_id="starred" %}
{% if to_order %}