mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Visual style improvements
This commit is contained in:
parent
7e81d9021f
commit
e58bed41b0
@ -5,12 +5,12 @@
|
|||||||
|
|
||||||
<div class='row'>
|
<div class='row'>
|
||||||
<div class='col-sm-6'>
|
<div class='col-sm-6'>
|
||||||
<h4>Part Builds</h4>
|
<h3>Part Builds</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class='col-sm-6'>
|
<div class='col-sm-6'>
|
||||||
<div class='container' id='active-build-toolbar' style='float: right;'>
|
<div class='container' id='active-build-toolbar' style='float: right;'>
|
||||||
<div class='btn-group' 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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -4,11 +4,21 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<h3>Companies</h3>
|
<div class='row'>
|
||||||
<div id='button-toolbar'>
|
<div class='col-sm-6'>
|
||||||
<button style='float: right;' class="btn btn-success" id='new-company'>New Company</button>
|
<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>
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
<table class='table table-striped' id='company-table' data-toolbar='#button-toolbar'>
|
<table class='table table-striped' id='company-table' data-toolbar='#button-toolbar'>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
@ -5,12 +5,19 @@
|
|||||||
|
|
||||||
{% include 'part/tabs.html' with tab='attachments' %}
|
{% include 'part/tabs.html' with tab='attachments' %}
|
||||||
|
|
||||||
<h4>Attachments</h4>
|
<div class='row'>
|
||||||
|
<div class='col-sm-6'>
|
||||||
<div id='toolbar' class='btn-group'>
|
<h4>Part Attachments</h4>
|
||||||
<button type='button' class='btn btn-success' id='new-attachment'>Add Attachment</button>
|
</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>
|
</div>
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
<table class='table table-striped table-condensed' data-toolbar='#toolbar' id='attachment-table'>
|
<table class='table table-striped table-condensed' data-toolbar='#toolbar' id='attachment-table'>
|
||||||
<tr>
|
<tr>
|
||||||
<th>File</th>
|
<th>File</th>
|
||||||
|
@ -6,26 +6,24 @@
|
|||||||
|
|
||||||
<div class='row'>
|
<div class='row'>
|
||||||
<div class='col-sm-6'>
|
<div class='col-sm-6'>
|
||||||
<h3>Part Details</h3>
|
<h4>Part Details</h4>
|
||||||
</div>
|
</div>
|
||||||
<div class='col-sm-6'>
|
<div class='col-sm-6'>
|
||||||
<h3>
|
<div class="btn-group" style="float: right;">
|
||||||
<div class="dropdown" style="float: right;">
|
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Options
|
||||||
<button class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Options
|
<span class="caret"></span></button>
|
||||||
<span class="caret"></span></button>
|
<ul class="dropdown-menu">
|
||||||
<ul class="dropdown-menu">
|
{% if part.active %}
|
||||||
{% if part.active %}
|
<li><a href='#' id='duplicate-part' title='Duplicate Part'>Duplicate</a></li>
|
||||||
<li><a href='#' id='duplicate-part' title='Duplicate Part'>Duplicate</a></li>
|
<li><a href="#" id='edit-part' title='Edit part'>Edit</a></li>
|
||||||
<li><a href="#" id='edit-part' title='Edit part'>Edit</a></li>
|
<li><a href='#' id='stocktake-part' title='Stocktake'>Stocktake</a></li>
|
||||||
<li><a href='#' id='stocktake-part' title='Stocktake'>Stocktake</a></li>
|
<hr>
|
||||||
<hr>
|
<li><a href="#" id='deactivate-part' title='Deactivate part'>Deactivate</a></li>
|
||||||
<li><a href="#" id='deactivate-part' title='Deactivate part'>Deactivate</a></li>
|
{% else %}
|
||||||
{% else %}
|
<li><a href="#" id='activate-part' title='Activate part'>Activate</a></li>
|
||||||
<li><a href="#" id='activate-part' title='Activate part'>Activate</a></li>
|
{% endif %}
|
||||||
{% endif %}
|
</ul>
|
||||||
</ul>
|
</div>
|
||||||
</div>
|
|
||||||
</h3>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -4,7 +4,14 @@
|
|||||||
|
|
||||||
{% include 'part/tabs.html' with tab='stock' %}
|
{% 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'>
|
<div id='button-toolbar'>
|
||||||
{% if part.active %}
|
{% if part.active %}
|
||||||
|
@ -4,7 +4,15 @@
|
|||||||
|
|
||||||
{% include 'part/tabs.html' with tab='suppliers' %}
|
{% 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'>
|
<div id='button-toolbar'>
|
||||||
<button class="btn btn-success" id='supplier-create'>New Supplier Part</button>
|
<button class="btn btn-success" id='supplier-create'>New Supplier Part</button>
|
||||||
|
@ -37,4 +37,6 @@
|
|||||||
<li{% ifequal tab 'attachments' %} class="active"{% endifequal %}>
|
<li{% ifequal tab 'attachments' %} class="active"{% endifequal %}>
|
||||||
<a href="{% url 'part-attachments' part.id %}">Attachments {% if part.attachments.all|length > 0 %}<span class="badge">{{ part.attachments.all|length }}</span>{% endif %}</a>
|
<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>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<br>
|
@ -4,7 +4,17 @@
|
|||||||
|
|
||||||
{% include 'part/tabs.html' with tab='used' %}
|
{% 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 class="table table-striped table-condensed" id='used-table'>
|
||||||
</table>
|
</table>
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h3>InvenTree</h3>
|
<h3>InvenTree</h3>
|
||||||
|
<hr>
|
||||||
{% include "InvenTree/starred_parts.html" with collapse_id="starred" %}
|
{% include "InvenTree/starred_parts.html" with collapse_id="starred" %}
|
||||||
|
|
||||||
{% if to_order %}
|
{% if to_order %}
|
||||||
|
Loading…
Reference in New Issue
Block a user