From 83809c31efa62449d2fcf2a430f3e917e8d8f57f Mon Sep 17 00:00:00 2001 From: Akankshakutal <44019583+akankshakutal@users.noreply.github.com> Date: Fri, 6 Mar 2020 16:11:52 +0530 Subject: [PATCH 1/5] Add plugin view specific styles Github Issue: gocd/gocd#7801 --- .../resources/views/task.template.html | 327 ++++++++++-------- 1 file changed, 175 insertions(+), 152 deletions(-) diff --git a/docker-pipeline-plugin/resources/views/task.template.html b/docker-pipeline-plugin/resources/views/task.template.html index d4eb5b2..239ecff 100755 --- a/docker-pipeline-plugin/resources/views/task.template.html +++ b/docker-pipeline-plugin/resources/views/task.template.html @@ -1,202 +1,225 @@ +
-
- - - -


-

Login


-
- - - {{ GOINPUTNAME[RegistryUsername].$error.server }} -
- -
- - - {{ GOINPUTNAME[RegistryPassword].$error.server }} -
- -
- - - {{ GOINPUTNAME[RegistryURLForLogin].$error.server }} -
- -
- - - -
+
+ + + +
+

Login

+
+ + + {{ GOINPUTNAME[RegistryUsername].$error.server }} +
+ +
+ + + {{ GOINPUTNAME[RegistryPassword].$error.server }} +
+ +
+ + + {{ GOINPUTNAME[RegistryURLForLogin].$error.server }} +
+ +
+ + + +
-

Build

- -
- - - -
- -
- - - -
- -
- - -
Provide one or multiple tags separated by ';'. Define a different separator as - the - VERY FIRST character (example "|arg1=xyz|arg2=123") -
- {{ GOINPUTNAME[BuildArgs].$error.server }} -
- -
- - -
Path and name of Dockerfile relative to repository-root (default is - ./Dockerfile). -
- {{ GOINPUTNAME[DockerFileName].$error.server }} -
+

Build

+ +
+ + + +
+ +
+ + + +
+ +
+ + +
Provide one or multiple tags separated by ';'. Define a different separator as + the + VERY FIRST character (example "|arg1=xyz|arg2=123") +
+ {{ GOINPUTNAME[BuildArgs].$error.server }} +
+ +
+ + +
Path and name of Dockerfile relative to repository-root (default is + ./Dockerfile). +
+ {{ GOINPUTNAME[DockerFileName].$error.server }} +
-

Push


-
- - +

Push

+
+ + {{ GOINPUTNAME[Username].$error.server }} -
- -
- - - {{ GOINPUTNAME[ImageName].$error.server }} -
+
-
- - -
You must specify at least one tag. Provide multiple tags separated by ';'. - Define a - different separator as the VERY FIRST character (example "|tag1|tag2") +
+ + + {{ GOINPUTNAME[ImageName].$error.server }}
+ +
+ + +
You must specify at least one tag. Provide multiple tags separated by ';'. + Define a + different separator as the VERY FIRST character (example "|tag1|tag2") +
{{ GOINPUTNAME[ImageTag].$error.server }} -
+
-
- - - {{ GOINPUTNAME[IMAGE_TAG_POSTFIX].$error.server }} -
The tag postfix will be appended to all tags like "...:tag-postfix"
-
+
+ + + {{ GOINPUTNAME[IMAGE_TAG_POSTFIX].$error.server }} +
The tag postfix will be appended to all tags like "...:tag-postfix"
+
-

Run

-
Run an arbritrary container from inside the task. The current pipeline directory - can be accessed as a volume and is set as the initial working directory.
+

Run

+
Run an arbritrary container from inside the task. The current pipeline directory + can be accessed as a volume and is set as the initial working directory. +
-
- - +
+ + {{ GOINPUTNAME[RUN_IMAGE].$error.server }} -
+
-
- - -
Provide one or multiple vars separated by ';'. Define a different separator as - the - VERY FIRST character (example "|arg1=xyz|arg2=123") +
+ + +
Provide one or multiple vars separated by ';'. Define a different separator as + the + VERY FIRST character (example "|arg1=xyz|arg2=123") +
+ {{ GOINPUTNAME[RUN_ENV_VARS].$error.server }}
- {{ GOINPUTNAME[RUN_ENV_VARS].$error.server }} -
-
- - +
+ + {{ GOINPUTNAME[RUN_ARGS].$error.server }} -
+
-
- - +
+ + {{ GOINPUTNAME[RUN_PRE_COPY_FROM].$error.server }} -
+
-
- - +
+ + {{ GOINPUTNAME[RUN_PRE_COPY_TO].$error.server }} -
+
-
- - +
+ + {{ GOINPUTNAME[RUN_POST_COPY_FROM].$error.server }} -
+
-
- - +
+ + {{ GOINPUTNAME[RUN_POST_COPY_TO].$error.server }} +
-
-

Cleanup

+

Cleanup

