Merge pull request #5109 from rabuzarus/20180522_-_frio_nav_about_instance

frio - add "info about the instance" link into the navbar for non-authed users
This commit is contained in:
Tobias Diekershoff 2018-05-22 15:10:44 +02:00 committed by GitHub
commit 3e51a23bd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -2158,6 +2158,9 @@ ul.dropdown-menu li:hover {
overflow: hidden; overflow: hidden;
} }
/* Home and Login Page */ /* Home and Login Page */
body.mod-home nav.navbar .nav>li>a:hover {
background-color: rgba(255,255,255,0.2);
}
body.mod-home .navbar #nav-login, body.mod-home .navbar #nav-login,
body.mod-login .navbar #nav-login { body.mod-login .navbar #nav-login {
display: none; display: none;

View file

@ -241,12 +241,17 @@
</div> </div>
<div class="pull-right"> <div class="pull-right">
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li> <li role="presentation">
<a href="login?mode=none" id="nav-login" <a href="login?mode=none" id="nav-login"
data-toggle="tooltip" aria-label="{{$nav.login.3}}" title="{{$nav.login.3}}"> data-toggle="tooltip" aria-label="{{$nav.login.3}}" title="{{$nav.login.3}}">
<i class="fa fa-sign-in fa-fw" aria-hidden="true"></i> <i class="fa fa-sign-in fa-fw" aria-hidden="true"></i>
</a> </a>
</li> </li>
<li role="presentation">
<a href="{{$nav.about.0}}" id="nav-about" data-toggle="tooltip" aria-label="{{$nav.about.3}}" title="{{$nav.about.3}}">
<i class="fa fa-info fa-fw" aria-hidden="true"></i>
</a>
</li>
</ul> </ul>
</div> </div>
</div> </div>