diff --git a/InvenTree/InvenTree/static/css/inventree.css b/InvenTree/InvenTree/static/css/inventree.css index d37c3550e5..2f54a50219 100644 --- a/InvenTree/InvenTree/static/css/inventree.css +++ b/InvenTree/InvenTree/static/css/inventree.css @@ -88,6 +88,12 @@ width: 100%; } +.basecurrency { + color: #050; + font-style: italic; + font-weight: bold; +} + .bomselect { max-width: 250px; } diff --git a/InvenTree/templates/InvenTree/settings/currency.html b/InvenTree/templates/InvenTree/settings/currency.html index e895fd6dcd..662df702aa 100644 --- a/InvenTree/templates/InvenTree/settings/currency.html +++ b/InvenTree/templates/InvenTree/settings/currency.html @@ -6,4 +6,49 @@ {% block settings %} + +
+{% endblock %} + +{% block js_ready %} +{{ block.super }} + + $("#currency-table").bootstrapTable({ + url: "{% url 'api-currency-list' %}", + sortable: true, + search: true, + formatNoMatches: function() { return "No currencies found"; }, + rowStyle: function(row, index) { + if (row.base) { + return {classes: 'basecurrency'}; + } else { + return {}; + } + }, + columns: [ + { + field: 'pk', + title: 'ID', + visible: false, + }, + { + field: 'symbol', + title: 'Symbol', + }, + { + field: 'suffix', + title: 'Currency', + }, + { + field: 'description', + title: 'Description', + }, + { + field: 'value', + title: 'Value', + } + ] + }); + + {% endblock %} \ No newline at end of file diff --git a/InvenTree/templates/InvenTree/settings/tabs.html b/InvenTree/templates/InvenTree/settings/tabs.html index 5e9b1503a2..78d15dbcfe 100644 --- a/InvenTree/templates/InvenTree/settings/tabs.html +++ b/InvenTree/templates/InvenTree/settings/tabs.html @@ -1,11 +1,11 @@ \ No newline at end of file diff --git a/InvenTree/templates/InvenTree/settings/user.html b/InvenTree/templates/InvenTree/settings/user.html index cd50aad1d3..cea588467b 100644 --- a/InvenTree/templates/InvenTree/settings/user.html +++ b/InvenTree/templates/InvenTree/settings/user.html @@ -7,16 +7,16 @@ {% block settings %}
-
-

User Information

+
+

User Information

+
+
+
+
Edit
+
Set Password
-
-
-
Edit
-
Set Password
-
-
-
+
+