Skip to content
Snippets Groups Projects
Commit 5191eeb5 authored by Alexander Madsen's avatar Alexander Madsen
Browse files

ICSHWI-10606: Revise definition tables

parent cbbe45ee
No related branches found
No related tags found
2 merge requests!270Merging develop branch to master in order to create RC,!239ICSHWI-10606: Revise definition tables
...@@ -17,10 +17,10 @@ const dateTemplate = (rowData) => { ...@@ -17,10 +17,10 @@ const dateTemplate = (rowData) => {
} }
const columns = [ const columns = [
{ id: "status", label: 'Status', width: '10%' }, { id: "status", label: 'Status', width: '10%', textAlign: "center" },
{ id: "type", label: 'Command', width: '10%' }, { id: "type", label: 'Command', width: '10%' },
{ id: "user", label: 'User', width: '40%', sortable: false }, { id: "user", label: 'User', width: '40%', sortable: false },
{ id: 'start', label: 'Timestamp', width: '40%', body: dateTemplate, sortable: false } { id: 'start', label: 'Timestamp', width: '40%', body: dateTemplate, sortable: false, textAlign: "center" }
] ]
function createTableRow(command) { function createTableRow(command) {
......
...@@ -19,14 +19,14 @@ const jobLogColumns = [ ...@@ -19,14 +19,14 @@ const jobLogColumns = [
{ id: 'network', label: 'Network', width: '10ch', sortable: false }, { id: 'network', label: 'Network', width: '10ch', sortable: false },
{ id: 'user', label: 'User', width: '10ch', sortable: false }, { id: 'user', label: 'User', width: '10ch', sortable: false },
{ id: 'version', label: 'Reference', width: '10ch', sortable: false }, { id: 'version', label: 'Reference', width: '10ch', sortable: false },
{ id: 'start', label: 'Time', width: '15ch', sortable: false } { id: 'start', label: 'Time', width: '15ch', sortable: false, textAlign: "right" }
]; ];
const iocServiceControlColumns = [ const iocServiceControlColumns = [
{ id: 'status', label: 'Status', width: '4ch', textAlign: "center"}, { id: 'status', label: 'Status', width: '4ch', textAlign: "center"},
{ id: 'type', label: 'Command', width: '4ch', textAlign: "center"}, { id: 'type', label: 'Command', width: '4ch', textAlign: "center"},
{ id: 'user', label: 'User', width: '10ch' }, { id: 'user', label: 'User', width: '10ch' },
{ id: 'start', label: 'Time', width: '15ch' } { id: 'start', label: 'Time', width: '15ch', textAlign: "right" }
]; ];
function createGitVersionField(version, shortVersion) { function createGitVersionField(version, shortVersion) {
......
...@@ -19,7 +19,7 @@ const columns = [ ...@@ -19,7 +19,7 @@ const columns = [
{ id: 'network', label: 'Network', width: '10ch', sortable: false }, { id: 'network', label: 'Network', width: '10ch', sortable: false },
{ id: 'user', label: 'User', width: '10ch', sortable: true }, { id: 'user', label: 'User', width: '10ch', sortable: true },
{ id: 'version', label: 'Reference', width: '15ch', sortable: true }, { id: 'version', label: 'Reference', width: '15ch', sortable: true },
{ id: 'start', label: 'Time', width: '10ch', sortable: true } { id: 'start', label: 'Time', width: '10ch', sortable: true, textAlign: "right" }
]; ];
function createGitVersionField(version, shortVersion) { function createGitVersionField(version, shortVersion) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment