Skip to content

Node.js based forum software built for the modern web

added link to forum homepage

psychobunny91e11e304f1d
diff --git a/public/less/admin/admin.less b/public/less/admin/admin.less
index 72ee4f209c..a2f8366969 100644
--- a/public/less/admin/admin.less
+++ b/public/less/admin/admin.less
@@ -188,8 +188,10 @@
padding: 6px;
img {
- width: 35px;
- height: 35px;
+ width: 30px;
+ height: 30px;
+ vertical-align: -88%;
+ margin-right: 5px;
}
}
@@ -212,15 +214,37 @@
}
}
+ .navbar {
+ padding: 0 5px;
+
+ .nav-home a, .nav-home a:hover {
+ width: 30px;
+ height: 30px;
+ padding: 5px;
+ text-align: center;
+ margin-top: 10px;
+ background: #DDD;
+
+ i {
+ color: black;
+ font-size: 17px;
+ }
+ }
+
+ }
+
#acp-search {
input {
background: black;
border: 0;
color: white;
box-shadow: none;
- width: 31px;
.transition(.4s ease width);
font-family: @font-family-monospace;
+ width: 30px;
+ height: 30px;
+ vertical-align: -30%;
+ border-radius: 0;
&:focus {
width: 200px;
diff --git a/src/views/admin/header.tpl b/src/views/admin/header.tpl
index 1bed0929ed..84b69f812e 100644
--- a/src/views/admin/header.tpl
+++ b/src/views/admin/header.tpl
@@ -76,6 +76,9 @@
</div>
</div>
</form>
+ <li class="nav-home">
+ <a href="{relative_path}/" target="_blank" title="Open forum homepage"><i class="fa fa-home"></i></a>
+ </li>
<li id="user_label" class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#" id="user_dropdown">