-
-
- - - +
+
+ + + +
-
-
-
- - - -
-
+
+
+ + + +
+
From bdfb85a6f2dbd79cf49270b10960299e0c72ca88 Mon Sep 17 00:00:00 2001 From: Akanksha Kutal Date: Fri, 6 Mar 2020 16:45:04 +0530 Subject: [PATCH 2/5] Add plugin view specific styles for check_mk_plugin Github Issue: gocd/gocd#7801 --- .../resources/views/checkMk.template.html | 30 ++++++++++++------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/check_mk-plugin/resources/views/checkMk.template.html b/check_mk-plugin/resources/views/checkMk.template.html index 2f93da0..d7aef30 100755 --- a/check_mk-plugin/resources/views/checkMk.template.html +++ b/check_mk-plugin/resources/views/checkMk.template.html @@ -1,9 +1,17 @@ +
- Required! + Required!
@@ -11,7 +19,7 @@
- Required! + Required!
@@ -19,10 +27,10 @@
- Required! + Required!
- @@ -38,7 +46,7 @@
- Required! + Required!
@@ -47,7 +55,7 @@
- Required! + Required!
@@ -56,7 +64,7 @@
- Required! + Required!
@@ -67,7 +75,7 @@
- Required! + Required!
@@ -76,7 +84,7 @@
- Required! + Required!
@@ -85,7 +93,7 @@
- Required! + Required!
@@ -96,7 +104,7 @@
- Required! + Required!
From 735c546dbd295f02fa2e9efb2ffa0083ebb5bbb0 Mon Sep 17 00:00:00 2001 From: Akanksha Kutal Date: Fri, 6 Mar 2020 20:16:28 +0530 Subject: [PATCH 3/5] Add view specific styles for docker compose plugin Github Issue: gocd/gocd#7801 --- .../resources/views/task.template.html | 53 +++++++++++-------- 1 file changed, 31 insertions(+), 22 deletions(-) diff --git a/docker-compose-plugin/resources/views/task.template.html b/docker-compose-plugin/resources/views/task.template.html index 7daf488..6b9cc05 100644 --- a/docker-compose-plugin/resources/views/task.template.html +++ b/docker-compose-plugin/resources/views/task.template.html @@ -1,14 +1,25 @@ +

Docker Compose

-
-
+
From 7f96dd7e555465c32bdb592e7a49a68e10450229 Mon Sep 17 00:00:00 2001 From: Akanksha Kutal Date: Sat, 7 Mar 2020 10:23:47 +0530 Subject: [PATCH 4/5] Add plugin view specific styles for fetch any artifact Github Issue: gocd/gocd#7801 --- .../resources/views/task.template.html | 13 +++++----- .../resources/views/task.template.html | 24 ++++++++++++------- 2 files changed, 22 insertions(+), 15 deletions(-) diff --git a/docker-compose-plugin/resources/views/task.template.html b/docker-compose-plugin/resources/views/task.template.html index 6b9cc05..0006f42 100644 --- a/docker-compose-plugin/resources/views/task.template.html +++ b/docker-compose-plugin/resources/views/task.template.html @@ -3,13 +3,12 @@ color : red; } .checkbox_row { - display: flex; - } - .checkbox_label{ - line-height: 1 !important; - margin-left: 5px !important; - } - + display: flex; + } + .checkbox_label { + line-height: 1 !important; + margin-left: 5px !important; + }

Docker Compose

diff --git a/fetch-any-artifact-plugin/resources/views/task.template.html b/fetch-any-artifact-plugin/resources/views/task.template.html index b8df2a5..97c056a 100755 --- a/fetch-any-artifact-plugin/resources/views/task.template.html +++ b/fetch-any-artifact-plugin/resources/views/task.template.html @@ -1,3 +1,15 @@ +

Prerequisites

- This plugin uses the environment variables GO_BUILD_USER and GO_BUILD_USER_PASSWORD to access the go-servers REST API. + This plugin uses the environment variables GO_BUILD_USER and GO_BUILD_USER_PASSWORD to access the + go-servers REST API. See documentation in GoCD
- {{ GOINPUTNAME[FAA_PIPELINE_NAME].$error.server }}
- {{ GOINPUTNAME[FAA_STAGE_NAME].$error.server }}
- {{ GOINPUTNAME[FAA_JOB_NAME].$error.server }}
- {{ GOINPUTNAME[FAA_ARTIFACT_SOURCE].$error.server }}
@@ -46,7 +55,7 @@

Prerequisites

ng-init="FAA_ARTIFACT_IS_FILE2 = FAA_ARTIFACT_IS_FILE" ng-change="FAA_ARTIFACT_IS_FILE = FAA_ARTIFACT_IS_FILE2" ng-true-value="true" ng-false-value="false"> -
@@ -56,7 +65,7 @@

Prerequisites

ng-init="FAA_FETCH_IF_FAILED2 = FAA_FETCH_IF_FAILED" ng-change="FAA_FETCH_IF_FAILED = FAA_FETCH_IF_FAILED2" ng-true-value="true" ng-false-value="false"> -