]> git.mxchange.org Git - friendica.git/commitdiff
Frio: admin/users template
authorfabrixxm <fabrix.xm@gmail.com>
Thu, 19 Apr 2018 17:00:16 +0000 (19:00 +0200)
committerfabrixxm <fabrix.xm@gmail.com>
Thu, 19 Apr 2018 17:00:16 +0000 (19:00 +0200)
- replace last a href=# with button
- use smallest breakpoint for panels footers

view/theme/frio/templates/admin/users.tpl

index b5d8abd2a84ddb4e21fb318461bcdd36b0e13efa..831ee49b6aa680dc85fb731dd2fbf3f93a77f887 100644 (file)
                                </table>
                                <div class="panel-footer">
                                        <div class="row">
-                                               <div class="col-md-6">
+                                               <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>
                                                </div>
-                                               <div class="col-md-6">
+                                               <div class="col-xs-9">
                                                        <button type="submit" name="page_users_deny" class="btn btn-primary"><i class="fa fa-thumbs-down" aria-hidden="true"></i> {{$deny}}</button>
                                                        <button type="submit" name="page_users_approve" class="btn btn-warinig"><i class="fa fa-thumbs-up" aria-hidden="true"></i> {{$approve}}</button>
                                                </div>
                                                <td>{{$u.page_flags}} {{if $u.is_admin}}({{$siteadmin}}){{/if}} {{if $u.account_expired}}({{$accountexpired}}){{/if}}</td>
                                                {{/if}}
                                                <td class="text-right">
-                                                       <a href="#" onclick="return details({{$u.uid}})"><span class="caret"></span></i>
+                                                       <button type="button" class="btn-link" onclick="return details({{$u.uid}})"><span class="caret"></span></button>
                                                </td>
                                        </tr>
                                        <tr id="user-{{$u.uid}}-detail" class="hidden details">
                        </table>
                        <div class="panel-footer">
                                <div class="row">
-                                       <div class="col-md-6">
+                                       <div class="col-xs-3">
                                                <div class="btn-group" role="group">
                                                        <button type="button" class="btn btn-default selectall" data-select-all="users_ckbx"><i class="fa fa-check-square-o" aria-hidden="true"></i></button>
                                                        <button type="button" class="btn btn-default selectnone" data-select-none="users_ckbx"><i class="fa fa-square-o" aria-hidden="true"></i></button>
                                                </div>
                                        </div>
-                                       <div class="col-md-6 text-right">
+                                       <div class="col-xs-9 text-right">
                                                        <button type="submit" name="page_users_block" class="btn btn-warning">  <i class="fa fa-ban" aria-hidden="true"></i> {{$block}} / <i class="fa fa-circle-o" aria-hidden="true"></i> {{$unblock}}</button>
                                                        <button type="submit" name="page_users_delete" class="btn btn-danger" onclick="return confirm_delete('{{$confirm_delete_multi}}')"><i class="fa fa-trash" aria-hidden="true"></i> {{$delete}}</button>
                                        </div>