mirror of https://github.com/rancher/ui.git
parent
98123333d3
commit
8ff8abfc94
|
|
@ -1,11 +1,12 @@
|
|||
{{#if projectController.showOrchestrationWelcome}}
|
||||
{{orchestration-welcome}}
|
||||
{{else if rows.length}}
|
||||
{{else}}
|
||||
{{#containers-header tags=tags}}
|
||||
{{#link-to "new-stack" classNames="btn btn-sm bg-default mr-10"}}{{t 'nav.containers.importCompose'}}{{/link-to}}
|
||||
{{#link-to "balancers.run" projects.current.id class="btn btn-sm bg-primary"}}{{t 'nav.containers.addBalancer'}}{{/link-to}}
|
||||
{{/containers-header}}
|
||||
|
||||
{{#if rows.length}}
|
||||
<section class="pl-0 pr-0">
|
||||
{{#sortable-table
|
||||
classNames="grid sortable-table"
|
||||
|
|
@ -67,6 +68,7 @@
|
|||
{{/if}}
|
||||
{{/sortable-table}}
|
||||
</section>
|
||||
{{else}}
|
||||
{{else}}
|
||||
{{empty-table resource="container" newRoute="balancers.run" newTranslationKey="nav.containers.addBalancer"}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
{{#if projectController.showOrchestrationWelcome}}
|
||||
{{orchestration-welcome}}
|
||||
{{else if rows.length}}
|
||||
{{else}}
|
||||
{{#containers-header tags=tags simpleMode=simpleMode}}
|
||||
{{#link-to "new-stack" classNames="btn btn-sm bg-default mr-10"}}{{t 'nav.containers.importCompose'}}{{/link-to}}
|
||||
{{#link-to "containers.run" projects.current.id class="btn btn-sm bg-primary"}}{{t 'nav.containers.addContainer'}}{{/link-to}}
|
||||
{{/containers-header}}
|
||||
|
||||
{{#if rows.length}}
|
||||
<section class="instances">
|
||||
{{#sortable-table
|
||||
tableClassNames="double-rows"
|
||||
|
|
@ -80,6 +81,7 @@
|
|||
{{/if}}
|
||||
{{/sortable-table}}
|
||||
</section>
|
||||
{{else}}
|
||||
{{else}}
|
||||
{{empty-table resource="container" newRoute="containers.run" newTranslationKey="nav.containers.addContainer"}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
{{#if projectController.showOrchestrationWelcome}}
|
||||
{{orchestration-welcome}}
|
||||
{{else if rows.length}}
|
||||
{{else}}
|
||||
{{#containers-header tags=tags}}
|
||||
{{#link-to "new-stack" classNames="btn btn-sm bg-default mr-10"}}{{t 'nav.containers.importCompose'}}{{/link-to}}
|
||||
{{#link-to "dns.new" projects.current.id class="btn btn-sm bg-primary"}}{{t 'nav.containers.addDns'}}{{/link-to}}
|
||||
{{/containers-header}}
|
||||
|
||||
{{#if rows.length}}
|
||||
<section class="pl-0 pr-0">
|
||||
{{#sortable-table
|
||||
classNames="grid sortable-table"
|
||||
|
|
@ -56,6 +57,7 @@
|
|||
{{/if}}
|
||||
{{/sortable-table}}
|
||||
</section>
|
||||
{{else}}
|
||||
{{else}}
|
||||
{{empty-table resource="container" newRoute="dns.new" newTranslationKey="nav.containers.addDns"}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
@ -1,11 +1,12 @@
|
|||
{{#if projectController.showOrchestrationWelcome}}
|
||||
{{orchestration-welcome}}
|
||||
{{else if rows.length}}
|
||||
{{else}}
|
||||
{{#containers-header tags=tags}}
|
||||
{{#link-to "new-stack" classNames="btn btn-sm bg-default mr-10"}}{{t 'nav.containers.importCompose'}}{{/link-to}}
|
||||
{{#link-to "volumes.new" projects.current.id class="btn btn-sm bg-primary"}}{{t 'nav.containers.addVolume'}}{{/link-to}}
|
||||
{{/containers-header}}
|
||||
|
||||
{{#if rows.length}}
|
||||
<section class="pl-0 pr-0">
|
||||
{{#sortable-table
|
||||
classNames="grid sortable-table"
|
||||
|
|
@ -54,6 +55,7 @@
|
|||
{{/if}}
|
||||
{{/sortable-table}}
|
||||
</section>
|
||||
{{else}}
|
||||
{{else}}
|
||||
{{empty-table resource="container" newRoute="volumes.new" newTranslationKey="nav.containers.addVolume"}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
|
|||
Loading…
Reference in New Issue