rancher/5722 (#821)

* mobile issues

* rancher/rancher#5722

* small screen nav tabs

* rancher/rancher#5723
This commit is contained in:
lauren Vuchetich 2016-08-16 16:07:22 -07:00 committed by Vincent Fiduccia
parent 7ab98b0ff9
commit 779e5b8d29
9 changed files with 23 additions and 16 deletions

View File

@ -180,9 +180,6 @@
<td> <td>
{{dns.value}} {{dns.value}}
</td> </td>
<td width="30" class="text-right">
&nbsp;
</td>
</tr> </tr>
{{/each}} {{/each}}
</table> </table>
@ -225,9 +222,6 @@
<td> <td>
{{dnsSearch.value}} {{dnsSearch.value}}
</td> </td>
<td width="30" class="text-right">
&nbsp;
</td>
</tr> </tr>
{{/each}} {{/each}}
</table> </table>

View File

@ -9,7 +9,7 @@
</div> </div>
{{/input-or-display}} {{/input-or-display}}
</div> </div>
<hr class="visible-xs-block visible-sm-block" />
<div class="col-sm-12 col-md-2 form-label"> <div class="col-sm-12 col-md-2 form-label">
<label class="form-control-static">{{t 'formSecurity.pidMode.label'}}</label> <label class="form-control-static">{{t 'formSecurity.pidMode.label'}}</label>
</div> </div>
@ -34,7 +34,7 @@
</div> </div>
{{/input-or-display}} {{/input-or-display}}
</div> </div>
<hr class="visible-xs-block visible-sm-block" />
<div class="col-sm-12 col-md-2 form-label"> <div class="col-sm-12 col-md-2 form-label">
<label class="form-control-static">{{t 'formSecurity.swapLimit.label'}}</label> <label class="form-control-static">{{t 'formSecurity.swapLimit.label'}}</label>
</div> </div>
@ -58,6 +58,7 @@
{{input type="text" value=instance.cpuSet classNames="form-control" placeholder=(t 'formSecurity.cpuPinning.placeholder')}} {{input type="text" value=instance.cpuSet classNames="form-control" placeholder=(t 'formSecurity.cpuPinning.placeholder')}}
{{/input-or-display}} {{/input-or-display}}
</div> </div>
<hr class="visible-xs-block visible-sm-block" />
<div class="col-sm-12 col-md-2 form-label"> <div class="col-sm-12 col-md-2 form-label">
<label class="form-control-static">{{t 'formSecurity.shares.label'}}</label> <label class="form-control-static">{{t 'formSecurity.shares.label'}}</label>
</div> </div>
@ -89,7 +90,7 @@
{{/if}} {{/if}}
{{/if}} {{/if}}
</div> </div>
<hr class="visible-xs-block visible-sm-block" />
{{#unless editing}} {{#unless editing}}
<div class="col-sm-12 col-md-2 form-label"> <div class="col-sm-12 col-md-2 form-label">
<label class="form-control-static">{{t 'formSecurity.capabilities.label'}}({{t 'formSecurity.capabilities.drop'}})</label> <label class="form-control-static">{{t 'formSecurity.capabilities.label'}}({{t 'formSecurity.capabilities.drop'}})</label>

View File

@ -21,7 +21,7 @@
</label> </label>
</div> </div>
</div> </div>
<div class="col-md-6 r-pr0"> <div class="col-md-6 r-pl0">
<h5>{{t 'catalogSettings.community.header'}}</h5> <h5>{{t 'catalogSettings.community.header'}}</h5>
<p class="help-block"> <p class="help-block">
{{t 'catalogSettings.community.helpText.text'}}{{#if settings.isRancher}} {{t 'catalogSettings.community.helpText.isRancher'}}{{/if}} {{t 'catalogSettings.community.helpText.text'}}{{#if settings.isRancher}} {{t 'catalogSettings.community.helpText.isRancher'}}{{/if}}

View File

@ -29,7 +29,7 @@
{{#if model.mountError}} {{#if model.mountError}}
<div class="text-danger text-center">{{t 'containersPage.containerPage.volumesTab.table.body.error.error'}} {{model.mountError.message}}</div> <div class="text-danger text-center">{{t 'containersPage.containerPage.volumesTab.table.body.error.error'}} {{model.mountError.message}}</div>
{{else}} {{else}}
<div class="text-muted text-center">{{t 'containersPage.containerPage.volumesTab.table.body.error.noData'}}</div> <div class="text-muted text-center" style="display:inline-block;">{{t 'containersPage.containerPage.volumesTab.table.body.error.noData'}}</div>
{{/if}} {{/if}}
</td> </td>
</tr> </tr>

View File

@ -18,7 +18,7 @@
<section> <section>
<div class="row"> <div class="row">
<div class="col-md-3 rm-mb15"> <div class="col-md-3 r-mb15">
{{#if host.description}} {{#if host.description}}
<div> <div>
<label>{{t 'hostsPage.hostPage.infoMultiStats.description'}} </label> <label>{{t 'hostsPage.hostPage.infoMultiStats.description'}} </label>

View File

@ -1,7 +1,7 @@
<label class="text-muted r-ml15">{{t 'servicePage.linksTab.header'}}</label> <label class="text-muted r-ml15">{{t 'servicePage.linksTab.header'}}</label>
<ul class="list-unstyled list-inline with-room"> <ul class="list-unstyled list-inline with-room">
{{#each model.consumedServicesWithNames as |link|}} {{#each model.consumedServicesWithNames as |link|}}
{{#if (eq link.service.name link.name)}} <li>{{#if (eq link.service.name link.name)}}
{{t (if (eq link.service.environmentId model.environmentID) 'serviceLink.noAlias.sameStack' 'serviceLink.noAlias.differentStack') {{t (if (eq link.service.environmentId model.environmentID) 'serviceLink.noAlias.sameStack' 'serviceLink.noAlias.differentStack')
stack=link.service.displayEnvironment stack=link.service.displayEnvironment
service=link.service.displayName service=link.service.displayName
@ -13,7 +13,7 @@
service=link.service.displayName service=link.service.displayName
alias=link.name alias=link.name
}} }}
{{/if}} {{/if}}</li>
{{else}} {{else}}
<li class="text-muted">{{t 'servicePage.linksTab.noData'}}</li> <li class="text-muted">{{t 'servicePage.linksTab.noData'}}</li>
{{/each}} {{/each}}

View File

@ -149,7 +149,6 @@
td:before { td:before {
content: attr(data-title); content: attr(data-title);
width: 45%; width: 45%;
margin-right: 10px;
white-space: nowrap; white-space: nowrap;
text-align: left; text-align: left;
font-weight: bold; font-weight: bold;

View File

@ -5,6 +5,20 @@
width: 100%; width: 100%;
} }
.btn-group.searchable .icon {
top: 18px;
}
.searchable {
margin-bottom: 15px;
}
ul.nav-tabs.shadowed li {
display: block;
width: 100%;
margin-bottom: 5px;
}
.grid { .grid {
& > THEAD > TR > TH, & > THEAD > TR > TH,
& > THEAD > TR > TD, & > THEAD > TR > TD,

View File

@ -8,7 +8,6 @@ a {
H1, H2, H3, H4, H5, H6, SECTION.header { H1, H2, H3, H4, H5, H6, SECTION.header {
margin: 0; margin: 0;
cursor: normal; cursor: normal;
word-break: break-all;
.btn { .btn {
margin-left: 10px; margin-left: 10px;