mirror of https://github.com/rancher/ui.git
td colon
This commit is contained in:
parent
c6c561a53c
commit
51a6fa415f
|
|
@ -4,11 +4,11 @@
|
|||
<td data-title="{{t 'generic.name'}}:" class="force-wrap">
|
||||
{{#link-to detailRoute model.id}}{{model.displayName}}{{/link-to}}
|
||||
</td>
|
||||
<td data-title="{{t 'containersPage.table.ipAddress'}}">
|
||||
<td data-title="{{t 'containersPage.table.ipAddress'}}:">
|
||||
{{format-ip ip=model.displayIp}}
|
||||
</td>
|
||||
{{#if showHost}}
|
||||
<td data-title="{{t 'containersPage.table.primaryHost'}}">
|
||||
<td data-title="{{t 'containersPage.table.primaryHost'}}:">
|
||||
{{#if model.primaryHost}}
|
||||
{{#link-to "host" model.primaryHost.id}}{{model.primaryHost.displayName}}{{/link-to}}
|
||||
{{else}}
|
||||
|
|
@ -55,7 +55,7 @@
|
|||
</td>
|
||||
{{else}}
|
||||
{{#if (eq showCommand "column")}}
|
||||
<td data-title="{{t 'containersPage.table.command'}}" class="clip">
|
||||
<td data-title="{{t 'containersPage.table.command'}}:" class="clip">
|
||||
{{#if model.command}}
|
||||
{{model.command}}
|
||||
{{else}}
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@
|
|||
<tbody>
|
||||
{{#each arranged as |label|}}
|
||||
<tr>
|
||||
{{#if showKind}}<td data-title="Kind:">{{uc-first label.type}}</td>{{/if}}
|
||||
<td data-title="Key:" class="force-wrap">{{label.key}}</td>
|
||||
<td data-title="Value:" class="force-wrap">{{pretty-json value=label.value}}</td>
|
||||
{{#if showKind}}<td data-title="{{t 'labelsSection.kind'}}:">{{uc-first label.type}}</td>{{/if}}
|
||||
<td data-title="{{t 'labelsSection.key'}}:" class="force-wrap">{{label.key}}</td>
|
||||
<td data-title="{{t 'labelsSection.value'}}:" class="force-wrap">{{pretty-json value=label.value}}</td>
|
||||
</tr>
|
||||
{{else}}
|
||||
<tr><td colspan="3" class="text-center text-muted">{{t 'labelsSection.noData'}}</td></tr>
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
<td data-title="State:" class="state">
|
||||
<td data-title="{{t 'generic.state'}}:" class="state">
|
||||
{{badge-state model=model}}
|
||||
</td>
|
||||
<td data-title="Name:">
|
||||
<td data-title="{{t 'generic.name'}}:">
|
||||
{{#link-to "settings.projects.detail" model.id (query-params editing=false)}}{{model.displayName}}{{/link-to}}
|
||||
</td>
|
||||
<td data-title="Description:">
|
||||
<td data-title="{{t 'generic.description'}}:">
|
||||
{{#if model.description}}{{model.description}}{{else}}<span class="text-muted">{{t 'projectRow.none'}}</span>{{/if}}
|
||||
</td>
|
||||
<td data-title="Orchestration:">
|
||||
<td data-title="{{t 'projectRow.orchestration'}}:">
|
||||
{{model.displayOrchestration}}
|
||||
</td>
|
||||
<td data-title="Default:">
|
||||
<td data-title="{{t 'generic.default'}}:">
|
||||
{{#if model.isDefault}}<i class="icon icon-check"></i>{{else}}<span class="text-muted">–</span>{{/if}}
|
||||
</td>
|
||||
<td data-title="Actions:" class="actions">
|
||||
<td data-title="{{t 'generic.actions'}}:"class="actions">
|
||||
{{action-menu model=model}}
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
<td class="state">
|
||||
<td data-title="{{t 'generic.state'}}:" class="state">
|
||||
{{badge-state model=model}}
|
||||
</td>
|
||||
<td data-title="Address:">
|
||||
<td data-title="{{t 'registryRow.address'}}:">
|
||||
{{model.displayAddress}}
|
||||
</td>
|
||||
<td data-title="Email:">
|
||||
<td data-title="{{t 'registryRow.email'}}:">
|
||||
{{#if model.credential.email}}{{model.credential.email}}{{else}}<i class="text-muted">{{t 'generic.none'}}</i>{{/if}}
|
||||
</td>
|
||||
<td data-title="Username:">
|
||||
<td data-title="{{t 'registryRow.username'}}:">
|
||||
{{#if model.credential.publicValue}}{{model.credential.publicValue}}{{else}}<i class="text-muted">{{t 'generic.none'}}</i>{{/if}}
|
||||
</td>
|
||||
<td data-title="Created:">
|
||||
<td data-title="{{t 'registryRow.created'}}:">
|
||||
{{date-calendar model.created}}
|
||||
</td>
|
||||
<td data-title="Actions:" align="actions">
|
||||
<td data-title="{{t 'generic.actions'}}:" align="actions">
|
||||
{{action-menu model=model}}
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -83,10 +83,10 @@
|
|||
<tbody>
|
||||
{{#each filtered as |service|}}
|
||||
<tr>
|
||||
<td data-title={{t 'stackSection.table.dataTitle.state'}} class="state">
|
||||
<td data-title="{{t 'stackSection.table.dataTitle.state'}}:" class="state">
|
||||
{{badge-state model=service}}
|
||||
</td>
|
||||
<td data-title={{t 'stackSection.table.dataTitle.serviceName'}} class="force-wrap">
|
||||
<td data-title="{{t 'stackSection.table.dataTitle.serviceName'}}:" class="force-wrap">
|
||||
{{#link-to "service" service.environmentId service.id}}{{service.displayName}}{{/link-to}}
|
||||
{{#if service.hasSidekicks}}
|
||||
+ {{service.secondaryLaunchConfigs.length}} {{t 'stackSection.sidekick' numSidekicks=instanceCount}}
|
||||
|
|
@ -95,18 +95,18 @@
|
|||
<i class="icon icon-info addtl-info-trigger"/>
|
||||
</button>
|
||||
</td>
|
||||
<td data-title={{t 'stackSection.table.dataTitle.details'}} class="force-wrap service-detail">{{service.displayDetail}}{{service.displayPorts}}</td>
|
||||
<td data-title="Kind:">
|
||||
<td data-title="{{t 'stackSection.table.dataTitle.details'}}:" class="force-wrap service-detail">{{service.displayDetail}}{{service.displayPorts}}</td>
|
||||
<td data-title="{{t 'stackSection.table.dataTitle.kind'}}:">
|
||||
{{#if service.displayType}}
|
||||
{{service.displayType}}
|
||||
{{/if}}
|
||||
</td>
|
||||
<td data-title={{t 'stackSection.table.dataTitle.containers'}}>
|
||||
<td data-title="{{t 'stackSection.table.dataTitle.containers'}}:">
|
||||
{{#if service.hasContainers}}
|
||||
{{default-str service.instanceCount.length default="0"}} {{t 'stackSection.container' numContainers=service.instanceCount}}
|
||||
{{/if}}
|
||||
</td>
|
||||
<td data-title={{t 'stackSection.table.dataTitle.actions'}} class="actions wide">
|
||||
<td data-title="{{t 'stackSection.table.dataTitle.actions'}}:" class="actions wide">
|
||||
{{action-menu model=service}}
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -2252,6 +2252,13 @@ pageHeaderEnvironment:
|
|||
|
||||
projectRow:
|
||||
none: No description
|
||||
orchestration: Orchestration
|
||||
|
||||
registryRow:
|
||||
address: Address
|
||||
email: Email
|
||||
username: Username
|
||||
created: Created
|
||||
|
||||
schema:
|
||||
inputBoolean:
|
||||
|
|
@ -2313,11 +2320,12 @@ stackSection:
|
|||
virtualMachine: Add Virtual Machine
|
||||
table:
|
||||
dataTitle:
|
||||
state: 'State:'
|
||||
serviceName: 'Service Name:'
|
||||
details: 'Details:'
|
||||
containers: 'Containers:'
|
||||
actions: 'Actions:'
|
||||
state: State
|
||||
serviceName: Service Name
|
||||
kind: Kind
|
||||
details: Details
|
||||
containers: Containers
|
||||
actions: Actions
|
||||
|
||||
|
||||
storagePoolSection:
|
||||
|
|
|
|||
Loading…
Reference in New Issue