mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-05 14:58:50 +00:00
Use button row rather than drop-down for build display
This commit is contained in:
parent
6947b841bf
commit
d9e5bfd971
@ -23,6 +23,25 @@ InvenTree | Build - {{ build }}
|
|||||||
</div>
|
</div>
|
||||||
<div class='media-body'>
|
<div class='media-body'>
|
||||||
<h4>Build Details</h4>
|
<h4>Build Details</h4>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<div class='btn-row'>
|
||||||
|
<div class='btn-group'>
|
||||||
|
<button type='button' class='btn btn-default btn-glyph' id='build-edit' title='Edit Build'>
|
||||||
|
<span class='glyphicon glyphicon-edit'/>
|
||||||
|
</button>
|
||||||
|
{% if build.is_active %}
|
||||||
|
<button type='button' class='btn btn-default btn-glyph' id='build-complete' title="Complete Build">
|
||||||
|
<span class='glyphicon glyphicon-send'/>
|
||||||
|
</button>
|
||||||
|
<button type='button' class='btn btn-default btn-glyph' id='build-cancel'>
|
||||||
|
<span class='glyphicon glyphicon-remove'/>
|
||||||
|
</button>
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</p>
|
||||||
|
|
||||||
<table class='table table-striped table-condensed'>
|
<table class='table table-striped table-condensed'>
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ build.title }}</td>
|
<td>{{ build.title }}</td>
|
||||||
@ -53,23 +72,6 @@ InvenTree | Build - {{ build }}
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class='col-sm-6'>
|
|
||||||
<h3>
|
|
||||||
<div style='float: right;'>
|
|
||||||
<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='build-edit' title='Edit build'>Edit build</a></li>
|
|
||||||
{% if build.is_active %}
|
|
||||||
<li><a href='#' id='build-complete' title='Complete Build'>Complete Build</a></li>
|
|
||||||
<li><a href='#' id='build-cancel' title='Cancel build'>Cancel build</a></li>
|
|
||||||
{% endif %}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</h3>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
<a href="{% url 'build-detail' build.id %}">Details</a>
|
<a href="{% url 'build-detail' build.id %}">Details</a>
|
||||||
</li>
|
</li>
|
||||||
<li{% if tab == 'allocate' %} class='active'{% endif %}>
|
<li{% if tab == 'allocate' %} class='active'{% endif %}>
|
||||||
<a href="{% url 'build-allocate' build.id %}">Parts</a>
|
<a href="{% url 'build-allocate' build.id %}">Assign Parts</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
Loading…
x
Reference in New Issue
Block a user