summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-05-25 23:10:04 +0100
committerPhil Hughes <me@iamphill.com>2018-05-25 23:10:04 +0100
commit6c9027f8f6d1eced3ff067b837a1fda3961ba70d (patch)
treec4c622fcb708721fc0bf2bac8a7aa989558bc596 /app/assets
parent65c16758f9ce368115f2ae12178123c4544bf2b4 (diff)
downloadgitlab-ce-6c9027f8f6d1eced3ff067b837a1fda3961ba70d.tar.gz
fixed up after bootstrap upgrade
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/ide/components/jobs/stage.vue21
-rw-r--r--app/assets/javascripts/ide/components/panes/right.vue7
-rw-r--r--app/assets/javascripts/ide/components/pipelines/list.vue4
-rw-r--r--app/assets/javascripts/vue_shared/components/tabs/tabs.js2
4 files changed, 21 insertions, 13 deletions
diff --git a/app/assets/javascripts/ide/components/jobs/stage.vue b/app/assets/javascripts/ide/components/jobs/stage.vue
index c10aae39152..2f8b898652b 100644
--- a/app/assets/javascripts/ide/components/jobs/stage.vue
+++ b/app/assets/javascripts/ide/components/jobs/stage.vue
@@ -54,10 +54,13 @@ export default {
<template>
<div
- class="panel panel-default prepend-top-default"
+ class="card prepend-top-default"
>
<div
- class="panel-heading"
+ class="card-header"
+ :class="{
+ 'border-bottom-0': stage.isCollapsed
+ }"
@click="toggleStageCollapsed(stage.id)"
>
<ci-icon
@@ -75,9 +78,9 @@ export default {
</strong>
<div
v-if="!stage.isLoading || stage.jobs.length"
- class="append-right-8"
+ class="append-right-8 prepend-left-4"
>
- <span class="badge">
+ <span class="badge badge-pill">
{{ jobsCount }}
</span>
</div>
@@ -87,7 +90,7 @@ export default {
/>
</div>
<div
- class="panel-body"
+ class="card-body"
v-show="!stage.isCollapsed"
>
<loading-icon
@@ -105,20 +108,20 @@ export default {
</template>
<style scoped>
-.panel-heading {
+.card-header {
display: flex;
cursor: pointer;
}
-.panel-heading .ci-status-icon {
+.card-header .ci-status-icon {
display: flex;
align-items: center;
}
-.panel-heading .pull-right {
+.card-header .pull-right {
margin: auto 0 auto auto;
}
-.panel-body {
+.card-body {
padding: 0;
}
diff --git a/app/assets/javascripts/ide/components/panes/right.vue b/app/assets/javascripts/ide/components/panes/right.vue
index 485412867f6..a1fcdf5bbd5 100644
--- a/app/assets/javascripts/ide/components/panes/right.vue
+++ b/app/assets/javascripts/ide/components/panes/right.vue
@@ -18,6 +18,11 @@ export default {
},
methods: {
...mapActions(['setRightPane']),
+ clickTab(e, view) {
+ e.target.blur();
+
+ this.setRightPane(view);
+ },
},
rightSidebarViews,
};
@@ -46,7 +51,7 @@ export default {
active: rightPane === $options.rightSidebarViews.pipelines
}"
type="button"
- @click="setRightPane($options.rightSidebarViews.pipelines)"
+ @click="clickTab($event, $options.rightSidebarViews.pipelines)"
>
<icon
:size="16"
diff --git a/app/assets/javascripts/ide/components/pipelines/list.vue b/app/assets/javascripts/ide/components/pipelines/list.vue
index 6aacf9201b8..c45739af468 100644
--- a/app/assets/javascripts/ide/components/pipelines/list.vue
+++ b/app/assets/javascripts/ide/components/pipelines/list.vue
@@ -69,7 +69,7 @@ export default {
Jobs
<span
v-if="jobsCount"
- class="badge"
+ class="badge badge-pill"
>
{{ jobsCount }}
</span>
@@ -86,7 +86,7 @@ export default {
Failed Jobs
<span
v-if="failedJobsCount"
- class="badge"
+ class="badge badge-pill"
>
{{ failedJobsCount }}
</span>
diff --git a/app/assets/javascripts/vue_shared/components/tabs/tabs.js b/app/assets/javascripts/vue_shared/components/tabs/tabs.js
index ac804c0ab3d..4362264caa5 100644
--- a/app/assets/javascripts/vue_shared/components/tabs/tabs.js
+++ b/app/assets/javascripts/vue_shared/components/tabs/tabs.js
@@ -26,12 +26,12 @@ export default {
'li',
{
key: i,
- class: tab.localActive ? 'active' : null,
},
[
h(
'a',
{
+ class: tab.localActive ? 'active' : null,
attrs: {
href: '#',
},