BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
bea966c1
Commit
bea966c1
authored
Dec 28, 2016
by
Regis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix initial svg spacing for stages
parent
5838b160
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
31 deletions
+29
-31
stage.js.es6
app/assets/javascripts/vue_pipelines_index/stage.js.es6
+28
-30
stages.js.es6
app/assets/javascripts/vue_pipelines_index/stages.js.es6
+1
-1
No files found.
app/assets/javascripts/vue_pipelines_index/stage.js.es6
View file @
bea966c1
...
...
@@ -40,7 +40,7 @@
return `Build: ${this.stage.status.label}`;
},
tooltip() {
return `has-tooltip ci-status-icon-${this.stage.status.group}`;
return `has-tooltip ci-status-icon
ci-status-icon
-${this.stage.status.group}`;
},
svg() {
const icon = this.stage.status.icon;
...
...
@@ -52,38 +52,36 @@
},
},
template: `
<div class="
stage-container mini-pipeline-graph
">
<div class="
dropdown inline build-content
">
<div class="dropdown inline build-content">
<button
@click='fetchBuilds'
@blur='fetchBuilds'
class="has-tooltip builds-dropdown js-builds-dropdown-button"
data-placement="top"
:title='stage.title'
data-toggle="dropdown"
type="button"
>
<span :class='tooltip'>
<span class="mini-pipeline-graph-icon-container">
<span
:class='spanClass'
v-html='svg'
>
</span>
<i class="fa fa-caret-down dropdown-caret"></i>
</span>
<button
@click='fetchBuilds'
@blur='fetchBuilds'
class="has-tooltip builds-dropdown js-builds-dropdown-button"
data-placement="top"
:title='stage.title'
data-toggle="dropdown"
type="button"
>
<span :class='tooltip'></span>
<span class="mini-pipeline-graph-icon-container">
<span
:class='spanClass'
v-html='svg'
>
</span>
</button>
<i class="fa fa-caret-down dropdown-caret"></i>
</span>
</span>
</button>
<div class="js-builds-dropdown-container">
<div class="dropdown-menu grouped-pipeline-dropdown">
<div class="arrow-up"></div>
<div
:class='dropdownClass'
v-html='buildsOrSpinner'
>
</div>
<div class="js-builds-dropdown-container">
<div class="dropdown-menu grouped-pipeline-dropdown">
<div class="arrow-up"></div>
<div
:class='dropdownClass'
v-html='buildsOrSpinner'
>
</div>
</div>
</div>
...
...
app/assets/javascripts/vue_pipelines_index/stages.js.es6
View file @
bea966c1
...
...
@@ -10,7 +10,7 @@
template: `
<td class="stage-cell">
<div
class="stage-container"
class="stage-container
mini-pipeline-graph
"
v-for='stage in pipeline.details.stages'
>
<vue-stage :stage='stage' :svgs='svgs' :match='match'></vue-stage>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment