2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 15:41:10 +00:00

Python styling fixes

This commit is contained in:
Oliver Walters
2019-07-10 13:38:14 +10:00
parent c5e17070fb
commit d6750652f0
3 changed files with 9 additions and 16 deletions

View File

@@ -35,6 +35,7 @@
{
field: 'part_detail',
title: 'Part',
sortable: true,
formatter: function(value, row, index, field) {
var html = imageHoverIcon(row.part_detail.image_url) + renderLink(value.full_name, value.url + 'bom/');
@@ -48,8 +49,10 @@
{
field: 'part_detail.description',
title: 'Description',
sortable: true,
},
{
sortable: true,
field: 'quantity',
title: 'Uses',
}

View File

@@ -24,9 +24,9 @@
<table class='table table-striped table-condensed' id='variant-table' data-toolbar='#button-toolbar'>
<thead>
<tr>
<th>Variant</th>
<th>Description</th>
<th>Stock</th>
<th data-sortable='true'>Variant</th>
<th data-sortable='true'>Description</th>
<th data-sortable='true'>Stock</th>
</tr>
</thead>
<tbody>