]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/nav.tpl
Update translation fie after adding a string
[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-notifications-mark-all". Without it this isn't visible. ....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">
198                                                                                         <a role="menuitem"
199                                                                                                 class="nav-commlink {{$nav.messages.2}} {{$sel.messages}}"
200                                                                                                 href="{{$nav.messages.0}}" title="{{$nav.messages.3}}">
201                                                                                                 <i class="fa fa-envelope fa-fw" aria-hidden="true"></i>
202                                                                                                 {{$nav.messages.1}} <span id="mail-update-li"
203                                                                                                         class="nav-mail-badge badge nav-notification"></span>
204                                                                                         </a>
205                                                                                 </li>
206                                                                         {{/if}}
207                                                                         <li role="presentation" class="divider"></li>
208                                                                         {{if $nav.contacts}}
209                                                                                 <li role="presentation">
210                                                                                         <a role="menuitem" id="nav-menu-contacts-link"
211                                                                                                 class="nav-link {{$nav.contacts.2}}" href="{{$nav.contacts.0}}"
212                                                                                                 title="{{$nav.contacts.3}}">
213                                                                                                 <i class="fa fa-users fa-fw" aria-hidden="true"></i>
214                                                                                                 {{$nav.contacts.1}}
215                                                                                         </a>
216                                                                                 </li>
217                                                                         {{/if}}
218                                                                         {{if $nav.delegation}}
219                                                                                 <li role="presentation">
220                                                                                         <a role="menuitem" id="nav-delegation-link"
221                                                                                                 class="nav-commlink {{$nav.delegation.2}} {{$sel.delegation}}"
222                                                                                                 href="{{$nav.delegation.0}}" title="{{$nav.delegation.3}}">
223                                                                                                 <i class="fa fa-flag fa-fw" aria-hidden="true"></i> {{$nav.delegation.1}}
224                                                                                         </a>
225                                                                                 </li>
226                                                                         {{/if}}
227                                                                         <li role="presentation">
228                                                                                 <a role="menuitem" id="nav-directory-link" class="nav-link {{$nav.directory.2}}"
229                                                                                         href="{{$nav.directory.0}}" title="{{$nav.directory.3}}">
230                                                                                         <i class="fa fa-sitemap fa-fw" aria-hidden="true"></i>{{$nav.directory.1}}
231                                                                                 </a>
232                                                                         </li>
233                                                                         <li role="presentation" class="divider"></li>
234                                                                         {{if $nav.apps}}
235                                                                                 <li role="presentation">
236                                                                                         <a role="menuitem" id="nav-apps-link" class="nav-link {{$nav.apps.2}}"
237                                                                                                 href="{{$nav.apps.0}}" title="{{$nav.apps.3}}">
238                                                                                                 <i class="fa fa-puzzle-piece fa-fw" aria-hidden="true"></i> {{$nav.apps.1}}
239                                                                                         </a>
240                                                                                 </li>
241                                                                                 <li role="presentation" class="divider"></li>
242                                                                         {{/if}}
243                                                                         {{if $nav.help}}
244                                                                                 <li role="presentation">
245                                                                                         <a role="menuitem" id="nav-help-link" class="nav-link {{$nav.help.2}}"
246                                                                                                 href="{{$nav.help.0}}" title="{{$nav.help.3}}">
247                                                                                                 <i class="fa fa-question-circle fa-fw" aria-hidden="true"></i> {{$nav.help.1}}
248                                                                                         </a>
249                                                                                 </li>
250                                                                         {{/if}}
251                                                                         {{if $nav.settings}}
252                                                                                 <li role="presentation">
253                                                                                         <a role="menuitem" id="nav-settings-link" class="nav-link {{$nav.settings.2}}"
254                                                                                                 href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">
255                                                                                                 <i class="fa fa-cog fa-fw" aria-hidden="true"></i> {{$nav.settings.1}}
256                                                                                         </a>
257                                                                                 </li>
258                                                                         {{/if}}
259                                                                         {{if $nav.admin}}
260                                                                                 <li role="presentation">
261                                                                                         <a accesskey="a" role="menuitem" id="nav-admin-link"
262                                                                                                 class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}"
263                                                                                                 title="{{$nav.admin.3}}"><i class="fa fa-user-secret fa-fw" aria-hidden="true"></i>
264                                                                                                 {{$nav.admin.1}}
265                                                                                         </a>
266                                                                                 </li>
267                                                                         {{/if}}
268                                                                         {{if $nav.tos}}
269                                                                                 <li role="presentation" class="divider"></li>
270                                                                                 <li role="presentation">
271                                                                                         <a role="menuitem" id="nav-tos-link" class="nav-link {{$nav.tos.2}}"
272                                                                                                 href="{{$nav.tos.0}}" title="{{$nav.tos.3}}"><i class="fa fa-file-text"
273                                                                                                         aria-hidden="true"></i> {{$nav.tos.1}}
274                                                                                         </a>
275                                                                                 </li>
276                                                                         {{/if}}
277                                                                         <li role="presentation" class="divider"></li>
278                                                                         {{if $nav.logout}}
279                                                                                 <li role="presentation">
280                                                                                         <a role="menuitem" id="nav-logout-link"
281                                                                                                 class="nav-link {{$nav.logout.2}}" href="{{$nav.logout.0}}"
282                                                                                                 title="{{$nav.logout.3}}"><i class="fa fa fa-sign-out fa-fw" aria-hidden="true"></i>
283                                                                                                 {{$nav.logout.1}}
284                                                                                         </a>
285                                                                                 </li>
286                                                                         {{else}}
287                                                                                 <li role="presentation">
288                                                                                         <a role="menuitem" id="nav-login-link"
289                                                                                                 class="nav-login-link {{$nav.login.2}}" href="{{$nav.login.0}}"
290                                                                                                 title="{{$nav.login.3}}"><i class="fa fa-power-off fa-fw" aria-hidden="true"></i>
291                                                                                                 {{$nav.login.1}}
292                                                                                         </a>
293                                                                                 </li>
294                                                                         {{/if}}
295                                                                 </ul>
296                                                         </li>{{* End of userinfo dropdown menu *}}
297                                                 {{/if}}
298
299                                                 <!-- Language selector, I do not find it relevant, activate if necessary.
300                                                 <li>{{$langselector}}</li>
301                                                 -->
302                                         </ul>
303                                 </div>{{* End of right navbar *}}
304
305                                 {{* The usermenu dropdown for the mobile view. Offcanvas on the right side of the screen.
306                                         It is called via the buttons. Have a look at the top of this file *}}
307                                 <div class="offcanvas-right-overlay visible-xs-block"></div>
308                                 <div id="offcanvasUsermenu" class="offcanvas-right visible-xs-block">
309                                         <div class="nav-container">
310                                                 <ul role="menu" class="list-group">
311                                                         {{if $nav.remote}}
312                                                                 {{if $nav.sitename}}
313                                                                         <li role="menuitem" class="nav-sitename list-group-item">{{$nav.sitename}}</li>
314                                                                 {{/if}}
315                                                         {{/if}}
316                                                         <li role="presentation" class="list-group-item">
317                                                                 <img src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"
318                                                                         style="max-width:15px; max-height:15px; min-width:15px; min-height:15px; width:15px; height:15px;">
319                                                                 {{$userinfo.name}}{{if $nav.remote}} ({{$nav.remote}}){{/if}}
320                                                         </li>
321                                                         {{foreach $nav.usermenu as $usermenu}}
322                                                                 <li role="presentation" class="list-group-item">
323                                                                         <a role="menuitem" class="{{$usermenu.2}}"
324                                                                                 href="{{$usermenu.0}}" title="{{$usermenu.3}}">{{$usermenu.1}}
325                                                                         </a>
326                                                                 </li>
327                                                         {{/foreach}}
328                                                         {{if $nav.notifications || $nav.contacts || $nav.messages || $nav.delegation}}
329                                                                 <li role="presentation" class="divider"></li>
330                                                         {{/if}}
331                                                         {{if $nav.notifications}}
332                                                                 <li role="presentation" class="list-group-item">
333                                                                         <a role="menuitem"
334                                                                                 href="{{$nav.notifications.all.0}}" title="{{$nav.notifications.1}}"><i
335                                                                                         class="fa fa-bell fa-fw" aria-hidden="true"></i> {{$nav.notifications.1}}
336                                                                         </a>
337                                                                 </li>
338                                                         {{/if}}
339                                                         {{if $nav.contacts}}
340                                                                 <li role="presentation" class="list-group-item">
341                                                                         <a role="menuitem"
342                                                                                 class="nav-link {{$nav.contacts.2}}" href="{{$nav.contacts.0}}"
343                                                                                 title="{{$nav.contacts.3}}"><i class="fa fa-users fa-fw" aria-hidden="true"></i>
344                                                                                 {{$nav.contacts.1}}
345                                                                         </a>
346                                                                 </li>
347                                                         {{/if}}
348                                                         {{if $nav.messages}}
349                                                                 <li role="presentation" class="list-group-item">
350                                                                         <a role="menuitem"
351                                                                                 class="nav-link {{$nav.messages.2}} {{$sel.messages}}" href="{{$nav.messages.0}}"
352                                                                                 title="{{$nav.messages.3}}"><i class="fa fa-envelope fa-fw" aria-hidden="true"></i>
353                                                                                 {{$nav.messages.1}}
354                                                                         </a>
355                                                                 </li>
356                                                         {{/if}}
357                                                         {{if $nav.delegation}}
358                                                                 <li role="presentation" class="list-group-item">
359                                                                         <a role="menuitem"
360                                                                                 class="nav-commlink {{$nav.delegation.2}} {{$sel.delegation}}"
361                                                                                 href="{{$nav.delegation.0}}" title="{{$nav.delegation.3}}"><i class="fa fa-flag fa-fw"
362                                                                                         aria-hidden="true"></i> {{$nav.delegation.1}}
363                                                                         </a>
364                                                                 </li>
365                                                         {{/if}}
366                                                         {{if $nav.settings || $nav.admin || $nav.logout}}
367                                                                 <li role="presentation" class="divider"></li>
368                                                         {{/if}}
369                                                         {{if $nav.settings}}
370                                                                 <li role="presentation" class="list-group-item">
371                                                                         <a role="menuitem" class="nav-link {{$nav.settings.2}}" href="{{$nav.settings.0}}"
372                                                                                 title="{{$nav.settings.3}}"><i class="fa fa-cog fa-fw" aria-hidden="true"></i>
373                                                                                 {{$nav.settings.1}}
374                                                                         </a>
375                                                                 </li>
376                                                         {{/if}}
377                                                         {{if $nav.admin}}
378                                                                 <li role="presentation" class="list-group-item">
379                                                                         <a role="menuitem"
380                                                                                 class="nav-link {{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}"><i
381                                                                                         class="fa fa-user-secret fa-fw" aria-hidden="true"></i>
382                                                                                 {{$nav.admin.1}}
383                                                                         </a>
384                                                                 </li>
385                                                         {{/if}}
386                                                         {{if $nav.logout}}
387                                                                 <li role="presentation" class="list-group-item">
388                                                                         <a role="menuitem"
389                                                                                 class="nav-link {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}"><i
390                                                                                         class="fa fa fa-sign-out fa-fw" aria-hidden="true"></i>
391                                                                                 {{$nav.logout.1}}
392                                                                         </a>
393                                                                 </li>
394                                                         {{else}}
395                                                                 <li role="presentation" class="list-group-item">
396                                                                         <a role="menuitem"
397                                                                                 class="nav-login-link {{$nav.login.2}}" href="{{$nav.login.0}}"
398                                                                                 title="{{$nav.login.3}}"><i class="fa fa-power-off fa-fw" aria-hidden="true"></i>
399                                                                                 {{$nav.login.1}}
400                                                                         </a>
401                                                                 </li>
402                                                         {{/if}}
403                                                 </ul>
404                                         </div>
405                                 </div>
406                                 <!--/.sidebar-offcanvas-->
407                         </div><!-- end of div for navbar width-->
408                 </div><!-- /.container -->
409         </nav><!-- /.navbar -->
410 {{else}}
411         {{* The navbar for users which are not logged in *}}
412         <nav class="navbar navbar-fixed-top">
413                 <div class="container">
414                         <div class="navbar-header pull-left">
415                                 <a class="navbar-brand" href="#">
416                                         <div id="navbrand-container">
417                                                 <div id="logo-img"></div>
418                                                 <div id="navbar-brand-text"> Friendica</div>
419                                         </div>
420                                 </a>
421                         </div>
422                         <div class="pull-right">
423                                 <ul class="nav navbar-nav navbar-right">
424                                         <li role="presentation">
425                                                 <a href="login?mode=none" id="nav-login" data-toggle="tooltip" aria-label="{{$nav.login.3}}"
426                                                         title="{{$nav.login.3}}">
427                                                         <i class="fa fa-sign-in fa-fw" aria-hidden="true"></i>
428                                                 </a>
429                                         </li>
430                                         <li role="presentation">
431                                                 <a href="{{$nav.about.0}}" id="nav-about" data-toggle="tooltip" aria-label="{{$nav.about.3}}"
432                                                         title="{{$nav.about.3}}">
433                                                         <i class="fa fa-info fa-fw" aria-hidden="true"></i>
434                                                 </a>
435                                         </li>
436                                 </ul>
437                         </div>
438                 </div>
439         </nav>
440 {{/if}}
441
442 {{* provide a a search input for mobile view, which expands by pressing the search icon *}}
443 <div id="search-mobile" class="hidden-lg hidden-md hidden-sm collapse row well">
444         <div class="col-xs-12">
445                 <form class="navbar-form" role="search" method="get" action="{{$nav.search.0}}">
446                         <div class="form-group form-group-search">
447                                 <input id="nav-search-input-field-mobile" class="form-control form-search" type="text" name="q"
448                                         data-toggle="tooltip" title="{{$search_hint}}" placeholder="{{$nav.search.1}}">
449                                 <button class="btn btn-default btn-sm form-button-search" type="submit">{{$nav.search.1}}</button>
450                         </div>
451                 </form>
452         </div>
453 </div>
454
455 {{* The second navbar which contains nav points of the actual page - (nav points are actual handled by this theme throug js *}}
456 <div id="topbar-second" class="topbar">
457         <div class="container">
458                 <div class="col-lg-3 col-md-3 hidden-sm hidden-xs" id="nav-short-info"></div>
459                 <div class="col-lg-7 col-md-7 col-sm-11 col-xs-10" id="tabmenu"></div>
460                 <div class="col-lg-2 col-md-2 col-sm-1 col-xs-2" id="navbar-button"></div>
461         </div>
462 </div>
463
464 {{*The second part of the notifications dropdown menu. It handles the notifications *}}
465 {{if $nav.notifications}}
466         <ul id="nav-notifications-template" class="media-list" style="display:none;" rel="template">
467                 <li class="{4} notif-entry">
468                         <div class="notif-entry-wrapper media">
469                                 <div class="notif-photo-wrapper media-object pull-left" aria-hidden="true"><a href="{6}"
470                                                 class="userinfo click-card" tabIndex="-1"><img data-src="{1}"></a></div>
471                                 <a href="{0}" class="notif-desc-wrapper media-body">
472                                         {2}
473                                         <div><time class="notif-when time" data-toggle="tooltip" title="{5}">{3}</time></div>
474                                 </a>
475                         </div>
476                 </li>
477         </ul>
478 {{/if}}
479
480 {{* 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
481 The result is a friendica logo in the user icon color.*}}
482 <svg id="friendica-logo-mask" x="0px" y="0px" width="0px" height="0px" viewBox="0 0 250 250">
483         <defs>
484                 <mask id="logo-mask" maskUnits="objectBoundingBox" maskContentUnits="objectBoundingBox">
485                         <path style="fill-rule:evenodd;clip-rule:evenodd;fill:#ffffff;"
486                                 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">
487                         </path>
488                 </mask>
489         </defs>
490 </svg>