Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
31 deletions
+29
-31
app/assets/javascripts/vue_pipelines_index/stage.js.es6
app/assets/javascripts/vue_pipelines_index/stage.js.es6
+28
-30
app/assets/javascripts/vue_pipelines_index/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 @@
...
@@ -40,7 +40,7 @@
return `Build: ${this.stage.status.label}`;
return `Build: ${this.stage.status.label}`;
},
},
tooltip() {
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() {
svg() {
const icon = this.stage.status.icon;
const icon = this.stage.status.icon;
...
@@ -52,38 +52,36 @@
...
@@ -52,38 +52,36 @@
},
},
},
},
template: `
template: `
<div class="
stage-container mini-pipeline-graph
">
<div class="
dropdown inline build-content
">
<div class="dropdown inline build-content">
<button
<button
@click='fetchBuilds'
@click='fetchBuilds'
@blur='fetchBuilds'
@blur='fetchBuilds'
class="has-tooltip builds-dropdown js-builds-dropdown-button"
class="has-tooltip builds-dropdown js-builds-dropdown-button"
data-placement="top"
data-placement="top"
:title='stage.title'
:title='stage.title'
data-toggle="dropdown"
data-toggle="dropdown"
type="button"
type="button"
>
>
<span :class='tooltip'></span>
<span :class='tooltip'>
<span class="mini-pipeline-graph-icon-container">
<span class="mini-pipeline-graph-icon-container">
<span
<span
:class='spanClass'
:class='spanClass'
v-html='svg'
v-html='svg'
>
>
</span>
<i class="fa fa-caret-down dropdown-caret"></i>
</span>
</span>
</span>
</button>
<i class="fa fa-caret-down dropdown-caret"></i>
</span>
</span>
</button>
<div class="js-builds-dropdown-container">
<div class="js-builds-dropdown-container">
<div class="dropdown-menu grouped-pipeline-dropdown">
<div class="dropdown-menu grouped-pipeline-dropdown">
<div class="arrow-up"></div>
<div class="arrow-up"></div>
<div
<div
:class='dropdownClass'
:class='dropdownClass'
v-html='buildsOrSpinner'
v-html='buildsOrSpinner'
>
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
app/assets/javascripts/vue_pipelines_index/stages.js.es6
View file @
bea966c1
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
template: `
template: `
<td class="stage-cell">
<td class="stage-cell">
<div
<div
class="stage-container"
class="stage-container
mini-pipeline-graph
"
v-for='stage in pipeline.details.stages'
v-for='stage in pipeline.details.stages'
>
>
<vue-stage :stage='stage' :svgs='svgs' :match='match'></vue-stage>
<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