mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Refactor "category" settings page
This commit is contained in:
parent
66b078e4b9
commit
489d085de8
@ -7,6 +7,12 @@
|
|||||||
{% trans "Category Settings" %}
|
{% trans "Category Settings" %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block actions %}
|
||||||
|
<button class='btn btn-success' id='new-cat-param' disabled=''>
|
||||||
|
<div class='fas fa-plus-circle'></div> {% trans "New Parameter" %}
|
||||||
|
</button>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div class='row'>
|
<div class='row'>
|
||||||
@ -21,12 +27,6 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id='cat-param-buttons'>
|
|
||||||
<button class='btn btn-success' id='new-cat-param' disabled=''>
|
|
||||||
<div class='fas fa-plus-circle'></div> {% trans "New Parameter" %}
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<table class='table table-striped table-condensed' id='cat-param-table' data-toolbar='#cat-param-buttons'>
|
<table class='table table-striped table-condensed' id='cat-param-table' data-toolbar='#cat-param-buttons'>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
@ -3,12 +3,13 @@
|
|||||||
<div class='panel-heading'>
|
<div class='panel-heading'>
|
||||||
<div class='d-flex flex-wrap'>
|
<div class='d-flex flex-wrap'>
|
||||||
<h4>{% block heading %}HEADING{% endblock %}</h4>
|
<h4>{% block heading %}HEADING{% endblock %}</h4>
|
||||||
</div>
|
{% include "spacer.html" %}
|
||||||
<div class='btn-group' role='group'>
|
<div class='btn-group' role='group'>
|
||||||
{% block actions %}
|
{% block actions %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block panel_content %}
|
{% block panel_content %}
|
||||||
<div class='panel-content'>
|
<div class='panel-content'>
|
||||||
|
Loading…
Reference in New Issue
Block a user