]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #2583 from fabrixxm/frio-login-modal
authorrabuzarus <rabuzarus@t-online.de>
Sun, 12 Jun 2016 08:50:56 +0000 (10:50 +0200)
committerGitHub <noreply@github.com>
Sun, 12 Jun 2016 08:50:56 +0000 (10:50 +0200)
Frio: login button opens a modal

1  2 
view/theme/frio/templates/nav.tpl

index f77f2da783d962218976db3bdcdf8c95150d14a6,a0ee0888431fa0a652ca79a345de5cc5ec7b36e7..9b0b283568a395c83205676e1fc2d94c244e3424
                </div>
        </div>
  </nav>
  {{/if}}
  
 +{{* provide a a search input for mobile view, which expands by pressing the search icon *}}
 +<div id="search-mobile" class="hidden-lg hidden-md collapse">
 +      <form class="navbar-form" role="search" method="get" action="{{$nav.search.0}}">
 +              <!-- <img class="hidden-xs" src="{{$nav.userinfo.icon}}" alt="{{$nav.userinfo.name}}" style="max-width:33px; max-height:33px; min-width:33px; min-height:33px; width:33px; height:33px;"> -->
 +              <div class="form-group form-group-search">
 +                      <input id="nav-search-input-field-mobile" class="form-control form-search" type="text" name="search" data-toggle="tooltip" title="{{$search_hint}}" placeholder="{{$nav.search.1}}">
 +                      <button class="btn btn-default btn-sm form-button-search" type="submit">{{$nav.search.1}}</button>
 +              </div>
 +      </form>
 +</div>
 +
  {{* The second navbar which contains nav points of the actual page - (nav points are actual handled by this theme throug js *}}
  <div id="topbar-second" class="topbar">
        <div class="container">