Skip to content

Node.js based forum software built for the modern web

removed unnecessary markup from users

psychobunnyec150d4a4c01
diff --git a/public/templates/users.tpl b/public/templates/users.tpl
index ff6f2aaa72..5cf004d8b4 100644
--- a/public/templates/users.tpl
+++ b/public/templates/users.tpl
@@ -1,5 +1,4 @@
-<div>
-
+<div class="users">
<ul class="nav nav-pills">
<li class=''><a href='/users-latest'>Latest Users</a></li>
<li class=''><a href='/users-sort-posts'>Top Posters</a></li>
@@ -18,7 +17,7 @@
</div>
</div>
- <ul id="users-container" class="users">
+ <ul id="users-container" class="users-container">
<!-- BEGIN users -->
<div class="users-box">
<a href="/users/{users.userslug}">
@@ -38,10 +37,10 @@
</div>
<!-- END users -->
</ul>
-</div>
-<div class="text-center {loadmore_display}">
- <button id="load-more-users-btn" class="btn btn-primary">Load More</button>
+ <div class="text-center {loadmore_display}">
+ <button id="load-more-users-btn" class="btn btn-primary">Load More</button>
+ </div>
</div>
<script type="text/javascript" src="{relative_path}/src/forum/users.js"></script>
\ No newline at end of file
diff --git a/public/themes/vanilla/style.less b/public/themes/vanilla/style.less
index b0bfa6ea9e..0bf9140ff0 100644
--- a/public/themes/vanilla/style.less
+++ b/public/themes/vanilla/style.less
@@ -36,9 +36,6 @@ a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus {
}
-
-
-
#alert_window {
position: fixed;
right: 20px;
@@ -104,5 +101,4 @@ a:hover, .btn-link:hover, .btn-link:active, .btn-link:focus {
.modal {
overflow-y: hidden;
}
-
//END: FIXES FOR BS3, may need to remove these when we get out of the RC releases
\ No newline at end of file
diff --git a/public/themes/vanilla/users.less b/public/themes/vanilla/users.less
index 5f6b486ee4..fb70b7ca81 100644
--- a/public/themes/vanilla/users.less
+++ b/public/themes/vanilla/users.less
@@ -1,23 +1,25 @@
+.users {
+ .users-container {
+ padding: 0;
+ }
-#users-container {
- padding: 0;
-}
-.users-box{
- display: inline-block;
- margin-top: 20px;
- text-align: center;
- vertical-align: top;
- max-width: 104px;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
+ .users-box{
+ display: inline-block;
+ margin-top: 20px;
+ text-align: center;
+ vertical-align: top;
+ max-width: 104px;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
- img {
- width:80px;
- height:80px;
- }
+ img {
+ width:80px;
+ height:80px;
+ }
- a {
- margin:5px;
+ a {
+ margin:5px;
+ }
}
-}
+}
\ No newline at end of file