mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
Buttonize the part category page
This commit is contained in:
parent
1fc39d56df
commit
d837a1f9a2
@ -13,26 +13,25 @@
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<h3>Part Categories</h3>
|
||||
<p>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'/>
|
||||
</button>
|
||||
{% if category %}
|
||||
<button class='btn btn-default btn-glyph' id='cat-edit' title='Edit part category'>
|
||||
<span class='glyphicon glyphicon-cog'/>
|
||||
</button>
|
||||
<button class='btn btn-default btn-glyph' id='cat-delete' title='Delete part category'>
|
||||
<span class='glyphicon glyphicon-trash'/>
|
||||
</button>
|
||||
{% endif %}
|
||||
</div>
|
||||
</p>
|
||||
</div>
|
||||
<div class='col-sm-6'>
|
||||
<h3>
|
||||
<div style='float: right;'>
|
||||
<button class='btn btn-success' id='cat-create'>New Category</button>
|
||||
{% if category %}
|
||||
<div class="dropdown" 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">
|
||||
<li><a href="#" id='cat-edit' title='Edit part category'>Edit</a></li>
|
||||
<li><a href="#" id='cat-delete' title='Delete part category'>Delete</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user