mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Visual tweaks
This commit is contained in:
parent
7881a67db4
commit
75b21bdd8f
@ -13,6 +13,12 @@
|
||||
</div>
|
||||
<hr>
|
||||
|
||||
{% if part.is_template %}
|
||||
<div class='alert alert-info alert-block'>
|
||||
Showing stock for all variants of <i>{{ part.full_name }}</i>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% include "stock_table.html" %}
|
||||
|
||||
{% endblock %}
|
||||
|
@ -39,7 +39,8 @@
|
||||
<img class='hover-img-large' src="{{ variant.image.url }}">
|
||||
{% endif %}
|
||||
</div>
|
||||
{{ variant.full_name }}</td>
|
||||
<a href="{% url 'part-detail' variant.id %}">{{ variant.full_name }}</a>
|
||||
</td>
|
||||
<td>{{ variant.description }}</td>
|
||||
<td>{{ variant.total_stock }}</td>
|
||||
</tr>
|
||||
|
@ -1,6 +1,8 @@
|
||||
<div id='button-toolbar'>
|
||||
<div class='button-toolbar container-fluid' style='float: right;'>
|
||||
{% if part.is_template == False %}
|
||||
<button class="btn btn-success" id='item-create'>New Stock Item</button>
|
||||
{% endif %}
|
||||
<div class="dropdown" style='float: right;'>
|
||||
<button id='stock-options' class="btn btn-primary dropdown-toggle" type="button" data-toggle="dropdown">Options<span class="caret"></span></button>
|
||||
<ul class="dropdown-menu">
|
||||
|
Loading…
Reference in New Issue
Block a user