]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/nav.tpl
Fix review points
[friendica.git] / view / theme / frio / templates / nav.tpl
1 {{* we have modified the navmenu (look at function frio_remote_nav() ) to have remote links. *}}
2 {{if $userinfo}}
3         <header>
4                 {{* {{$langselector}} *}}
5
6                 <div id="site-location">{{$sitelocation}}</div>
7                 <div id="banner" class="hidden-sm hidden-xs">
8                         {{* show on remote/visitor connections an other logo which symbols that fact*}}
9                         {{if $nav.remote}}
10                                 <a href="{{$baseurl}}">
11                                         <div id="remote-logo-img" aria-label="{{$home}}"></div>
12                                 </a>
13                         {{else}}
14                                 {{* #logo-img is the the placeholder to insert a mask (friendica logo) into this div
15                                 For Firefox we have to call the paths of the mask (look at the bottom of this file).
16                                 Because for FF we need relative paths we apply them with js after the page is loaded (look at theme.js *}}
17                                 <a href="{{$baseurl}}">
18                                         <div id="logo-img" aria-label="{{$home}}"></div>
19                                 </a>
20                         {{/if}}
21                 </div>
22         </header>
23         <nav id="topbar-first" class="topbar">
24                 <div class="container">
25                         <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 no-padding">
26                                 <!-- div for navbar width-->
27                                 <!-- Brand and toggle get grouped for better mobile display -->
28                                 <div class="topbar-nav" role="navigation">
29
30                                         {{* Buttons for the mobile view *}}
31                                         <button type="button" class="navbar-toggle offcanvas-right-toggle pull-right"
32                                                 aria-controls="offcanvasUsermenu" aria-haspopup="true">
33                                                 <span class="sr-only">Toggle navigation</span>
34                                                 <i class="fa fa-ellipsis-v fa-fw fa-lg" aria-hidden="true"></i>
35                                         </button>
36                                         <button type="button" class="navbar-toggle collapsed pull-right" data-toggle="collapse"
37                                                 data-target="#search-mobile" aria-expanded="false" aria-controls="search-mobile">
38                                                 <span class="sr-only">Toggle Search</span>
39                                                 <i class="fa fa-search fa-fw fa-lg" aria-hidden="true"></i>
40                                         </button>
41                                         <button type="button" class="navbar-toggle collapsed pull-left visible-sm visible-xs"
42                                                 data-toggle="offcanvas" data-target="aside" aria-haspopup="true">
43                                                 <span class="sr-only">Toggle navigation</span>
44                                                 <i class="fa fa-ellipsis-v fa-fw fa-lg" aria-hidden="true"></i>
45                                         </button>
46
47                                         {{* Left section of the NavBar with navigation shortcuts/icons *}}
48                                         <ul class="nav navbar-left" role="menubar">
49                                                 {{if $nav.network}}
50                                                         <li class="nav-segment">
51                                                                 <a accesskey="n" class="nav-menu {{$sel.network}}" href="{{$nav.network.0}}"
52                                                                         data-toggle="tooltip" aria-label="{{$nav.network.3}}" title="{{$nav.network.3}}"><i
53                                                                                 class="fa fa-lg fa-th fa-fw" aria-hidden="true"></i><span id="net-update"
54                                                                                 class="nav-network-badge badge nav-notification"></span></a>
55                                                         </li>
56                                                 {{/if}}
57                                                 {{if $nav.home}}
58                                                         <li class="nav-segment">
59                                                                 <a accesskey="p" class="nav-menu {{$sel.home}}" href="{{$nav.home.0}}" data-toggle="tooltip"
60                                                                         aria-label="{{$nav.home.3}}" title="{{$nav.home.3}}"><i class="fa fa-lg fa-home fa-fw"
61                                                                                 aria-hidden="true"></i><span id="home-update"
62                                                                                 class="nav-home-badge badge nav-notification"></span></a>
63                                                         </li>
64                                                 {{/if}}
65
66                                                 {{if $nav.community}}
67                                                         <li class="nav-segment">
68                                                                 <a accesskey="c" class="nav-menu {{$sel.community}}" href="{{$nav.community.0}}"
69                                                                         data-toggle="tooltip" aria-label="{{$nav.community.3}}" title="{{$nav.community.3}}"><i
70                                                                                 class="fa fa-lg fa-bullseye fa-fw" aria-hidden="true"></i></a>
71                                                         </li>
72                                                 {{/if}}
73
74                                                 {{if $nav.messages}}
75                                                         <li class="nav-segment hidden-xs">
76                                                                 <a accesskey="m" id="nav-messages-link" href="{{$nav.messages.0}}" data-toggle="tooltip"
77                                                                         aria-label="{{$nav.messages.1}}" title="{{$nav.messages.1}}"
78                                                                         class="nav-menu {{$sel.messages}}"><i class="fa fa-envelope fa-lg fa-fw"
79                                                                                 aria-hidden="true"></i><span id="mail-update"
80                                                                                 class="nav-mail-badge badge nav-notification"></span></a>
81                                                         </li>
82                                                 {{/if}}
83
84                                                 {{if $nav.events}}
85                                                         <li class="nav-segment hidden-xs">
86                                                                 <a accesskey="e" id="nav-events-link" href="{{$nav.events.0}}" data-toggle="tooltip"
87                                                                         aria-label="{{$nav.events.1}}" title="{{$nav.events.1}}" class="nav-menu"><i
88                                                                                 class="fa fa-lg fa-calendar fa-fw"></i></a>
89                                                         </li>
90                                                 {{/if}}
91
92                                                 {{if $nav.contacts}}
93                                                         <li class="nav-segment hidden-xs">
94                                                                 <a accesskey="k" id="nav-contacts-link" href="{{$nav.contacts.0}}" data-toggle="tooltip"
95                                                                         aria-label="{{$nav.contacts.1}}" title="{{$nav.contacts.1}}"
96                                                                         class="nav-menu {{$sel.contacts}} {{$nav.contacts.2}}"><i
97                                                                                 class="fa fa-users fa-lg fa-fw"></i></a>
98                                                         </li>
99                                                 {{/if}}
100
101                                                 {{* The notifications dropdown *}}
102                                                 {{if $nav.notifications}}
103                                                         <li id="nav-notification" class="nav-segment dropdown" role="presentation">
104                                                                 <button id="nav-notifications-menu-btn" class="btn-link dropdown-toggle" data-toggle="dropdown"
105                                                                         type="button" aria-haspopup="true" aria-expanded="false"
106                                                                         aria-controls="nav-notifications-menu">
107                                                                         <span id="notification-update" class="nav-notification-badge badge nav-notification"></span>
108                                                                         <i class="fa fa-bell fa-lg" aria-label="{{$nav.notifications.1}}"></i>
109                                                                 </button>
110                                                                 {{* The notifications dropdown menu. There are two parts of menu. The second is at the bottom of this file. It is loaded via js. Look at nav-notifications-template *}}
111                                                                 <ul id="nav-notifications-menu" class="dropdown-menu menu-popup" role="menu"
112                                                                         aria-labelledby="nav-notifications-menu-btn">
113                                                                         {{* the following list entry must have the id "nav-notificaionts-mark-all". Without it this isn't visable. ....strange behavior :-/ *}}
114                                                                         <li role="presentation" id="nav-notifications-mark-all" class="dropdown-header">
115                                                                                 <div class="arrow"></div>
116                                                                                 {{$nav.notifications.1}}
117                                                                                 <div class="dropdown-header-link">
118                                                                                         <button role="menuitem" type="button" class="btn-link"
119                                                                                                 onclick="notificationMarkAll();" data-toggle="tooltip"
120                                                                                                 aria-label="{{$nav.notifications.mark.3}}"
121                                                                                                 title="{{$nav.notifications.mark.3}}">{{$nav.notifications.mark.1}}</button>
122                                                                                 </div>
123
124                                                                         </li>
125
126                                                                         <li role="presentation">
127                                                                                 <p role="menuitem" class="text-muted"><i>{{$emptynotifications}}</i></p>
128                                                                         </li>
129                                                                 </ul>
130                                                         </li>
131                                                 {{/if}}
132
133                                         </ul>
134                                 </div>
135
136                                 {{* This is the right part of the NavBar. It includes the search and the user menu *}}
137                                 <div class="topbar-actions pull-right">
138                                         <ul class="nav">
139
140                                                 {{* The search box *}}
141                                                 {{if $nav.search}}
142                                                         <li id="search-box" class="hidden-xs">
143                                                                 <form class="navbar-form" role="search" method="get" action="{{$nav.search.0}}">
144                                                                         <div class="form-group form-group-search">
145                                                                                 <input accesskey="s" id="nav-search-input-field" class="form-control form-search"
146                                                                                         type="text" name="q" data-toggle="tooltip" title="{{$search_hint}}"
147                                                                                         placeholder="{{$nav.search.1}}">
148                                                                                 <button class="btn btn-default btn-sm form-button-search"
149                                                                                         type="submit">{{$nav.search.1}}</button>
150                                                                         </div>
151                                                                 </form>
152                                                         </li>
153                                                 {{/if}}
154
155                                                 {{* The user dropdown menu *}}
156                                                 {{if $userinfo}}
157                                                         <li id="nav-user-linkmenu" class="dropdown account nav-menu hidden-xs">
158                                                                 <button accesskey="u" id="main-menu" class="btn-link dropdown-toggle nav-avatar"
159                                                                         data-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false"
160                                                                         aria-controls="nav-user-menu">
161                                                                         <div aria-hidden="true" class="user-title pull-left hidden-xs hidden-sm hidden-md">
162                                                                                 <strong>{{$userinfo.name}}</strong><br>
163                                                                                 {{if $nav.remote}}<span class="trunctate">{{$nav.remote}}</span>{{/if}}
164                                                                         </div>
165
166                                                                         <img id="avatar" src="{{$userinfo.icon}}" alt="{{$userinfo.name}}">
167                                                                         <span class="caret"></span>
168                                                                 </button>
169
170                                                                 {{* The list of available usermenu links *}}
171                                                                 <ul id="nav-user-menu" class="dropdown-menu pull-right menu-popup" role="menu"
172                                                                         aria-labelledby="main-menu">
173                                                                         {{if $nav.remote}}
174                                                                                 {{if $nav.sitename}}
175                                                                                         <li id="nav-sitename" role="menuitem">{{$nav.sitename}}</li>
176                                                                                         <li role="presentation" class="divider"></li>
177                                                                                 {{/if}}
178                                                                         {{/if}}
179                                                                         {{foreach $nav.usermenu as $usermenu}}
180                                                                                 <li role="presentation">
181                                                                                         <a role="menuitem" class="{{$usermenu.2}}" href="{{$usermenu.0}}"
182                                                                                                 title="{{$usermenu.3}}">
183                                                                                                 {{$usermenu.1}}
184                                                                                         </a>
185                                                                                 </li>
186                                                                         {{/foreach}}
187                                                                         <li role="presentation" class="divider"></li>
188                                                                         {{if $nav.notifications}}
189                                                                                 <li role="presentation">
190                                                                                         <a role="menuitem" href="{{$nav.notifications.all.0}}" title="{{$nav.notifications.1}}">
191                                                                                                 <i class="fa fa-bell fa-fw" aria-hidden="true"></i>
192                                                                                                 {{$nav.notifications.1}}
193                                                                                         </a>
194                                                                                 </li>
195                                                                         {{/if}}
196                                                                         {{if $nav.messages}}
197                                                                                 <li role="presentation"><a role="menuitem"
198                                                                                                 class="nav-commlink {{$nav.messages.2}} {{$sel.messages}}"
199                                                                                                 href="{{$nav.messages.0}}" title="{{$nav.messages.3}}">
200                                                                                                 <i class="fa fa-envelope fa-fw" aria-hidden="true"></i>
201                                                                                                 {{$nav.messages.1}} <span id="mail-update-li"
202                                                                                                         class="nav-mail-badge badge nav-notification"></span>
203                                                                                         </a>
204                                                                                 </li>
205                                                                         {{/if}}
206                                                                         <li role="presentation" class="divider"></li>
207                                                                         {{if $nav.contacts}}
208                                                                                 <li role="presentation"><a role="menuitem" id="nav-menu-contacts-link"
209                                                                                                 class="nav-link {{$nav.contacts.2}}" href="{{$nav.contacts.0}}"
210                                                                                                 title="{{$nav.contacts.3}}">
211                                                                                                 <i class="fa fa-users fa-fw" aria-hidden="true"></i>
212                                                                                                 {{$nav.contacts.1}}
213                                                                                         </a>
214                                                                                 </li>
215                                                                         {{/if}}
216                                                                         {{if $nav.delegation}}
217                                                                                 <li role="presentation">
218                                                                                         <a role="menuitem" id="nav-delegation-link"
219                                                                                                 class="nav-commlink {{$nav.delegation.2}} {{$sel.delegation}}"
220                                                                                                 href="{{$nav.delegation.0}}" title="{{$nav.delegation.3}}">
221                                                                                                 <i class="fa fa-flag fa-fw" aria-hidden="true"></i> {{$nav.delegation.1}}
222                                                                                         </a>
223                                                                                 </li>
224                                                                         {{/if}}
225                                                                         <li role="presentation">
226                                                                                 <a role="menuitem" id="nav-directory-link" class="nav-link {{$nav.directory.2}}"
227                                                                                         href="{{$nav.directory.0}}" title="{{$nav.directory.3}}">
228                                                                                         <i class="fa fa-sitemap fa-fw" aria-hidden="true"></i>{{$nav.directory.1}}
229                                                                                 </a>
230                                                                         </li>
231                                                                         <li role="presentation" class="divider"></li>
232                                                                         {{if $nav.apps}}
233                                                                                 <li role="presentation">
234                                                                                         <a role="menuitem" id="nav-apps-link" class="nav-link {{$nav.apps.2}}"
235                                                                                                 href="{{$nav.apps.0}}" title="{{$nav.apps.3}}">
236                                                                                                 <i class="fa fa-puzzle-piece fa-fw" aria-hidden="true"></i> {{$nav.apps.1}}
237                                                                                         </a>
238                                                                                 <li role="presentation" class="divider"></li>
239                                                                         {{/if}}
240                                                                         {{if $nav.help}}
241                                                                                 <li role="presentation">
242                                                                                         <a role="menuitem" id="nav-help-link" class="nav-link {{$nav.help.2}}"
243                                                                                                 href="{{$nav.help.0}}" title="{{$nav.help.3}}">
244                                                                                                 <i class="fa fa-question-circle fa-fw" aria-hidden="true"></i> {{$nav.help.1}}
245                                                                                         </a>
246                                                                                 </li>
247                                                                         {{/if}}
248                                                                         {{if $nav.settings}}
249                                                                                 <li role="presentation">
250                                                                                         <a role="menuitem" id="nav-settings-link" class="nav-link {{$nav.settings.2}}"
251                                                                                                 href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">
252                                                                                                 <i class="fa fa-cog fa-fw" aria-hidden="true"></i> {{$nav.settings.1}}
253                                                                                         </a>
254                                                                                 </li>
255                                                                         {{/if}}
256                                                                         {{if $nav.admin}}
257                                                                                 <li role="presentation"><a accesskey="a" role="menuitem" id="nav-admin-link"
258                                                                                                 class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}"
259                                                                                                 title="{{$nav.admin.3}}"><i class="fa fa-user-secret fa-fw" aria-hidden="true"></i>
260                                                                                                 {{$nav.admin.1}}</a></li>
261                                                                         {{/if}}
262                                                                         {{if $nav.tos}}
263                                                                                 <li role="presentation" class="divider"></li>
264                                                                                 <li role="presentation"><a role="menuitem" id="nav-tos-link" class="nav-link {{$nav.tos.2}}"
265                                                                                                 href="{{$nav.tos.0}}" title="{{$nav.tos.3}}"><i class="fa fa-file-text"
266                                                                                                         aria-hidden="true"></i> {{$nav.tos.1}}</a></li>
267                                                                         {{/if}}
268                                                                         <li role="presentation" class="divider"></li>
269                                                                         {{if $nav.logout}}
270                                                                                 <li role="presentation"><a role="menuitem" id="nav-logout-link"
271                                                                                                 class="nav-link {{$nav.logout.2}}" href="{{$nav.logout.0}}"
272                                                                                                 title="{{$nav.logout.3}}"><i class="fa fa fa-sign-out fa-fw" aria-hidden="true"></i>
273                                                                                                 {{$nav.logout.1}}</a></li>
274                                                                         {{else}}
275                                                                                 <li role="presentation"><a role="menuitem" id="nav-login-link"
276                                                                                                 class="nav-login-link {{$nav.login.2}}" href="{{$nav.login.0}}"
277                                                                                                 title="{{$nav.login.3}}"><i class="fa fa-power-off fa-fw" aria-hidden="true"></i>
278                                                                                                 {{$nav.login.1}}</a></li>
279                                                                         {{/if}}
280                                                                 </ul>
281                                                         </li>{{* End of userinfo dropdown menu *}}
282                                                 {{/if}}
283
284                                                 <!-- Language selector, I do not find it relevant, activate if necessary.
285                                                 <li>{{$langselector}}</li>
286                                                 -->
287                                         </ul>
288                                 </div>{{* End of right navbar *}}
289
290                                 {{* The usermenu dropdown for the mobile view. Offcanvas on the right side of the screen.
291                                         It is called via the buttons. Have a look at the top of this file *}}
292                                 <div class="offcanvas-right-overlay visible-xs-block"></div>
293                                 <div id="offcanvasUsermenu" class="offcanvas-right visible-xs-block">
294                                         <div class="nav-container">
295                                                 <ul role="menu" class="list-group">
296                                                         {{if $nav.remote}}
297                                                                 {{if $nav.sitename}}
298                                                                         <li role="menuitem" class="nav-sitename list-group-item">{{$nav.sitename}}</li>
299                                                                 {{/if}}
300                                                         {{/if}}
301                                                         <li role="presentation" class="list-group-item">
302                                                                 <img src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"
303                                                                         style="max-width:15px; max-height:15px; min-width:15px; min-height:15px; width:15px; height:15px;">
304                                                                 {{$userinfo.name}}{{if $nav.remote}} ({{$nav.remote}}){{/if}}
305                                                         </li>
306                                                         {{foreach $nav.usermenu as $usermenu}}
307                                                                 <li role="menuitem" class="list-group-item"><a role="menuitem" class="{{$usermenu.2}}"
308                                                                                 href="{{$usermenu.0}}" title="{{$usermenu.3}}">{{$usermenu.1}}</a></li>
309                                                         {{/foreach}}
310                                                         {{if $nav.notifications || $nav.contacts || $nav.messages || $nav.delegation}}
311                                                                 <li role="presentation" class="divider"></li>
312                                                         {{/if}}
313                                                         {{if $nav.notifications}}
314                                                                 <li role="presentation" class="list-group-item"><a role="menuitem"
315                                                                                 href="{{$nav.notifications.all.0}}" title="{{$nav.notifications.1}}"><i
316                                                                                         class="fa fa-bell fa-fw" aria-hidden="true"></i> {{$nav.notifications.1}}</a>
317                                                                 </li>
318                                                         {{/if}}
319                                                         {{if $nav.contacts}}
320                                                                 <li role="presentation" class="list-group-item"><a role="menuitem"
321                                                                                 class="nav-link {{$nav.contacts.2}}" href="{{$nav.contacts.0}}"
322                                                                                 title="{{$nav.contacts.3}}"><i class="fa fa-users fa-fw" aria-hidden="true"></i>
323                                                                                 {{$nav.contacts.1}}</a></li>
324                                                         {{/if}}
325                                                         {{if $nav.messages}}
326                                                                 <li role="presentation" class="list-group-item"><a role="menuitem"
327                                                                                 class="nav-link {{$nav.messages.2}} {{$sel.messages}}" href="{{$nav.messages.0}}"
328                                                                                 title="{{$nav.messages.3}}"><i class="fa fa-envelope fa-fw" aria-hidden="true"></i>
329                                                                                 {{$nav.messages.1}}</a></li>
330                                                         {{/if}}
331                                                         {{if $nav.delegation}}
332                                                                 <li role="presentation" class="list-group-item"><a role="menuitem"
333                                                                                 class="nav-commlink {{$nav.delegation.2}} {{$sel.delegation}}"
334                                                                                 href="{{$nav.delegation.0}}" title="{{$nav.delegation.3}}"><i class="fa fa-flag fa-fw"
335                                                                                         aria-hidden="true"></i> {{$nav.delegation.1}}</a></li>
336                                                         {{/if}}
337                                                         {{if $nav.settings || $nav.admin || $nav.logout}}
338                                                                 <li role="presentation" class="divider"></li>
339                                                         {{/if}}
340                                                         {{if $nav.settings}}
341                                                                 <li role="presentation" class="list-group-item">
342                                                                         <a role="menuitem" class="nav-link {{$nav.settings.2}}" href="{{$nav.settings.0}}"
343                                                                                 title="{{$nav.settings.3}}"><i class="fa fa-cog fa-fw" aria-hidden="true"></i>
344                                                                                 {{$nav.settings.1}}</a>
345                                                                 </li>
346                                                         {{/if}}
347                                                         {{if $nav.admin}}
348                                                                 <li role="presentation" class="list-group-item"><a role="menuitem"
349                                                                                 class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}"><i
350                                                                                         class="fa fa-user-secret fa-fw" aria-hidden="true"></i>
351                                                                                 {{$nav.admin.1}}</a></li>
352                                                         {{/if}}
353                                                         {{if $nav.logout}}
354                                                                 <li role="presentation" class="list-group-item"><a role="menuitem"
355                                                                                 class="nav-link {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}"><i
356                                                                                         class="fa fa fa-sign-out fa-fw" aria-hidden="true"></i>
357                                                                                 {{$nav.logout.1}}</a></li>
358                                                         {{else}}
359                                                                 <li role="presentation" class="list-group-item"><a role="menuitem"
360                                                                                 class="nav-login-link {{$nav.login.2}}" href="{{$nav.login.0}}"
361                                                                                 title="{{$nav.login.3}}"><i class="fa fa-power-off fa-fw" aria-hidden="true"></i>
362                                                                                 {{$nav.login.1}}</a></li>
363                                                         {{/if}}
364                                                 </ul>
365                                         </div>
366                                 </div>
367                                 <!--/.sidebar-offcanvas-->
368                         </div><!-- end of div for navbar width-->
369                 </div><!-- /.container -->
370         </nav><!-- /.navbar -->
371 {{else}}
372         {{* The navbar for users which are not logged in *}}
373         <nav class="navbar navbar-fixed-top">
374                 <div class="container">
375                         <div class="navbar-header pull-left">
376                                 <a class="navbar-brand" href="#">
377                                         <div id="navbrand-container">
378                                                 <div id="logo-img"></div>
379                                                 <div id="navbar-brand-text"> Friendica</div>
380                                         </div>
381                                 </a>
382                         </div>
383                         <div class="pull-right">
384                                 <ul class="nav navbar-nav navbar-right">
385                                         <li role="presentation">
386                                                 <a href="login?mode=none" id="nav-login" data-toggle="tooltip" aria-label="{{$nav.login.3}}"
387                                                         title="{{$nav.login.3}}">
388                                                         <i class="fa fa-sign-in fa-fw" aria-hidden="true"></i>
389                                                 </a>
390                                         </li>
391                                         <li role="presentation">
392                                                 <a href="{{$nav.about.0}}" id="nav-about" data-toggle="tooltip" aria-label="{{$nav.about.3}}"
393                                                         title="{{$nav.about.3}}">
394                                                         <i class="fa fa-info fa-fw" aria-hidden="true"></i>
395                                                 </a>
396                                         </li>
397                                 </ul>
398                         </div>
399                 </div>
400         </nav>
401 {{/if}}
402
403 {{* provide a a search input for mobile view, which expands by pressing the search icon *}}
404 <div id="search-mobile" class="hidden-lg hidden-md hidden-sm collapse row well">
405         <div class="col-xs-12">
406                 <form class="navbar-form" role="search" method="get" action="{{$nav.search.0}}">
407                         <div class="form-group form-group-search">
408                                 <input id="nav-search-input-field-mobile" class="form-control form-search" type="text" name="q"
409                                         data-toggle="tooltip" title="{{$search_hint}}" placeholder="{{$nav.search.1}}">
410                                 <button class="btn btn-default btn-sm form-button-search" type="submit">{{$nav.search.1}}</button>
411                         </div>
412                 </form>
413         </div>
414 </div>
415
416 {{* The second navbar which contains nav points of the actual page - (nav points are actual handled by this theme throug js *}}
417 <div id="topbar-second" class="topbar">
418         <div class="container">
419                 <div class="col-lg-3 col-md-3 hidden-sm hidden-xs" id="nav-short-info"></div>
420                 <div class="col-lg-7 col-md-7 col-sm-11 col-xs-10" id="tabmenu"></div>
421                 <div class="col-lg-2 col-md-2 col-sm-1 col-xs-2" id="navbar-button"></div>
422         </div>
423 </div>
424
425 {{*The second part of the notifications dropdown menu. It handles the notifications *}}
426 {{if $nav.notifications}}
427         <ul id="nav-notifications-template" class="media-list" style="display:none;" rel="template">
428                 <li class="{4} notif-entry">
429                         <div class="notif-entry-wrapper media">
430                                 <div class="notif-photo-wrapper media-object pull-left" aria-hidden="true"><a href="{6}"
431                                                 class="userinfo click-card" tabIndex="-1"><img data-src="{1}"></a></div>
432                                 <a href="{0}" class="notif-desc-wrapper media-body">
433                                         {2}
434                                         <div><time class="notif-when time" data-toggle="tooltip" title="{5}">{3}</time></div>
435                                 </a>
436                         </div>
437                 </li>
438         </ul>
439 {{/if}}
440
441 {{* This is the mask of the firefox logo. We set the background of #logo-img to the user icon color and apply this mask to it
442 The result is a friendica logo in the user icon color.*}}
443 <svg id="friendica-logo-mask" x="0px" y="0px" width="0px" height="0px" viewBox="0 0 250 250">
444         <defs>
445                 <mask id="logo-mask" maskUnits="objectBoundingBox" maskContentUnits="objectBoundingBox">
446                         <path style="fill-rule:evenodd;clip-rule:evenodd;fill:#ffffff;"
447                                 d="M0.796,0L0.172,0.004C0.068,0.008,0.008,0.068,0,0.172V0.824c0,0.076,0.06,0.16,0.168,0.172h0.652c0.072,0,0.148-0.06,0.172-0.144V0.14C1,0.06,0.908,0,0.796,0zM0.812,0.968H0.36v-0.224h0.312v-0.24H0.36V0.3h0.316l0-0.264l0.116-0c0.088,0,0.164,0.044,0.164,0.096l0,0.696C0.96,0.912,0.876,0.968,0.812,0.968z">
448                         </path>
449                 </mask>
450         </defs>
451 </svg>