]> git.mxchange.org Git - friendica.git/commitdiff
Frio admin/users template: fix users avatars, table cols width to have more space
authorfabrixxm <fabrix.xm@gmail.com>
Fri, 20 Apr 2018 12:07:11 +0000 (14:07 +0200)
committerfabrixxm <fabrix.xm@gmail.com>
Fri, 20 Apr 2018 12:07:11 +0000 (14:07 +0200)
view/theme/frio/css/mod_admin.css
view/theme/frio/templates/admin/users.tpl

index 7a8c6f659e453fcff12c9285b34b395353346d66..cbcd53453b7e92c14ff57f4b7921cd7a3b0917f3 100644 (file)
@@ -1,7 +1,16 @@
 
 #admin-users.adminpage { padding-left:0; padding-right: 0;}
 #admin-users.adminpage > h1 { padding: 0 15px; }
-#users img.icon, #deleted img.icon { height: 24px; }
+
+#admin-users td { word-break: break-all; }
+
+#admin-users #users th:first-of-type { width: 1em; }
+#admin-users #users th:nth-of-type(2) { width: 40px; }
+#admin-users #users th:last-of-type { width: 1em; }
+
+#admin-users #deleted th:first-of-type { width: 40px; }
+
+#admin-users #users img.avatar-nano, #deleted img.avatar-nano { height: 24px; width: 24px; }
 .opened .caret { transform: rotate(180deg); }
 tr.details td,
 tr.details th
index 831ee49b6aa680dc85fb731dd2fbf3f93a77f887..6e2051aca3f998790c7df652f00017488397fc13 100644 (file)
@@ -55,7 +55,7 @@
                                                                <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-xs-9">
+                                               <div class="col-xs-9 text-right">
                                                        <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>
@@ -84,7 +84,7 @@
                                        <th></th>
                                        {{foreach $th_users as $k=>$th}}
                                        {{if $k < 2 || $order_users == $th.1 || ($k==5 && !in_array($order_users,[$th_users.2.1, $th_users.3.1, $th_users.4.1])) }}
-                                       <th>
+                                       <th class="th-{{$k}}">
                                                <a href="{{$baseurl}}/admin/users/?o={{if $order_direction_users == "+"}}-{{/if}}{{$th.1}}">
                                                        {{if $order_users == $th.1}}
                                                                {{if $order_direction_users == "+"}}
                                                        &nbsp;
                                                {{/if}}
                                                </td>
-                                               <td><img class="icon" src="{{$u.micro}}" title="{{$u.nickname}}"></td>
+                                               <td><img class="avatar-nano" src="{{$u.micro}}" title="{{$u.nickname}}"></td>
                                                <td><a href="{{$u.url}}" title="{{$u.nickname}}"> {{$u.name}}</a></td>
                                                <td>{{$u.email}}</td>
                                                {{if $order_users == $th_users.2.1}}
                        <tbody>
                        {{foreach $deleted as $u}}
                                <tr>
-                                       <td><img class="icon" src="{{$u.micro}}" title="{{$u.nickname}}"></td>
+                                       <td><img class="avatar-nano" src="{{$u.micro}}" title="{{$u.nickname}}"></td>
                                        <td><a href="{{$u.url}}" title="{{$u.nickname}}" >{{$u.name}}</a></td>
                                        <td>{{$u.email}}</td>
                                        <td>{{$u.deleted}}</td>