Simple CSS changes to help with lower width screens such as Surface tablet

This commit is contained in:
Robin Ward 2013-03-06 12:07:09 -05:00
parent f129693942
commit 1e43eac600
3 changed files with 10 additions and 12 deletions

View File

@ -1,11 +1,11 @@
<div class='admin-controls'> <div class='admin-controls'>
<div class='span15 search controls'> <div class='search controls'>
<label> <label>
{{view Ember.Checkbox checkedBinding="controller.onlyOverridden"}} {{view Ember.Checkbox checkedBinding="controller.onlyOverridden"}}
{{i18n admin.site_settings.show_overriden}} {{i18n admin.site_settings.show_overriden}}
</label> </label>
</div> </div>
<div class='span5 controls'> <div class='search controls'>
{{view Discourse.TextField valueBinding="controller.filter" placeholderKey="type_to_filter"}} {{view Discourse.TextField valueBinding="controller.filter" placeholderKey="type_to_filter"}}
</div> </div>

View File

@ -7,7 +7,7 @@
<li>{{#linkTo adminUsersList.pending}}{{i18n admin.users.pending}}{{/linkTo}}</li> <li>{{#linkTo adminUsersList.pending}}{{i18n admin.users.pending}}{{/linkTo}}</li>
{{/if}} {{/if}}
</ul> </ul>
</div> </div>
<div class='span5 username controls'> <div class='span5 username controls'>
{{view Discourse.TextField valueBinding="controller.username" placeholderKey="username"}} {{view Discourse.TextField valueBinding="controller.username" placeholderKey="username"}}
</div> </div>
@ -20,7 +20,7 @@
{{/if}} {{/if}}
{{#if content.length}} {{#if content.length}}
<table class='table'> <table class='table'>
<tr> <tr>
{{#if showApproval}} {{#if showApproval}}
<th>{{view Ember.Checkbox checkedBinding="selectAll"}}</th> <th>{{view Ember.Checkbox checkedBinding="selectAll"}}</th>
@ -33,7 +33,7 @@
<th>{{i18n admin.user.topics_entered}}</th> <th>{{i18n admin.user.topics_entered}}</th>
<th>{{i18n admin.user.posts_read_count}}</th> <th>{{i18n admin.user.posts_read_count}}</th>
<th>{{i18n admin.user.time_read}}</th> <th>{{i18n admin.user.time_read}}</th>
<th>{{i18n created}}</th> <th>{{i18n created}}</th>
{{#if showApproval}} {{#if showApproval}}
<th>{{i18n admin.users.approved}}</th> <th>{{i18n admin.users.approved}}</th>
{{/if}} {{/if}}
@ -54,15 +54,15 @@
<a href="/admin/users/{{unbound username_lower}}">{{avatar this imageSize="small"}}</a> <a href="/admin/users/{{unbound username_lower}}">{{avatar this imageSize="small"}}</a>
</td> </td>
<td><a href="/admin/users/{{unbound username_lower}}">{{unbound username}}</a></td> <td><a href="/admin/users/{{unbound username_lower}}">{{unbound username}}</a></td>
<td>{{unbound email}}</td> <td>{{shorten email}}</td>
<td>{{{unbound last_emailed_age}}}</td> <td>{{{unbound last_emailed_age}}}</td>
<td>{{{unbound last_seen_age}}}</td> <td>{{{unbound last_seen_age}}}</td>
<td>{{{unbound topics_entered}}}</td> <td>{{{unbound topics_entered}}}</td>
<td>{{{unbound posts_read_count}}}</td> <td>{{{unbound posts_read_count}}}</td>
<td>{{{unbound time_read}}}</td> <td>{{{unbound time_read}}}</td>
<td>{{{unbound created_at_age}}}</td> <td>{{{unbound created_at_age}}}</td>
{{#if controller.showApproval}} {{#if controller.showApproval}}
<td> <td>
{{#if approved}} {{#if approved}}

View File

@ -67,12 +67,10 @@
} }
} }
.search { .search {
float: right;
margin-left: 10px;
label { label {
margin-top: 5px; margin-top: 5px;
float: right;
}
input[type=text] {
float: right;
} }
} }
} }