From bcadea05359c12dc025f030379c5dc6f2eeb981e Mon Sep 17 00:00:00 2001 From: Baban Faraj Date: Tue, 31 Aug 2021 13:27:42 +0000 Subject: [PATCH] Made the column count for large screen size configurable based on where the project summary is placed. --- src/components/ProjectsSummary.vue | 30 +++++++++++++++----- src/views/Projects.vue | 8 ++++-- src/views/user/LaunchboardUser.vue | 45 ++++++++++++------------------ 3 files changed, 46 insertions(+), 37 deletions(-) diff --git a/src/components/ProjectsSummary.vue b/src/components/ProjectsSummary.vue index c731513..6e5f9e6 100644 --- a/src/components/ProjectsSummary.vue +++ b/src/components/ProjectsSummary.vue @@ -240,7 +240,7 @@ -
- Pipeline: {{ project.latestPipeline.name }} +
+ Pipeline: {{ project.latestPipeline.message }}
@@ -317,7 +318,13 @@ :key="jIndex" :to="job.link" > - {{ job.name }}; + {{ job.name }}; + @@ -341,6 +348,10 @@ export default { ErrorMessage, }, props: { + projectCardColumnLgCount: { + type: Number, + default: 4, + }, detailed: { type: Boolean, default: true, @@ -376,6 +387,7 @@ export default { async refreshProjects() { if (this.setProjectLoading) { this.setProjectLoading(true); + this.loading = true; } this.error = false; this.emptyString = false; @@ -395,6 +407,7 @@ export default { } if (this.setProjectLoading) { this.setProjectLoading(false); + this.loading = false; } }, setCardView() { @@ -457,10 +470,13 @@ export default { padding-bottom: 20px; } .project-card-detail { - padding-top:30px; + padding-top: 30px; padding-bottom: 45px; - padding-left:45px; - padding-right:45px; + padding-left: 45px; + padding-right: 45px; + } + .project-card-text { + font-size: medium; } .card { min-height: 100%; diff --git a/src/views/Projects.vue b/src/views/Projects.vue index 021bdc2..562461f 100644 --- a/src/views/Projects.vue +++ b/src/views/Projects.vue @@ -12,13 +12,14 @@ :refreshClick="refreshProjectData" >
- +