add new columns, no word wrapping in tags column
This commit is contained in:
parent
c48f9ffb5c
commit
bfe5770193
2 changed files with 7 additions and 3 deletions
|
|
@ -239,6 +239,7 @@ table.dataTable.mini thead td {
|
||||||
table.dataTable.mini tbody th,
|
table.dataTable.mini tbody th,
|
||||||
table.dataTable.mini tbody td {
|
table.dataTable.mini tbody td {
|
||||||
padding: 2px 2px;
|
padding: 2px 2px;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
table.dataTable thead .sorting_asc,
|
table.dataTable thead .sorting_asc,
|
||||||
table.dataTable thead .sorting_desc,
|
table.dataTable thead .sorting_desc,
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,12 @@ BR.TrackMessages = L.Class.extend({
|
||||||
'Latitude': { visible: false },
|
'Latitude': { visible: false },
|
||||||
'Elevation': { title: 'elev.', className: 'dt-body-right' },
|
'Elevation': { title: 'elev.', className: 'dt-body-right' },
|
||||||
'Distance': { title: 'dist.', className: 'dt-body-right' },
|
'Distance': { title: 'dist.', className: 'dt-body-right' },
|
||||||
'CostPerKm': { title: 'cost/km', className: 'dt-body-right' },
|
'CostPerKm': { title: '$/km', className: 'dt-body-right' },
|
||||||
'ElevCost': { title: 'elevcost', className: 'dt-body-right' },
|
'ElevCost': { title: 'elev$', className: 'dt-body-right' },
|
||||||
'TurnCost': { title: 'turncost', className: 'dt-body-right' }
|
'TurnCost': { title: 'turn$', className: 'dt-body-right' },
|
||||||
|
'NodeCost': { title: 'node$', className: 'dt-body-right' },
|
||||||
|
'InitialCost': { title: 'initial$', className: 'dt-body-right' },
|
||||||
|
'OsmTags': { title: 'tags'}
|
||||||
},
|
},
|
||||||
|
|
||||||
initialize: function (options) {
|
initialize: function (options) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue