diff --git a/src/admin/components/lists/processes-list.vue b/src/admin/components/lists/processes-list.vue index 4e1238f3d..ef5875116 100644 --- a/src/admin/components/lists/processes-list.vue +++ b/src/admin/components/lists/processes-list.vue @@ -36,266 +36,252 @@ --> -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
{{ $i18n.get('label_name') }}
-
-
{{ $i18n.get('label_progress') }}
-
-
{{ $i18n.get('label_output') }}
-
-
{{ $i18n.get('label_queued_on') }}
-
-
{{ $i18n.get('label_last_processed_on') }}
-
-
{{ $i18n.get('label_log_file') }}
-
-
{{ $i18n.get('label_status') }}
-
-

+

+
+ + + + + + + + +

+ {{ bgProcess.name ? bgProcess.name : $i18n.get('label_unamed_process') }}

+
+ + +

+ {{ $i18n.get('label_progress') + " " }}{{ bgProcess.progress_label ? bgProcess.progress_label : $i18n.get('label_no_details_of_process') }} + {{ bgProcess.progress_value <= 0 ? `(0%)` : ' ('+ bgProcess.progress_value +'%)' }} +

+
+ + +

+ {{ $i18n.get('label_queued_on') + " " }}{{ getDate(bgProcess.queued_on) }}

+
+ + + +
+ + +
+ + - {{ bgProcess.name ? bgProcess.name : $i18n.get('label_unamed_process') }}

-
-

- {{ bgProcess.progress_label ? bgProcess.progress_label : $i18n.get('label_no_details_of_process') }} - {{ bgProcess.progress_value <= 0 ? `(0%)` : ' ('+ bgProcess.progress_value +'%)' }} -

-
-

-

-

+ + + - {{ getDate(bgProcess.queued_on) }}

-
-

+ + + - {{ getDate(bgProcess.processed_last) }}

-
-

- {{ $i18n.get('label_log_file') }} - | - {{ $i18n.get('label_error_log_file') }} -

-
-
- - -
- - + + + + + + + + + + + + +
+
+
+ + + +
+ + +

- - - + + + + +

- - - - - - - - - - - - - - - -

-
+ }"> + {{ $i18n.get('label_last_processed_on') + " " }}{{ getDate(bgProcess.processed_last) }}

+ + + +

+ + + + + {{ $i18n.get('label_log_file') }} + +
+ + + + + {{ $i18n.get('label_error_log_file') }} + +

+
+
+ + @@ -310,6 +296,7 @@ data() { return { selected: [], + collapses: [], allOnPageSelected: false, isSelecting: false, highlightedProcess: '', @@ -327,7 +314,11 @@ processes() { this.selected = []; for (let i = 0; i < this.processes.length; i++) - this.selected.push(false); + this.selected.push(false); + + this.collapses = []; + for (let i = 0; i < this.processes.length; i++) + this.collapses.push(false); }, selected() { let allSelected = true; @@ -533,7 +524,7 @@ } .highlighted-process { - td, .checkbox-cell .checkbox, .actions-cell .actions-container { + span, .checkbox-cell .checkbox, .actions-cell .actions-container { transition: background-color 0.5s; animation-name: highlight; animation-duration: 1s; @@ -548,6 +539,37 @@ text-overflow: ellipsis; top: 4px; position: relative; + white-space: nowrap; + } + + .processes-list-item { + &>.process-handler { + cursor: pointer; + display: flex; + justify-content: flex-start; + align-items: center; + padding: 0.5rem 0.75rem; + + &:hover { + background-color: $gray1; + } + &>span:not(:first-of-type) { + margin: 0 0.75rem; + } + + .process-title { + color: black; + } + .actions-cell { + margin-left: auto; + } + } + &>.process-collapse { + display: flex; + justify-content: space-between; + align-items: center; + padding: 0.5rem 1.25rem; + } }