From 2814df482b1da183b45014e755f3e49113104321 Mon Sep 17 00:00:00 2001 From: Alec Merdler Date: Wed, 12 Jul 2017 15:09:27 -0400 Subject: [PATCH] display branchtag regex when manually invoking build triggers to avoid confusion when multiple triggers --- static/css/quay.css | 8 +--- .../directives/dockerfile-build-dialog.html | 6 ++- .../manual-trigger-build-dialog.html | 2 +- .../repo-view/repo-panel-builds.html | 2 +- static/directives/trigger-description.html | 3 -- .../triggered-build-description.html | 4 +- .../js/directives/ui/trigger-description.js | 21 ---------- .../trigger-description.component.html | 39 +++++++++++++++++++ .../trigger-description.component.ts | 20 ++++++++++ static/js/quay.module.ts | 2 + 10 files changed, 70 insertions(+), 37 deletions(-) delete mode 100644 static/directives/trigger-description.html delete mode 100644 static/js/directives/ui/trigger-description.js create mode 100644 static/js/directives/ui/trigger-description/trigger-description.component.html create mode 100644 static/js/directives/ui/trigger-description/trigger-description.component.ts diff --git a/static/css/quay.css b/static/css/quay.css index c7ffa24f2..ce983fb9b 100644 --- a/static/css/quay.css +++ b/static/css/quay.css @@ -3211,12 +3211,6 @@ pre.command:before { margin-right: 4px; } -.trigger-description .trigger-description-subtitle { - display: inline-block; - width: 100px; - margin-bottom: 4px; -} - .trigger-option-section:not(:first-child) { border-top: 1px solid #eee; padding-top: 16px; @@ -3653,7 +3647,7 @@ i.mesos-icon { min-width: 500px; } -#startTriggerDialog .trigger-description { +#startTriggerDialog trigger-description { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee; diff --git a/static/directives/dockerfile-build-dialog.html b/static/directives/dockerfile-build-dialog.html index 088379a01..34f11139d 100644 --- a/static/directives/dockerfile-build-dialog.html +++ b/static/directives/dockerfile-build-dialog.html @@ -1,7 +1,7 @@