remove pipeline head component and use staic HTML instead
This commit is contained in:
parent
79f6e08c11
commit
5d67051c28
3 changed files with 10 additions and 21 deletions
|
@ -6,7 +6,6 @@
|
|||
/*= require ./status.js.es6 */
|
||||
/*= require ./store.js.es6 */
|
||||
/*= require ./pipeline_url.js.es6 */
|
||||
/*= require ./pipeline_head.js.es6 */
|
||||
/*= require ./stage.js.es6 */
|
||||
/*= require ./stages.js.es6 */
|
||||
/*= require ./pipeline_actions.js.es6 */
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
/* global Vue, gl */
|
||||
/* eslint-disable no-param-reassign */
|
||||
|
||||
((gl) => {
|
||||
gl.VuePipelineHead = Vue.extend({
|
||||
template: `
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Status</th>
|
||||
<th>Pipeline</th>
|
||||
<th>Commit</th>
|
||||
<th>Stages</th>
|
||||
<th></th>
|
||||
<th class="hidden-xs"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
`,
|
||||
});
|
||||
})(window.gl || (window.gl = {}));
|
|
@ -74,7 +74,16 @@
|
|||
</div>
|
||||
<div class="table-holder" v-if='pipelines.length > 0'>
|
||||
<table class="table ci-table">
|
||||
<pipeline-head></pipeline-head>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Status</th>
|
||||
<th>Pipeline</th>
|
||||
<th>Commit</th>
|
||||
<th>Stages</th>
|
||||
<th></th>
|
||||
<th class="hidden-xs"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr class="commit" v-for='pipeline in pipelines'>
|
||||
<status-scope
|
||||
|
|
Loading…
Reference in a new issue