Skip to content

Node.js based forum software built for the modern web

readded back admin css for users

psychobunny571cb8b44f77
diff --git a/public/templates/admin/users.tpl b/public/templates/admin/users.tpl
index a5fa6d3f11..2ea2337981 100644
--- a/public/templates/admin/users.tpl
+++ b/public/templates/admin/users.tpl
@@ -14,7 +14,7 @@
<span id="user-notfound-notify" class="label label-danger hide">User not found!</span><br/>
</div>
-<ul id="users-container" class="users">
+<ul id="users-container" class="users admin">
<!-- BEGIN users -->
<div class="users-box" data-uid="{users.uid}" data-admin="{users.administrator}" data-username="{users.username}" data-banned="{users.banned}">
<a href="/user/{users.userslug}">
diff --git a/public/themes/vanilla/users.less b/public/themes/vanilla/users.less
index fb70b7ca81..40aaa859f6 100644
--- a/public/themes/vanilla/users.less
+++ b/public/themes/vanilla/users.less
@@ -22,4 +22,32 @@
margin:5px;
}
}
+
+ &.admin {
+ #users-container {
+ padding: 0;
+ }
+
+ .users-box{
+ display: inline-block;
+ margin-top: 20px;
+ text-align: center;
+ vertical-align: top;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ height: auto;
+ max-width: 125px;
+
+ img {
+ width:80px;
+ height:80px;
+ }
+
+ a {
+ margin:5px;
+ padding: 6px 12px;
+ }
+ }
+ }
}
\ No newline at end of file