mirror of https://github.com/rancher/ui.git
67 lines
2.3 KiB
Handlebars
67 lines
2.3 KiB
Handlebars
<section class="header clearfix">
|
|
<h1>{{t 'catalogSettings.more.header'}}</h1>
|
|
<div>
|
|
<p>{{t 'catalogSettings.more.helpText.header' htmlSafe=true}}</p>
|
|
<ul class="">
|
|
<li>{{t 'catalogSettings.more.helpText.help-name' htmlSafe=true}}</li>
|
|
<li>
|
|
<span>{{t 'catalogSettings.more.helpText.help-repo' htmlSafe=true}}</span>
|
|
<ul>
|
|
<li>{{t 'catalogSettings.more.helpText.help-git' appName=settings.appName htmlSafe=true}}</li>
|
|
<li>{{t 'catalogSettings.more.helpText.help-chart' htmlSafe=true}}</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
|
|
{{#sortable-table
|
|
body=filtered
|
|
descending=descending
|
|
headers=headers
|
|
paging=paging
|
|
pagingLabel="pagination.catalog"
|
|
rightActions=rightActions
|
|
sortBy=sortBy
|
|
classNames="grid sortable-table bordered"
|
|
as |sortable kind row dt|
|
|
}}
|
|
{{#if (eq kind "row")}}
|
|
<tr class="main-row">
|
|
<td class="row-check" valign="middle" style="padding-top: 2px;">
|
|
{{check-box nodeId=row.id}}
|
|
</td>
|
|
<td data-title="{{dt.state}}" class="state">
|
|
{{badge-state model=row}}
|
|
</td>
|
|
<td data-title="{{dt.scope}}" class="state">
|
|
{{#if row.clusterId}}
|
|
{{t 'catalogSettings.currentCluster'}}
|
|
{{else if row.projectId}}
|
|
{{t 'catalogSettings.currentProject'}}
|
|
{{else}}
|
|
{{t 'catalogSettings.globalCatalog'}}
|
|
{{/if}}
|
|
</td>
|
|
<td data-title="{{dt.name}}">
|
|
{{row.name}}
|
|
</td>
|
|
<td data-title="{{dt.url}}">
|
|
<a href="{{row.url}}" target="_blank" rel="nofollow noopener">{{row.url}}</a>
|
|
</td>
|
|
<td data-title="{{dt.branch}}">
|
|
{{row.branch}}
|
|
</td>
|
|
<td data-title="{{dt.actions}}" class="actions">
|
|
{{action-menu model=row}}
|
|
</td>
|
|
</tr>
|
|
{{#if row.showTransitioningMessage}}
|
|
{{error-sub-row fullColspan=sortable.fullColspan model=row}}
|
|
{{/if}}
|
|
{{else if (eq kind "nomatch")}}
|
|
<tr><td colspan="{{sortable.fullColspan}}" class="text-center text-muted pt-20 pb-20">{{t 'catalogSettings.more.noMatch'}}</td></tr>
|
|
{{else if (eq kind "norows")}}
|
|
<tr><td colspan="{{sortable.fullColspan}}" class="text-center text-muted pt-20 pb-20">{{t 'catalogSettings.more.noData'}}</td></tr>
|
|
{{/if}}
|
|
{{/sortable-table}} |