diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-03-20 11:18:23 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-20 11:18:23 +0100 |
commit | 37d350c3f589779a32ca356047d8c7244ac4878f (patch) | |
tree | fa042cc1f488fd91ae395d6335753cd9742d6baf /view/tpl/nav.tpl | |
parent | b10c519cc16ac7cc115becd19bc8eeb3ee2e4c38 (diff) | |
download | volse-hubzilla-37d350c3f589779a32ca356047d8c7244ac4878f.tar.gz volse-hubzilla-37d350c3f589779a32ca356047d8c7244ac4878f.tar.bz2 volse-hubzilla-37d350c3f589779a32ca356047d8c7244ac4878f.zip |
update to latest bs4 from git and change hidden-* classes to d-*
Diffstat (limited to 'view/tpl/nav.tpl')
-rwxr-xr-x | view/tpl/nav.tpl | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index 3c9de483d..3dad4fd5e 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -1,5 +1,5 @@ {{if $nav.login && !$userinfo}} -<div class="hidden-md-up"> +<div class="d-md-none"> <a class="btn btn-primary btn-sm text-white" href="#" title="{{$nav.loginmenu.1.3}}" id="{{$nav.loginmenu.1.4}}_collapse" data-toggle="modal" data-target="#nav-login"> {{$nav.loginmenu.1.1}} </a> @@ -158,20 +158,20 @@ </li> {{/if}} {{if $nav.register}} - <li class="nav-item {{$nav.register.2}} hidden-xs-down"> + <li class="nav-item {{$nav.register.2}} d-none d-md-flex"> <a class="nav-link" href="{{$nav.register.0}}" title="{{$nav.register.3}}" id="{{$nav.register.4}}">{{$nav.register.1}}</a> </li> {{/if}} {{if $nav.alogout}} - <li class="nav-item {{$nav}}-alogout.2 hidden-xs-down"> + <li class="nav-item {{$nav.alogout.2}} d-none d-md-flex"> <a class="nav-link" href="{{$nav.alogout.0}}" title="{{$nav.alogout.3}}" id="{{$nav.alogout.4}}">{{$nav.alogout.1}}</a> </li> {{/if}} </ul> - <div id="banner" class="navbar-text text-white font-weight-bold hidden-sm-down">{{$banner}}</div> + <div id="banner" class="navbar-text text-white font-weight-bold d-none d-md-flex">{{$banner}}</div> - <ul id="nav-right" class="navbar-nav hidden-sm-down ml-auto"> + <ul id="nav-right" class="navbar-nav ml-auto d-none d-md-flex"> <li class="nav-item collapse clearfix" id="nav-search"> <form class="form-inline" method="get" action="search" role="search"> <input class="form-control form-control-sm mt-1 mr-2" id="nav-search-text" type="text" value="" placeholder=" {{$help}}" name="search" title="{{$nav.search.3}}" onclick="this.submit();" onblur="closeMenu('nav-search'); openMenu('nav-search-btn');"/> @@ -200,7 +200,7 @@ </li> </ul> </div> -<div class="collapse hidden-md-up" id="navbar-collapse-2"> +<div class="collapse" id="navbar-collapse-2"> <div class="navbar-nav"> {{foreach $navapps as $navapp}} {{$navapp|replace:'dropdown-item':'nav-link'}} |