mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-03 22:08:49 +00:00
Visual tweaks
This commit is contained in:
parent
7881a67db4
commit
75b21bdd8f
@ -13,6 +13,12 @@
|
|||||||
</div>
|
</div>
|
||||||
<hr>
|
<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" %}
|
{% include "stock_table.html" %}
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -39,7 +39,8 @@
|
|||||||
<img class='hover-img-large' src="{{ variant.image.url }}">
|
<img class='hover-img-large' src="{{ variant.image.url }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{{ variant.full_name }}</td>
|
<a href="{% url 'part-detail' variant.id %}">{{ variant.full_name }}</a>
|
||||||
|
</td>
|
||||||
<td>{{ variant.description }}</td>
|
<td>{{ variant.description }}</td>
|
||||||
<td>{{ variant.total_stock }}</td>
|
<td>{{ variant.total_stock }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
<div id='button-toolbar'>
|
<div id='button-toolbar'>
|
||||||
<div class='button-toolbar container-fluid' style='float: right;'>
|
<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>
|
<button class="btn btn-success" id='item-create'>New Stock Item</button>
|
||||||
|
{% endif %}
|
||||||
<div class="dropdown" style='float: right;'>
|
<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>
|
<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">
|
<ul class="dropdown-menu">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user