From 274769097ffc332d093578e9da2e4627f0269a8f Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sat, 13 Jan 2024 13:12:00 -0800 Subject: [PATCH] Fix whitespace --- .../admin/tasks/tasks.component.html | 292 +++++++++--------- 1 file changed, 146 insertions(+), 146 deletions(-) diff --git a/src-ui/src/app/components/admin/tasks/tasks.component.html b/src-ui/src/app/components/admin/tasks/tasks.component.html index 6531f146a..bc1fdeabb 100644 --- a/src-ui/src/app/components/admin/tasks/tasks.component.html +++ b/src-ui/src/app/components/admin/tasks/tasks.component.html @@ -3,153 +3,153 @@ - -
- - -
- - +  Clear selection + + +
+ + +
+ + - @if (!tasksService.completedFileTasks && tasksService.loading) { -
-
Loading...
- } +@if (!tasksService.completedFileTasks && tasksService.loading) { +
+
Loading...
+} - - - - - - - - @if (activeTab !== 'started' && activeTab !== 'queued') { - - } - - - - - - @for (task of tasks | slice: (page-1) * pageSize : page * pageSize; track task) { - - - - - @if (activeTab !== 'started' && activeTab !== 'queued') { - - } - - - - - - - } - -
-
- - -
-
NameCreatedResultsInfoActions
-
- - -
-
{{ task.task_file_name }}{{ task.date_created | customDate:'short' }} - @if (task.result?.length > 50) { -
- {{ task.result | slice:0:50 }}… -
- } - @if (task.result?.length <= 50) { - {{ task.result }} - } - -
{{ task.result | slice:0:300 }}@if (task.result.length > 300) {
-                      …
-                    }
- @if (task.result?.length > 300) { -
(click for full output) - } -
-
- - -
- - - @if (task.related_document) { - - } - -
-
-
{{ task.result }}
-
- -
- @if (tasks.length > 0) { -
{tasks.length, plural, =1 {One {{this.activeTabLocalized}} task} other {{{tasks.length || 0}} total {{this.activeTabLocalized}} tasks}}
- } - @if (tasks.length > pageSize) { - - } + + + + + + + + @if (activeTab !== 'started' && activeTab !== 'queued') { + + } + + + + + + @for (task of tasks | slice: (page-1) * pageSize : page * pageSize; track task) { + + + + + @if (activeTab !== 'started' && activeTab !== 'queued') { + + } + + + + + + + } + +
+
+ +
- +
NameCreatedResultsInfoActions
+
+ + +
+
{{ task.task_file_name }}{{ task.date_created | customDate:'short' }} + @if (task.result?.length > 50) { +
+ {{ task.result | slice:0:50 }}… +
+ } + @if (task.result?.length <= 50) { + {{ task.result }} + } + +
{{ task.result | slice:0:300 }}@if (task.result.length > 300) {
+                  …
+                }
+ @if (task.result?.length > 300) { +
(click for full output) + } +
+
+ + +
+ + + @if (task.related_document) { + + } + +
+
+
{{ task.result }}
+
- -
+
+ @if (tasks.length > 0) { +
{tasks.length, plural, =1 {One {{this.activeTabLocalized}} task} other {{{tasks.length || 0}} total {{this.activeTabLocalized}} tasks}}
+ } + @if (tasks.length > pageSize) { + + } +
+
+ + +