UI fixes for ACP -> Manage -> Users

v1.18.x
pichalite 8 years ago
parent 71bf8450c8
commit 0087a672ba

@ -1,11 +1,9 @@
<div class="manage-users"> <div class="row manage-users">
<div class="col-lg-12"> <div class="col-lg-12">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"><i class="fa fa-user"></i> Users</div> <div class="panel-heading"><i class="fa fa-user"></i> Users</div>
<div class="panel-body"> <div class="panel-body">
<div class="clearfix"> <div class="clearfix">
<div class="btn-group pull-right"> <div class="btn-group pull-right">
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button">Edit <span class="caret"></span></button> <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button">Edit <span class="caret"></span></button>
@ -53,7 +51,7 @@
<br /> <br />
<div class="search {search_display} well"> <div class="search {search_display}">
<label>By User Name</label> <label>By User Name</label>
<input class="form-control" id="search-user-name" data-search-type="username" type="text" placeholder="Enter a username to search"/><br /> <input class="form-control" id="search-user-name" data-search-type="username" type="text" placeholder="Enter a username to search"/><br />
@ -73,39 +71,41 @@
<a href="{config.relative_path}/admin/manage/users/inactive?months=12" class="btn btn-default">12 months</a> <a href="{config.relative_path}/admin/manage/users/inactive?months=12" class="btn btn-default">12 months</a>
<!-- ENDIF inactive --> <!-- ENDIF inactive -->
<table class="table table-striped users-table"> <div class="table-responsive">
<tr> <table class="table table-striped users-table">
<th><input component="user/select/all" type="checkbox"/></th> <tr>
<th>uid</th> <th><input component="user/select/all" type="checkbox"/></th>
<th>username</th> <th>uid</th>
<th>email</th> <th>username</th>
<th class="text-right">postcount</th> <th>email</th>
<th class="text-right">reputation</th> <th class="text-right">postcount</th>
<th class="text-right">flags</th> <th class="text-right">reputation</th>
<th>joined</th> <th class="text-right">flags</th>
<th>last online</th> <th>joined</th>
<th>banned</th> <th>last online</th>
</tr> <th>banned</th>
<!-- BEGIN users --> </tr>
<tr class="user-row"> <!-- BEGIN users -->
<th><input component="user/select/single" data-uid="{users.uid}" type="checkbox"/></th> <tr class="user-row">
<td class="text-right">{users.uid}</td> <th><input component="user/select/single" data-uid="{users.uid}" type="checkbox"/></th>
<td><i class="administrator fa fa-shield text-success<!-- IF !users.administrator --> hidden<!-- ENDIF !users.administrator -->"></i><a href="{config.relative_path}/user/{users.userslug}"> {users.username}</a></td> <td class="text-right">{users.uid}</td>
<td><i class="administrator fa fa-shield text-success<!-- IF !users.administrator --> hidden<!-- ENDIF !users.administrator -->"></i><a href="{config.relative_path}/user/{users.userslug}"> {users.username}</a></td>
<td>
<!-- IF config.requireEmailConfirmation --> <td>
<i class="validated fa fa-check text-success<!-- IF !users.email:confirmed --> hidden<!-- ENDIF !users.email:confirmed -->" title="validated"></i> <!-- IF config.requireEmailConfirmation -->
<i class="notvalidated fa fa-times text-danger<!-- IF users.email:confirmed --> hidden<!-- ENDIF users.email:confirmed -->" title="not validated"></i> <i class="validated fa fa-check text-success<!-- IF !users.email:confirmed --> hidden<!-- ENDIF !users.email:confirmed -->" title="validated"></i>
<!-- ENDIF config.requireEmailConfirmation --> {users.email}</td> <i class="notvalidated fa fa-times text-danger<!-- IF users.email:confirmed --> hidden<!-- ENDIF users.email:confirmed -->" title="not validated"></i>
<td class="text-right">{users.postcount}</td> <!-- ENDIF config.requireEmailConfirmation --> {users.email}</td>
<td class="text-right">{users.reputation}</td> <td class="text-right">{users.postcount}</td>
<td class="text-right"><!-- IF users.flags -->{users.flags}<!-- ELSE -->0<!-- ENDIF users.flags --></td> <td class="text-right">{users.reputation}</td>
<td><span class="timeago" title="{users.joindateISO}"></span></td> <td class="text-right"><!-- IF users.flags -->{users.flags}<!-- ELSE -->0<!-- ENDIF users.flags --></td>
<td><span class="timeago" title="{users.lastonlineISO}"></span></td> <td><span class="timeago" title="{users.joindateISO}"></span></td>
<td class="text-center"><i class="ban fa fa-gavel text-danger<!-- IF !users.banned --> hidden<!-- ENDIF !users.banned -->"></i></td> <td><span class="timeago" title="{users.lastonlineISO}"></span></td>
</tr> <td class="text-center"><i class="ban fa fa-gavel text-danger<!-- IF !users.banned --> hidden<!-- ENDIF !users.banned -->"></i></td>
<!-- END users --> </tr>
</table> <!-- END users -->
</table>
</div>
<!-- IMPORT partials/paginator.tpl --> <!-- IMPORT partials/paginator.tpl -->
</div> </div>

Loading…
Cancel
Save