You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

202 lines
7.4 KiB
Smarty

10 years ago
<div class="navbar-header">
10 years ago
<button type="button" class="navbar-toggle" data-toggle="slide-in" data-target=".navbar-slide-in">
10 years ago
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="{relative_path}/">
<img class="{brand:logo:display} forum-logo" src="{brand:logo}" />
</a>
<!-- IF showSiteTitle -->
<a href="{relative_path}/">
<h1 class="navbar-brand forum-title">{title}</h1>
</a>
<!-- ENDIF showSiteTitle -->
<div component="navbar/title" class="visible-xs">
<span></span>
10 years ago
</div>
</div>
10 years ago
<div class="navbar-slide-in" id="nav-dropdown">
10 years ago
<!-- IF !maintenanceHeader -->
<ul id="main-nav" class="nav navbar-nav">
10 years ago
<!-- BEGIN navigation -->
<!-- IF function.displayMenuItem, @index -->
<li class="{navigation.class}">
<a href="{relative_path}{navigation.route}" title="{navigation.title}" id="{navigation.id}" target="{navigation.properties.target}">
<!-- IF navigation.iconClass -->
<i class="fa fa-fw {navigation.iconClass}"></i>
<!-- ENDIF navigation.iconClass -->
<!-- IF navigation.text -->
<span class="{navigation.textClass}">{navigation.text}</span>
<!-- ENDIF navigation.text -->
</a>
</li>
<!-- ENDIF function.displayMenuItem -->
<!-- END navigation -->
</ul>
<!-- IF loggedIn -->
<ul id="logged-in-menu" class="nav navbar-nav navbar-right">
10 years ago
<li class="notifications dropdown text-center hidden-xs">
<a href="#" title="[[global:header.notifications]]" class="dropdown-toggle" data-toggle="dropdown" id="notif_dropdown">
<i class="notification-icon fa fa-fw fa-bell-o" data-content="0"></i>
</a>
<ul class="dropdown-menu" aria-labelledby="notif_dropdown">
<li>
<ul id="notif-list">
<li>
<a href="#"><i class="fa fa-refresh fa-spin"></i> [[global:notifications.loading]]</a>
</li>
</ul>
</li>
<li class="notif-dropdown-link"><a href="#" class="mark-all-read">[[notifications:mark_all_read]]</a></li>
<li class="notif-dropdown-link"><a href="{relative_path}/notifications">[[notifications:see_all]]</a></li>
</ul>
</li>
<li class="visible-xs">
<a href="{relative_path}/notifications" title="[[notifications:title]]">
<i class="notification-icon fa fa-bell-o fa-fw" data-content="0"></i> [[notifications:title]]
</a>
</li>
<!-- IF !disableChat -->
<li class="chats dropdown hidden-xs">
10 years ago
<a class="dropdown-toggle" data-toggle="dropdown" href="#" title="[[global:header.chats]]" id="chat_dropdown">
<i component="chat/icon" class="fa fa-comment-o fa-fw"></i> <span class="visible-xs-inline">[[global:header.chats]]</span>
10 years ago
</a>
<ul class="dropdown-menu" aria-labelledby="chat_dropdown">
<li>
<ul id="chat-list">
<li>
<a href="#"><i class="fa fa-refresh fa-spin"></i> [[global:chats.loading]]</a>
</li>
</ul>
</li>
<li class="notif-dropdown-link"><a href="{relative_path}/chats">[[modules:chat.see_all]]</a></li>
</ul>
</li>
<li class="visible-xs">
<a href="{relative_path}/chats" id="chat_dropdown">
<i component="chat/icon" class="fa fa-comment-o fa-fw"></i> <span class="visible-xs-inline">[[global:header.chats]]</span>
</a>
</li>
10 years ago
<!-- ENDIF !disableChat -->
<li id="user_label" class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#" id="user_dropdown" title="[[global:header.profile]]">
<img id="user-header-picture" src="{user.picture}"/>
</a>
<ul id="user-control-list" class="dropdown-menu" aria-labelledby="user_dropdown">
<li>
<a id="user-profile-link" href="{relative_path}/user/{user.userslug}">
<i class="fa fa-fw fa-circle status {user.status}"></i> <span id="user-header-name">{user.username}</span>
</a>
</li>
<li role="presentation" class="divider"></li>
<li>
<a href="#" class="user-status" data-status="online">
<i class="fa fa-fw fa-circle status online"></i><span> [[global:online]]</span>
</a>
</li>
<li>
<a href="#" class="user-status" data-status="away">
<i class="fa fa-fw fa-circle status away"></i><span> [[global:away]]</span>
</a>
</li>
<li>
<a href="#" class="user-status" data-status="dnd">
<i class="fa fa-fw fa-circle status dnd"></i><span> [[global:dnd]]</span>
</a>
</li>
<li>
<a href="#" class="user-status" data-status="offline">
<i class="fa fa-fw fa-circle status offline"></i><span> [[global:invisible]]</span>
</a>
</li>
<li role="presentation" class="divider"></li>
<li id="logout-link">
<a href="#"><i class="fa fa-fw fa-sign-out"></i><span> [[global:logout]]</span></a>
</li>
</ul>
</li>
</ul>
<!-- ELSE -->
<ul id="logged-out-menu" class="nav navbar-nav navbar-right">
10 years ago
<!-- IF allowRegistration -->
<li>
<a href="{relative_path}/register">
<i class="fa fa-pencil visible-xs-inline"></i>
<span>[[global:register]]</span>
</a>
</li>
<!-- ENDIF allowRegistration -->
<li>
<a href="{relative_path}/login">
<i class="fa fa-sign-in visible-xs-inline"></i>
<span>[[global:login]]</span>
</a>
</li>
</ul>
<!-- ENDIF loggedIn -->
<!-- IF searchEnabled -->
<ul class="nav navbar-nav navbar-right">
<li>
<form id="search-form" class="navbar-form navbar-right hidden-xs" role="search" method="GET" action="">
<div class="hide" id="search-fields">
<div class="form-group">
<input type="text" class="form-control" placeholder="[[global:search]]" name="query" value="">
</div>
<button type="submit" class="btn btn-default hide">[[global:search]]</button>
</div>
<button id="search-button" type="button" class="btn btn-link"><i class="fa fa-search fa-fw" title="[[global:header.search]]"></i></button>
</form>
</li>
</ul>
<!-- ENDIF searchEnabled -->
<ul class="nav navbar-nav navbar-right">
10 years ago
<li>
<a href="#" id="reconnect" class="hide" title="Connection to {title} has been lost, attempting to reconnect...">
<i class="fa fa-check"></i>
</a>
</li>
</ul>
<ul class="nav navbar-nav navbar-right pagination-block hidden visible-lg visible-md">
<li class="dropdown">
<i class="fa fa-angle-double-up pointer fa-fw pagetop"></i>
<i class="fa fa-angle-up pointer fa-fw pageup"></i>
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<span id="pagination"></span>
</a>
<i class="fa fa-angle-down pointer fa-fw pagedown"></i>
<i class="fa fa-angle-double-down pointer fa-fw pagebottom"></i>
<div class="progress-container">
<div class="progress-bar"></div>
</div>
<ul class="dropdown-menu" role="menu">
<input type="text" class="form-control" id="indexInput" placeholder="[[global:pagination.enter_index]]">
</ul>
</li>
</ul>
<!-- ELSE -->
<ul class="nav navbar-nav navbar-right">
10 years ago
<li>
<a href="{relative_path}/login">
<i class="fa fa-sign-in visible-xs-inline"></i>
<span>[[global:login]]</span>
</a>
</li>
</ul>
<!-- ENDIF !maintenanceHeader -->
</div>