diff --git a/frontend/src/components/job/JobFieldComment.vue b/frontend/src/components/job/JobFieldComment.vue new file mode 100644 index 00000000..9b19c7c3 --- /dev/null +++ b/frontend/src/components/job/JobFieldComment.vue @@ -0,0 +1,29 @@ + + + + + diff --git a/frontend/src/components/job/JobFieldExitCode.vue b/frontend/src/components/job/JobFieldExitCode.vue new file mode 100644 index 00000000..8e5edd84 --- /dev/null +++ b/frontend/src/components/job/JobFieldExitCode.vue @@ -0,0 +1,25 @@ + + + + + diff --git a/frontend/src/components/job/JobFieldRaw.vue b/frontend/src/components/job/JobFieldRaw.vue new file mode 100644 index 00000000..32496aaf --- /dev/null +++ b/frontend/src/components/job/JobFieldRaw.vue @@ -0,0 +1,30 @@ + + + + + diff --git a/frontend/src/components/job/JobFieldTRES.vue b/frontend/src/components/job/JobFieldTRES.vue new file mode 100644 index 00000000..5da10dfd --- /dev/null +++ b/frontend/src/components/job/JobFieldTRES.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/frontend/src/composables/GatewayAPI.ts b/frontend/src/composables/GatewayAPI.ts index 51203bea..31ae7a4f 100644 --- a/frontend/src/composables/GatewayAPI.ts +++ b/frontend/src/composables/GatewayAPI.ts @@ -112,6 +112,12 @@ export interface ClusterJobStep { step: { id: { job_id: number; step_id: string }; name: string } } +export interface ClusterJobComment { + administrator: string + job: string + system: string +} + export interface ClusterJobExitCode { return_code: number status: string @@ -122,7 +128,7 @@ export interface ClusterIndividualJob { association: { account: string; cluster: string; partition: string; user: string } batch_flag: boolean command: string - comment: { administrator: string; job: string; system: string } + comment: ClusterJobComment cpus: ClusterOptionalNumber current_working_directory: string derived_exit_code: ClusterJobExitCode diff --git a/frontend/src/views/JobView.vue b/frontend/src/views/JobView.vue index d55a3069..db12573c 100644 --- a/frontend/src/views/JobView.vue +++ b/frontend/src/views/JobView.vue @@ -7,6 +7,7 @@ -->