mirror of https://github.com/rancher/ui.git
101 lines
2.4 KiB
Handlebars
101 lines
2.4 KiB
Handlebars
{{#if showClusterAdminWarning}}
|
|
<BannerMessage @color="bg-info m-0">
|
|
<div class="mt-20">
|
|
{{t
|
|
"clusterNew.import.command.instructionsAdminRole"
|
|
appName=settings.appName
|
|
htmlSafe=true
|
|
}}
|
|
</div>
|
|
<div class="copy-pre mt-20 mb-20">
|
|
{{#if loading}}
|
|
<div class="text-center">
|
|
<i class="icon icon-spinner icon-spin"></i>
|
|
{{t "generic.loading"}}
|
|
</div>
|
|
{{else}}
|
|
<CopyToClipboard
|
|
@clipboardText={{clusterAdmin}}
|
|
@tagName="div"
|
|
class="copy-to-pre"
|
|
/>
|
|
<pre style="font-size: 14px;">
|
|
{{clusterAdmin}}
|
|
</pre>
|
|
{{/if}}
|
|
</div>
|
|
</BannerMessage>
|
|
{{/if}}
|
|
{{#if showEksClusterWarning}}
|
|
<BannerMessage @color="bg-info">
|
|
<div class="pt-15 pb-15">
|
|
{{t
|
|
"clusterNew.import.command.instructionEksCluster"
|
|
appName=settings.appName
|
|
htmlSafe=true
|
|
}}
|
|
</div>
|
|
</BannerMessage>
|
|
{{/if}}
|
|
{{#if showGkeClusterWarning}}
|
|
<BannerMessage @color="bg-warning">
|
|
<div class="pt-15 pb-15">
|
|
{{t
|
|
"clusterNew.import.command.instructionGkeCluster"
|
|
appName=settings.appName
|
|
docsBase=settings.docsBase
|
|
htmlSafe=true
|
|
}}
|
|
</div>
|
|
</BannerMessage>
|
|
{{/if}}
|
|
<div class="mt-20">
|
|
{{t
|
|
"clusterNew.import.command.instructions"
|
|
appName=settings.appName
|
|
docsBase=settings.docsBase
|
|
htmlSafe=true
|
|
}}
|
|
</div>
|
|
<div class="copy-pre mt-20 mb-20">
|
|
{{#if loading}}
|
|
<div class="text-center">
|
|
<i class="icon icon-spinner icon-spin"></i>
|
|
{{t "generic.loading"}}
|
|
</div>
|
|
{{else}}
|
|
<CopyToClipboard
|
|
@clipboardText={{token.command}}
|
|
@tagName="div"
|
|
class="copy-to-pre"
|
|
/>
|
|
<pre id="registration-command" style="font-size: 14px;">
|
|
{{token.command}}
|
|
</pre>
|
|
{{/if}}
|
|
</div>
|
|
<div class="mt-20">
|
|
{{t
|
|
"clusterNew.import.command.instructionsInsecure"
|
|
appName=settings.appName
|
|
docsBase=settings.docsBase
|
|
htmlSafe=true
|
|
}}
|
|
</div>
|
|
<div class="copy-pre mt-20 mb-20">
|
|
{{#if loading}}
|
|
<div class="text-center">
|
|
<i class="icon icon-spinner icon-spin"></i>
|
|
{{t "generic.loading"}}
|
|
</div>
|
|
{{else}}
|
|
<CopyToClipboard
|
|
@clipboardText={{token.insecureCommand}}
|
|
@tagName="div"
|
|
class="copy-to-pre"
|
|
/>
|
|
<pre id="registration-command" style="font-size: 14px;">
|
|
{{token.insecureCommand}}
|
|
</pre>
|
|
{{/if}}
|
|
</div> |