- {{if $pending}}
- <table id="pending" class="table table-hover">
- <thead>
- <tr>
- <th></th>
- {{foreach $th_pending as $th}}<th>{{$th}}</th>{{/foreach}}
- <th></th>
- </tr>
- </thead>
- <tbody>
- {{foreach $pending as $u}}
- <tr>
- <td><input type="checkbox" class="pending_ckbx" id="id_pending_{{$u.hash}}" name="pending[]" value="{{$u.hash}}" /></td>
- <td>{{$u.created}}</td>
- <td>{{$u.name}}</td>
- <td>{{$u.email}}</td>
- <td>
- <a href="{{$baseurl}}/regmod/allow/{{$u.hash}}" title="{{$approve}}"><i class="fa fa-thumbs-up" aria-hidden="true"></i></a>
- <a href="{{$baseurl}}/regmod/deny/{{$u.hash}}" title="{{$deny}}"><i class="fa fa-thumbs-down" aria-hidden="true"></i></a>
- </td>
- </tr>
- <tr class="details">
- <td></td>
- <th>{{$pendingnotetext}}</th>
- <td colspan="4">{{$u.note}}</td>
- </tr>
- {{/foreach}}
- </tbody>
- </table>
- <div class="panel-footer">
- <div class="row">
- <div class="col-xs-3">
- <div class="btn-group" role="group">
- <button type="button" class="btn btn-default selectall" data-select-all="pending_ckbx"><i class="fa fa-check-square-o" aria-hidden="true"></i></button>
- <button type="button" class="btn btn-default selectnone" data-select-none="pending_ckbx"><i class="fa fa-square-o" aria-hidden="true"></i></button>
+ <div id="admin-settings-pending-collapse" class="panel-collapse collapse {{if count($pending) > 0}}in{{/if}}" role="tabpanel" aria-labelledby="admin-settings-pending">
+ {{if $pending}}
+ <table id="pending" class="table table-hover">
+ <thead>
+ <tr>
+ <th></th>
+ {{foreach $th_pending as $th}}<th>{{$th}}</th>{{/foreach}}
+ <th></th>
+ </tr>
+ </thead>
+ <tbody>
+ {{foreach $pending as $u}}
+ <tr>
+ <td>
+ <div class="checkbox">
+ <input type="checkbox" class="pending_ckbx" id="id_pending_{{$u.hash}}" name="pending[]" value="{{$u.hash}}" />
+ <label for="id_pending_{{$u.hash}}"></label>
+ </div>
+ </td>
+ <td>{{$u.created}}</td>
+ <td>{{$u.name}}</td>
+ <td>{{$u.email}}</td>
+ <td>
+ <a href="{{$baseurl}}/regmod/allow/{{$u.hash}}" class="admin-settings-action-link" title="{{$approve}}"><i class="fa fa-check" aria-hidden="true"></i></a>
+ <a href="{{$baseurl}}/regmod/deny/{{$u.hash}}" class="admin-settings-action-link" title="{{$deny}}"><i class="fa fa-trash-o" aria-hidden="true"></i></a>
+ </td>
+ </tr>
+ {{if $u.note}}
+ <tr class="details">
+ <td></td>
+ <th>{{$pendingnotetext}}</th>
+ <td colspan="4">{{$u.note}}</td>
+ </tr>
+ {{/if}}
+ {{/foreach}}
+ </tbody>
+ </table>
+ <div class="panel-footer">
+ <div class="row">
+ <div class="col-xs-3 admin-settings-footer-elements">
+ <div class="checkbox">
+ <input type="checkbox" id="admin-settings-pending-select" class="selecttoggle" data-select-class="pending_ckbx"/>
+ <label for="admin-settings-pending-select"></label>
+ </div>
+ </div>
+ <div class="col-xs-9 admin-settings-footer-elements text-right">
+ <button type="submit" name="page_users_deny" value="1" class="btn btn-primary">
+ <i class="fa fa-trash-o" aria-hidden="true"></i> {{$deny}}
+ </button>
+ <button type="submit" name="page_users_approve" value="1" class="btn btn-warinig">
+ <i class="fa fa-check" aria-hidden="true"></i> {{$approve}}
+ </button>