mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-30 12:36:45 +00:00
Refactor part settings page
This commit is contained in:
parent
2abcb114a8
commit
66b078e4b9
@ -9,8 +9,6 @@
|
|||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<h4>{% trans "Part Options" %}</h4>
|
|
||||||
|
|
||||||
<table class='table table-striped table-condensed'>
|
<table class='table table-striped table-condensed'>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% include "InvenTree/settings/setting.html" with key="PART_IPN_REGEX" %}
|
{% include "InvenTree/settings/setting.html" with key="PART_IPN_REGEX" %}
|
||||||
@ -40,12 +38,17 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<div class='panel-heading'>
|
||||||
|
<div class='d-flex flex-span'>
|
||||||
<h4>{% trans "Part Import" %}</h4>
|
<h4>{% trans "Part Import" %}</h4>
|
||||||
|
{% include "spacer.html" %}
|
||||||
|
<div class='btn-group' role='group'>
|
||||||
<button class='btn btn-success' id='import-part'>
|
<button class='btn btn-success' id='import-part'>
|
||||||
<span class='fas fa-plus-circle'></span> {% trans "Import Part" %}
|
<span class='fas fa-plus-circle'></span> {% trans "Import Part" %}
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<table class='table table-striped table-condensed'>
|
<table class='table table-striped table-condensed'>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -53,15 +56,17 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<div class='panel-heading'>
|
||||||
|
<span class='d-flex flex-span'>
|
||||||
<h4>{% trans "Part Parameter Templates" %}</h4>
|
<h4>{% trans "Part Parameter Templates" %}</h4>
|
||||||
|
{% include "spacer.html" %}
|
||||||
<div id='param-buttons'>
|
<div class='btn-group' role='group'>
|
||||||
<button class='btn btn-success' id='new-param'>
|
<button class='btn btn-success' id='new-param'>
|
||||||
<span class='fas fa-plus-circle'></span> {% trans "New Parameter" %}
|
<span class='fas fa-plus-circle'></span> {% trans "New Parameter" %}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
|
||||||
<table class='table table-striped table-condensed' id='param-table' data-toolbar='#param-buttons'>
|
<table class='table table-striped table-condensed' id='param-table' data-toolbar='#param-buttons'>
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user