spacing and headers and random classes

This commit is contained in:
lvuch 2017-03-22 09:27:35 -07:00
parent f24cb248a4
commit efe5fd08f7
12 changed files with 25 additions and 23 deletions

View File

@ -7,7 +7,7 @@
{{#if global.length}}
<h4>{{t 'environtmentCatalogs.global'}}</h4>
<h5>{{t 'environtmentCatalogs.globalNote'}}</h5>
<table class="table fixed no-lines no-top-padding tight small">
<table class="table fixed no-lines no-top-padding">
<tr class="text-muted hidden-xs hidden-sm">
<th width="25%">{{t 'catalogSettings.more.name.label'}}</th>
<td width="30">&nbsp;</td>
@ -39,7 +39,7 @@
<div>
<button class="bg-transparent text-primary" {{action "add"}}><i class="icon icon-plus-circle"/> <span>{{t 'environtmentCatalogs.addActionLabel'}}</span></button>
{{#if ary.length}}
<table class="table fixed no-lines no-top-padding tight small">
<table class="table fixed no-lines no-top-padding">
<tr class="text-muted hidden-xs hidden-sm">
<th width="25%">{{t 'catalogSettings.more.name.label'}}</th>
<td width="30">&nbsp;</td>
@ -51,15 +51,15 @@
{{#each ary as |row|}}
{{#unless row.toRemove}}
<tr>
<td class="valign-top" data-title="{{t 'catalogSettings.more.name.label'}}:">
<td data-title="{{t 'catalogSettings.more.name.label'}}:">
{{input class="form-control input-sm name" type="text" value=row.name placeholder=(t 'catalogSettings.more.name.placeholder')}}
</td>
<td>&nbsp;</td>
<td class="valign-top" data-title="{{t 'catalogSettings.more.url.label'}}:">
<td data-title="{{t 'catalogSettings.more.url.label'}}:">
{{input class="form-control input-sm" type="text" value=row.url placeholder=(t 'catalogSettings.more.url.placeholder')}}
</td>
<td>&nbsp;</td>
<td class="valign-top" data-title="{{t 'catalogSettings.more.branch.label'}}:">
<td data-title="{{t 'catalogSettings.more.branch.label'}}:">
{{input class="form-control input-sm" type="text" value=row.branch placeholder=(t 'catalogSettings.more.branch.placeholder')}}
</td>

View File

@ -14,7 +14,7 @@
</div>
{{/unless}}
{{#if linksArray.length}}
<table class="table fixed no-lines no-top-padding tight small">
<table class="table fixed no-lines no-top-padding">
<tr class="text-muted">
<th>{{t 'formContainerLinks.targetInstance.label'}}</th>
<th width="30">&nbsp;</th>

View File

@ -3,7 +3,7 @@
{{/if}}
{{#if ary.length}}
<table class="table fixed no-lines no-top-padding tight small">
<table class="table fixed no-lines no-top-padding">
<tr class="text-muted hidden-xs hidden-sm">
<th>{{t keyLabel}}</th>
<th width="30">&nbsp;</th>
@ -12,7 +12,7 @@
</tr>
{{#each ary as |row|}}
<tr>
<td class="valign-top" data-title="{{t keyLabel}}:">
<td data-title="{{t keyLabel}}:">
{{#if editing}}
{{input-paste pasted="pastedLabels" class="form-control input-sm key" type="text" value=row.key placeholder=keyPlaceholder disabled=(eq row.editable false)}}
{{else}}
@ -26,7 +26,7 @@
{{/if}}
</td>
<td class="valign-top" data-title="{{t valueLabel}}:">
<td data-title="{{t valueLabel}}:">
{{#if editing}}
{{#if allowMultilineValue}}
{{textarea-autogrow class="form-control input-sm value" value=row.value placeholder=valuePlaceholder disabled=(eq row.editable false)}}

View File

@ -10,7 +10,7 @@
<div class="row">
<div class="col-xs-12">
{{#if secrets.length}}
<table class="grid fixed no-lines no-top-padding tight small r-mb0">
<table class="grid fixed no-lines no-top-padding r-mb0">
<thead>
<tr>
<th class="text-muted">{{t 'formSecrets.secret.label'}}*</th>

View File

@ -179,7 +179,7 @@
<button class="bg-transparent text-primary" {{action "addDevice"}}><i class="icon icon-plus-circle"/> <span>{{t 'formSecurity.deviceBinding.addActionLabel'}}</span></button>
</div>
{{#if devicesArray.length}}
<table class="table fixed no-lines no-top-padding tight small">
<table class="table fixed no-lines no-top-padding">
<tr class="text-muted">
<th>{{t 'formSecurity.deviceBinding.pathHost.label'}}</th>
<th width="30">&nbsp;</th>
@ -212,7 +212,7 @@
{{/if}}
{{else}}
{{#if devicesArray.length}}
<table class="table fixed no-lines no-top-padding tight small">
<table class="table fixed no-lines no-top-padding">
<tr class="text-muted">
<th>{{t 'formSecurity.deviceBinding.pathHost.label'}}</th>
<th width="30">&nbsp;</th>

View File

@ -6,7 +6,7 @@
</span>
</div>
{{#if serviceLinksArray.length}}
<table class="table fixed no-lines no-top-padding tight small">
<table class="table fixed no-lines no-top-padding">
<tr class="text-muted hidden-sm hidden-xs">
<th>{{t 'formServiceLinks.service.label'}}</th>
{{#if withAlias}}

View File

@ -21,7 +21,7 @@
<label>{{t 'formSslTermination.alternateCerts'}}</label>
</div>
<div class="col span-8">
<table class="table fixed no-lines no-top-padding tight small">
<table class="table fixed no-lines no-top-padding">
<thead>
<tr>
<td>

View File

@ -3,7 +3,7 @@
</div>
{{#if userLabelArray.length}}
<table class="table fixed no-lines no-top-padding tight small">
<table class="table fixed no-lines no-top-padding">
<tr class="text-muted hidden-xs hidden-sm">
<th>{{t 'formUserLabels.key.label'}}</th>
<th width="30">&nbsp;</th>

View File

@ -1,7 +1,7 @@
<button class="bg-transparent text-primary" {{action "add"}}><i class="icon icon-plus-circle"/> <span>{{t addActionLabel}}</span></button>
{{#if ary.length}}
<table class="table fixed no-lines no-top-padding tight small">
<table class="table fixed no-lines no-top-padding">
<tr class="text-muted hidden-xs hidden-sm">
<th>{{t valueLabel}}</th>
<th width="30">&nbsp;</th>

View File

@ -10,7 +10,7 @@
as |sortable kind label|
}}
{{#if (eq kind "row")}}
{{#if showKind}}<td data-title="{{t 'labelsSection.kind'}}:" class="valign-top">{{uc-first label.type}}</td>{{/if}}
{{#if showKind}}<td data-title="{{t 'labelsSection.kind'}}:" >{{uc-first label.type}}</td>{{/if}}
<td data-title="{{t 'labelsSection.key'}}:" class="force-wrap valign-top">{{label.key}}</td>
<td data-title="{{t 'labelsSection.value'}}:" class="force-wrap valign-top">{{pretty-json value=label.value}}</td>
{{else if (eq kind "norows")}}

View File

@ -44,13 +44,13 @@
<hr>
<p>{{t 'catalogSettings.more.header'}}</p>
<p class="text-info">{{format-html-message 'catalogSettings.more.helpText'}}</p>
<p>{{format-html-message 'catalogSettings.more.helpText'}}</p>
<button class="bg-transparent text-primary" {{action "add"}}><i class="icon icon-plus-circle"/> <span>{{t 'catalogSettings.more.addActionLabel'}}</span></button>
{{#if ary.length}}
<table class="table fixed no-lines no-top-padding tight small">
<tr class="text-muted hidden-xs hidden-sm">
<table class="table fixed no-lines no-top-padding">
<tr class="text-muted hidden-xs hidden-sm text-left">
<th width="25%">{{t 'catalogSettings.more.name.label'}}</th>
<td width="30">&nbsp;</td>
<th width="50%">{{t 'catalogSettings.more.url.label'}}</th>
@ -60,15 +60,15 @@
</tr>
{{#each ary as |row|}}
<tr>
<td class="valign-top" data-title="{{t 'catalogSettings.more.name.label'}}:">
<td data-title="{{t 'catalogSettings.more.name.label'}}:">
{{input class="form-control input-sm name" type="text" value=row.name placeholder=(t 'catalogSettings.more.name.placeholder')}}
</td>
<td>&nbsp;</td>
<td class="valign-top" data-title="{{t 'catalogSettings.more.url.label'}}:">
<td data-title="{{t 'catalogSettings.more.url.label'}}:">
{{input class="form-control input-sm" type="text" value=row.url placeholder=(t 'catalogSettings.more.url.placeholder')}}
</td>
<td>&nbsp;</td>
<td class="valign-top" data-title="{{t 'catalogSettings.more.branch.label'}}:">
<td data-title="{{t 'catalogSettings.more.branch.label'}}:">
{{input class="form-control input-sm" type="text" value=row.branch placeholder=(t 'catalogSettings.more.branch.placeholder')}}
</td>
@ -76,6 +76,7 @@
<button class="btn bg-primary btn-sm" {{action "remove" row}}><i class="icon icon-minus"/><span class="sr-only">{{t 'generic.remove'}}</span></button>
</td>
</tr>
<div class="pt-10"></div>
{{/each}}
</table>
{{/if}}

View File

@ -423,4 +423,5 @@ table {
td,
th {
padding: 0;
font-weight: normal;
}