mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-20 13:56:30 +00:00
Enbiggen a whole lotta buttons
This commit is contained in:
@ -14,16 +14,16 @@
|
||||
<p>{% trans "All parts" %}</p>
|
||||
{% endif %}
|
||||
<p>
|
||||
<div class='btn-group'>
|
||||
<button class='btn btn-default btn-glyph' id='cat-create' title='Create new part category'>
|
||||
<span class='glyphicon glyphicon-plus'/>
|
||||
<div class='btn-group action-buttons'>
|
||||
<button class='btn btn-default' id='cat-create' title='Create new part category'>
|
||||
<span class='fas fa-plus-circle icon-green'/>
|
||||
</button>
|
||||
{% if category %}
|
||||
<button class='btn btn-default btn-glyph' id='cat-edit' title='Edit part category'>
|
||||
<span class='glyphicon glyphicon-edit'/>
|
||||
<button class='btn btn-default' id='cat-edit' title='Edit part category'>
|
||||
<span class='fas fa-edit icon-blue'/>
|
||||
</button>
|
||||
<button class='btn btn-default btn-glyph' id='cat-delete' title='Delete part category'>
|
||||
<span class='glyphicon glyphicon-trash'/>
|
||||
<button class='btn btn-default' id='cat-delete' title='Delete part category'>
|
||||
<span class='fas fa-trash-alt icon-red'/>
|
||||
</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
@ -34,37 +34,37 @@
|
||||
<p><i>{{ part.description }}</i></p>
|
||||
<p>
|
||||
<div class='btn-row'>
|
||||
<div class='btn-group'>
|
||||
<button type='button' class='btn btn-default btn-glyph' id='toggle-starred' title='{% trans "Star this part" %}'>
|
||||
<span id='part-star-icon' class='starred-part glyphicon {% if starred %}glyphicon-star{% else %}glyphicon-star-empty{% endif %}'/>
|
||||
<div class='btn-group action-buttons'>
|
||||
<button type='button' class='btn btn-default' id='toggle-starred' title='{% trans "Star this part" %}'>
|
||||
<span id='part-star-icon' class='fas fa-star {% if starred %}icon-yellow{% endif %}'/>
|
||||
</button>
|
||||
{% if part.is_template == False %}
|
||||
{% include "qr_button.html" %}
|
||||
{% if part.active %}
|
||||
<button type='button' class='btn btn-default btn-glyph' id='price-button' title='{% trans "Show pricing information" %}'>
|
||||
<span id='part-price-icon' class='part-price glyphicon glyphicon-usd'/>
|
||||
<button type='button' class='btn btn-default' id='price-button' title='{% trans "Show pricing information" %}'>
|
||||
<span id='part-price-icon' class='fas fa-dollar-sign'/>
|
||||
</button>
|
||||
{% if not part.virtual %}
|
||||
<button type='button' class='btn btn-default btn-glyph' id='part-count' title='Count part stock'>
|
||||
<span class='glyphicon glyphicon-ok-circle'/>
|
||||
<button type='button' class='btn btn-default' id='part-count' title='Count part stock'>
|
||||
<span class='fas fa-clipboard-list'/>
|
||||
</button>
|
||||
{% endif %}
|
||||
{% if part.purchaseable %}
|
||||
<button type='button' class='btn btn-default btn-glyph' id='part-order' title='Order part'>
|
||||
<span id='part-order-icon' class='part-order glyphicon glyphicon-shopping-cart'/>
|
||||
<button type='button' class='btn btn-default' id='part-order' title='Order part'>
|
||||
<span id='part-order-icon' class='fas fa-shopping-cart'/>
|
||||
</button>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<button type='button' class='btn btn-default btn-glyph' id='part-duplicate' title='Duplicate part'>
|
||||
<span id='part-duplicate-icon' class='part-duplicate glyphicon glyphicon-duplicate'/>
|
||||
<button type='button' class='btn btn-default' id='part-duplicate' title='Duplicate part'>
|
||||
<span id='part-duplicate-icon' class='fas fa-copy'/>
|
||||
</button>
|
||||
<button type='button' class='btn btn-default btn-glyph' id='part-edit' title='Edit part'>
|
||||
<span id='part-edit-icon' class='glyphicon glyphicon-edit'/>
|
||||
<button type='button' class='btn btn-default' id='part-edit' title='Edit part'>
|
||||
<span id='part-edit-icon' class='fas fa-edit icon-blue'/>
|
||||
</button>
|
||||
{% if not part.active %}
|
||||
<button type='button' class='btn btn-default btn-glyph' id='part-delete' title='Delete part'>
|
||||
<span id='part-delete-icon' class='glyphicon glyphicon-trash'/>
|
||||
<button type='button' class='btn btn-default' id='part-delete' title='Delete part'>
|
||||
<span id='part-delete-icon' class='fas fa-trash-alt icon-red'/>
|
||||
</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user