mirror of https://github.com/rancher/ui.git
24 lines
700 B
Handlebars
24 lines
700 B
Handlebars
{{#containers-header showGroup=false}}
|
|
{{#if model.deployed}}
|
|
{{#link-to "import" classNames="btn btn-sm bg-default mr-10"}}{{t 'pipelinesPage.import'}}{{/link-to}}
|
|
{{#link-to "new-pipeline" class="btn btn-sm bg-primary"}}
|
|
{{t 'pipelinesPage.add'}}
|
|
{{/link-to}}
|
|
{{/if}}
|
|
{{/containers-header}}
|
|
|
|
<div class="mt-10"></div>
|
|
{{#if model.deployed}}
|
|
<section class="instances">
|
|
{{pipeline-jobs-table
|
|
body=model.pipelines
|
|
sortBy=sortBy
|
|
bulkActions=true
|
|
search=true
|
|
paging=true
|
|
}}
|
|
</section>
|
|
{{else}}
|
|
{{banner-message color='bg-warning mb-0 mt-10' message=(t 'pipelinesPage.notDeployed' route=linkToDeploy htmlSafe=true)}}
|
|
{{/if}}
|