diff --git a/core/src/main/resources/lib/hudson/executors.jelly b/core/src/main/resources/lib/hudson/executors.jelly index ce01688e2ee6..f7ed2b22b70a 100644 --- a/core/src/main/resources/lib/hudson/executors.jelly +++ b/core/src/main/resources/lib/hudson/executors.jelly @@ -33,130 +33,196 @@ THE SOFTWARE. - ${title} - - - - - ( ${%offline}) - - - (${%launching}) - - - (${%offline}) - - - - (${%suspended}) - - - - - - - ${name} - + + - - - - - ${%Offline} - - - ${%Idle} - - - - - + + + ( ${%offline}) + + + + (${%launching}) - - - - - - - - - - - - - - - - - ${%Unknown Task} - - - - - - ${%Idle} - - - - - - - - - - - - ${%Unknown Task} - - - - - - - - - - - - - - - - - + (${%offline}) - + + + ${c.countBusy()}/${c.countExecutors()} + + + (${%suspended}) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${%Unknown Task} + + + + + + ${%Idle} + + + + + + + + + + + + ${%Unknown Task} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + ${%Build Executor Status} + + + + ${executorDetails} + + + + + + + + + + + + ${collapsedText} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - diff --git a/core/src/main/resources/lib/hudson/executors.properties b/core/src/main/resources/lib/hudson/executors.properties index 8438e6602a32..b4ac14a2b8b6 100644 --- a/core/src/main/resources/lib/hudson/executors.properties +++ b/core/src/main/resources/lib/hudson/executors.properties @@ -3,3 +3,7 @@ Computers=built-in node{0,choice,0# ({1} of {2} executors busy)|1# + {0,number} confirm=Are you sure you want to abort {0}? launching=launching... terminate\ this\ build=Cancel +busy={1,choice,1# {0} of {1} executor busy|1< {0} of {1} executors busy} +CollapsedSingle={1,choice,1# ({0} of {1} executor busy)|1< ({0} of {1} executors busy)} +CollapsedMulti={0} agents ({1} of {2} executors busy)} +noExecutors=No executors, agents or clouds are configured. \ No newline at end of file diff --git a/core/src/main/resources/lib/hudson/executors_de.properties b/core/src/main/resources/lib/hudson/executors_de.properties index 2e501efc27d5..06d7d01cfb53 100644 --- a/core/src/main/resources/lib/hudson/executors_de.properties +++ b/core/src/main/resources/lib/hudson/executors_de.properties @@ -30,3 +30,7 @@ Unknown\ Task=Unbekannter Task Pending=Wartend Computers=Master{0,choice,0#|1# + {0,number} Agent ({1} von {2} Build-Prozessoren)|1< + {0,number} Agenten ({1} von {2} Build-Prozessoren)} confirm=Möchten Sie {0} wirklich abbrechen? +busy={0} von {1} Build-Prozessoren belegt +CollapsedSingle={1,choice,1# ({0} von {1} Prozessor belegt)|1< ({0} von {1} Prozessoren belegt)} +CollapsedMulti={0} Agenten ({1} von {2} Build-Prozessoren belegt)} +noExecutors=Es sind keine Prozessoren, Agenten oder Clouds konfiguriert. diff --git a/war/src/main/resources/images/symbols/error.svg b/war/src/main/resources/images/symbols/error.svg new file mode 100644 index 000000000000..1c236a7a2cf1 --- /dev/null +++ b/war/src/main/resources/images/symbols/error.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/war/src/main/resources/images/symbols/paper-plane-outline.svg b/war/src/main/resources/images/symbols/paper-plane-outline.svg new file mode 100644 index 000000000000..5ff87689259a --- /dev/null +++ b/war/src/main/resources/images/symbols/paper-plane-outline.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/war/src/main/scss/base/_style.scss b/war/src/main/scss/base/_style.scss index b4a6effefdb0..79918778905d 100644 --- a/war/src/main/scss/base/_style.scss +++ b/war/src/main/scss/base/_style.scss @@ -1063,6 +1063,18 @@ body.no-sticker #bottom-sticker { } /* see the Icon class for the definition of these CSS classes */ +.icon-xs, +svg.icon-xs { + width: 12px; + height: 12px; + vertical-align: middle; + + svg { + width: 12px; + height: 12px; + } +} + .icon-sm, svg.icon-sm { width: 16px; diff --git a/war/src/main/scss/components/_side-panel-widgets.scss b/war/src/main/scss/components/_side-panel-widgets.scss index 6772890bbffa..7a27273d07d0 100644 --- a/war/src/main/scss/components/_side-panel-widgets.scss +++ b/war/src/main/scss/components/_side-panel-widgets.scss @@ -49,6 +49,11 @@ } } +#side-panel .pane-header-details { + font-weight: normal; + font-size: var(--font-size-xs); +} + #side-panel .pane-content { font-size: var(--font-size-xs); } @@ -87,8 +92,61 @@ /** * Executors */ -#executors th.pane { - text-align: left; +#executors { + th.pane { + text-align: left; + } + + .pane-header { + align-items: center; + } + + .computer-caption { + display: flex; + gap: 5px; + padding: 0.5rem 1rem; + + & > div { + margin-left: auto; + align-self: end; + } + } + + .executors-cell { + padding: 0 1rem; + } + + .executors-collapsed { + padding: 0 1rem 0.5rem; + } + + .executor-row { + display: flex; + padding: 0 0 0.5rem; + align-items: center; + } + + .executor-type { + width: 16px; + margin-right: 1ch; + } + + .executor-cell { + width: 100%; + } + + .executor-cell-table .pane { + margin: 0 !important; + padding: 0 !important; + + & > div { + margin-right: 15px; + } + } + + .executor-stop { + width: 16px; + } } /**