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.
206 lines
8.6 KiB
Smarty
206 lines
8.6 KiB
Smarty
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>{browserTitle}</title>
|
|
<!-- BEGIN metaTags -->
|
|
<meta<!-- IF metaTags.name --> name="{metaTags.name}"<!-- ENDIF metaTags.name --><!-- IF metaTags.property --> property="{metaTags.property}"<!-- ENDIF metaTags.property --><!-- IF metaTags.content --> content="{metaTags.content}"<!-- ENDIF metaTags.content --> />
|
|
<!-- END metaTags -->
|
|
<link rel="stylesheet" href="{relative_path}/vendor/fontawesome/css/font-awesome.min.css">
|
|
<link rel="stylesheet" type="text/css" href="{relative_path}/css/theme.css?{cache-buster}" />
|
|
<!-- IF bootswatchCSS --><link href="{bootswatchCSS}" rel="stylesheet" media="screen"><!-- ENDIF bootswatchCSS -->
|
|
<!-- BEGIN linkTags -->
|
|
<link<!-- IF linkTags.link --> link="{linkTags.link}"<!-- ENDIF linkTags.link --><!-- IF linkTags.rel --> rel="{linkTags.rel}"<!-- ENDIF linkTags.rel --><!-- IF linkTags.type --> type="{linkTags.type}"<!-- ENDIF linkTags.type --><!-- IF linkTags.href --> href="{linkTags.href}"<!-- ENDIF linkTags.href --> />
|
|
<!-- END linkTags -->
|
|
<!-- BEGIN pluginCSS -->
|
|
<link rel="stylesheet" href="{pluginCSS.path}?{cache-buster}">
|
|
<!-- END pluginCSS -->
|
|
<script>
|
|
var RELATIVE_PATH = "{relative_path}";
|
|
</script>
|
|
<script src="{relative_path}/socket.io/socket.io.js"></script>
|
|
<!-- BEGIN clientScripts -->
|
|
<script src="{relative_path}/{clientScripts.script}?{cache-buster}"></script>
|
|
<!-- END clientScripts -->
|
|
<script>
|
|
require.config({
|
|
baseUrl: "{relative_path}/src/modules",
|
|
waitSeconds: 3,
|
|
urlArgs: "{cache-buster}",
|
|
paths: {
|
|
"forum": '../forum'
|
|
}
|
|
});
|
|
</script>
|
|
|
|
<!-- TODO : this has to be refactored, maybe configured from ACP? -baris -->
|
|
<link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
|
|
<!-- IF useCustomCSS -->
|
|
<style type="text/css">{customCSS}</style>
|
|
<!-- ENDIF useCustomCSS -->
|
|
</head>
|
|
|
|
<body>
|
|
<div class="navbar navbar-inverse navbar-fixed-top header" role="navigation" id="header-menu">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<div>
|
|
<a href="{relative_path}/">
|
|
<img class="{brand:logo:display} forum-logo" src="{brand:logo}" />
|
|
</a>
|
|
<a href="{relative_path}/">
|
|
<h1 class="navbar-brand forum-title">{title}</h1>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="navbar-collapse collapse navbar-ex1-collapse">
|
|
<ul id="main-nav" class="nav navbar-nav">
|
|
<li class="nodebb-loggedin">
|
|
<a href="{relative_path}/unread"><i id="unread-count" class="fa fa-fw fa-inbox" data-content="0" title="[[global:header.unread]]"></i><span class="visible-xs-inline"> [[global:header.unread]]</span></a>
|
|
</li>
|
|
<li>
|
|
<a href="{relative_path}/recent"><i class="fa fa-fw fa-clock-o" title="[[global:header.recent]]"></i><span class="visible-xs-inline"> [[global:header.recent]]</span></a>
|
|
</li>
|
|
<li>
|
|
<a href="{relative_path}/popular"><i class="fa fa-fw fa-fire" title="[[global:header.popular]]"></i><span class="visible-xs-inline"> [[global:header.popular]]</span></a>
|
|
</li>
|
|
<li>
|
|
<a href="{relative_path}/users"><i class="fa fa-fw fa-users" title="[[global:header.users]]"></i><span class="visible-xs-inline"> [[global:header.users]]</span></a>
|
|
</li>
|
|
<li class="{adminDisplay}">
|
|
<a href="{relative_path}/admin"><i class="fa fa-fw fa-cogs" title="[[global:header.admin]]"></i><span class="visible-xs-inline"> [[global:header.admin]]</span></a>
|
|
</li>
|
|
|
|
<li class="visible-xs">
|
|
<a id="mobile-search-button" href="{relative_path}/search"><i class="fa fa-search" title="[[global:header.search]]"></i> [[global:header.search]]</a>
|
|
</li>
|
|
|
|
<!-- BEGIN navigation -->
|
|
<li class="{navigation.class}">
|
|
<a href="{relative_path}{navigation.route}" title="{navigation.title}">
|
|
<!-- 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>
|
|
<!-- END navigation -->
|
|
</ul>
|
|
|
|
<ul id="logged-in-menu" class="nav navbar-nav navbar-right hide">
|
|
<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>
|
|
|
|
<li class="notifications dropdown text-center hidden-xs">
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#" id="notif_dropdown"><i class="fa fa-fw fa-bell-o" data-content="0" title="[[global:header.notifications]]"></i></a>
|
|
<ul id="notif-list" class="dropdown-menu" aria-labelledby="notif_dropdown">
|
|
<li>
|
|
<a href="#"><i class="fa fa-refresh fa-spin"></i> [[global:notifications.loading]]</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li class="visible-xs">
|
|
<a href="{relative_path}/notifications"><i class="fa fa-exclamation-triangle" title="[[notifications:title]]"></i> [[notifications:title]]</a>
|
|
</li>
|
|
|
|
<li class="chats dropdown text-center hidden-xs">
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#" id="chat_dropdown"><i class="fa fa-comment-o" title="[[global:header.chats]]"></i></a>
|
|
<ul id="chat-list" class="dropdown-menu" aria-labelledby="chat_dropdown">
|
|
<li>
|
|
<a href="#"><i class="fa fa-refresh fa-spin"></i> [[global:chats.loading]]</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li id="user_label" class="dropdown">
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#" id="user_dropdown" title="[[global:header.profile]]">
|
|
<img src=""/>
|
|
</a>
|
|
<ul id="user-control-list" class="dropdown-menu" aria-labelledby="user_dropdown">
|
|
<li>
|
|
<a id="user-profile-link" href=""><span>[[global:header.profile]]</span></a>
|
|
</li>
|
|
<li id="logout-link">
|
|
<a href="#">[[global:logout]]</a>
|
|
</li>
|
|
<li role="presentation" class="divider"></li>
|
|
<li>
|
|
<a href="#" class="user-status" data-status="online"><i class="fa fa-circle status-online"></i><span> [[global:online]]</span></a>
|
|
</li>
|
|
<li>
|
|
<a href="#" class="user-status" data-status="away"><i class="fa fa-circle status-away"></i><span> [[global:away]]</span></a>
|
|
</li>
|
|
<li>
|
|
<a href="#" class="user-status" data-status="dnd"><i class="fa fa-circle status-dnd"></i><span> [[global:dnd]]</span></a>
|
|
</li>
|
|
<li>
|
|
<a href="#" class="user-status" data-status="offline"><i class="fa fa-circle status-offline"></i><span> [[global:invisible]]</span></a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<ul id="logged-out-menu" class="nav navbar-nav navbar-right">
|
|
<!-- 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>
|
|
|
|
<ul id="logged-conditional-menu" class="nav navbar-nav navbar-right">
|
|
<li class="hidden-xs">
|
|
<form id="search-form" class="navbar-form navbar-right" role="search" method="GET" action="">
|
|
<div class="hide" id="search-fields">
|
|
<div class="form-group">
|
|
<input type="text" class="form-control" placeholder="Search" name="query" value="">
|
|
</div>
|
|
<button type="submit" class="btn btn-default hide">[[global:search]]</button>
|
|
</div>
|
|
</form>
|
|
</li>
|
|
|
|
<li class="hidden-xs">
|
|
<a href="#" id="search-button" class="hide"><i class="fa fa-search" title="[[global:header.search]]"></i></a>
|
|
</li>
|
|
</ul>
|
|
|
|
<ul class="nav navbar-nav navbar-right pagination-block hide">
|
|
<li class="active">
|
|
<a href="#">
|
|
<i class="fa fa-chevron-up pointer"></i>
|
|
<span id="pagination"></span>
|
|
<i class="fa fa-chevron-down pointer"></i>
|
|
<div class="progress-container">
|
|
<div class="progress-bar"></div>
|
|
</div>
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<input id="csrf_token" type="hidden" template-variable="csrf" value="{csrf}" />
|
|
|
|
<div class="container" id="content">
|