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.
139 lines
6.3 KiB
Smarty
139 lines
6.3 KiB
Smarty
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>NodeBB Administration Panel</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<script>
|
|
var RELATIVE_PATH = "{relative_path}";
|
|
</script>
|
|
<link rel="stylesheet" href="{relative_path}/vendor/fontawesome/css/font-awesome.min.css">
|
|
<script src="//code.jquery.com/jquery.js"></script>
|
|
<script src="{relative_path}/vendor/bootstrap/js/bootstrap.min.js"></script>
|
|
<script src="//code.jquery.com/qunit/qunit-git.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="//code.jquery.com/qunit/qunit-git.css">
|
|
<link rel="stylesheet" type="text/css" href="{relative_path}/vendor/colorpicker/colorpicker.css">
|
|
<script src="{relative_path}/socket.io/socket.io.js"></script>
|
|
<script src="{relative_path}/src/app.js?{cache-buster}"></script>
|
|
<script src="{relative_path}/src/templates.js?{cache-buster}"></script>
|
|
<script src="{relative_path}/src/translator.js?{cache-buster}"></script>
|
|
<script src="{relative_path}/src/ajaxify.js?{cache-buster}"></script>
|
|
<script src="{relative_path}/vendor/jquery/timeago/jquery.timeago.js"></script>
|
|
<script src="{relative_path}/vendor/jquery/js/jquery.form.js"></script>
|
|
<script src="{relative_path}/vendor/requirejs/require.js"></script>
|
|
<script src="{relative_path}/vendor/bootbox/bootbox.min.js"></script>
|
|
<script src="{relative_path}/vendor/colorpicker/colorpicker.js"></script>
|
|
|
|
<script>
|
|
require.config({
|
|
baseUrl: "{relative_path}/src/modules",
|
|
waitSeconds: 3,
|
|
urlArgs: "{cache-buster}",
|
|
paths: {
|
|
"forum": '../forum'
|
|
}
|
|
});
|
|
</script>
|
|
<link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css">
|
|
<script src="//code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
|
|
<script src="{relative_path}/src/utils.js"></script>
|
|
|
|
<link rel="stylesheet" type="text/css" href="{relative_path}/css/theme.css?{cache-buster}" />
|
|
</head>
|
|
|
|
<body class="admin">
|
|
<div class="navbar navbar-inverse navbar-fixed-top header">
|
|
<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>
|
|
<a class="navbar-brand" href="{relative_path}/admin/index">NodeBB ACP</a>
|
|
</div>
|
|
<div class="collapse navbar-collapse">
|
|
<ul class="nav navbar-nav">
|
|
<li>
|
|
<a href="{relative_path}/admin/index"><i class="fa fa-home" title="Home"></i><span class="visible-xs-inline"> Home</span></a>
|
|
</li>
|
|
<li>
|
|
<a href="{relative_path}/admin/settings"><i class="fa fa-cogs" title="Settings"></i><span class="visible-xs-inline"> Settings</span></a>
|
|
</li>
|
|
<li>
|
|
<a href="{relative_path}/" target="_top"><i class="fa fa-book" title="Forum"></i><span class="visible-xs-inline"> Forum</span></a>
|
|
</li>
|
|
<li>
|
|
<a href="#" id="reconnect"></a>
|
|
</li>
|
|
</ul>
|
|
|
|
<ul id="logged-in-menu" class="nav navbar-nav navbar-right">
|
|
<li id="user_label" class="dropdown">
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#" id="user_dropdown">
|
|
<img src="{userpicture}"/>
|
|
</a>
|
|
<ul id="user-control-list" class="dropdown-menu" aria-labelledby="user_dropdown">
|
|
<li>
|
|
<a id="user-profile-link" href="{relative_path}/user/{userslug}" target="_top"><span>Profile</span></a>
|
|
</li>
|
|
<li id="logout-link">
|
|
<a href="#">Log out</a>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<input id="csrf_token" type="hidden" template-variable="csrf" value="{csrf}" />
|
|
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-sm-3">
|
|
<div class="well sidebar-nav">
|
|
<ul class="nav nav-list">
|
|
<li class="nav-header">NodeBB</li>
|
|
<li class="active"><a href="{relative_path}/admin/index"><i class="fa fa-fw fa-home"></i> Home</a></li>
|
|
<li><a href="{relative_path}/admin/categories/active"><i class="fa fa-fw fa-folder"></i> Categories</a></li>
|
|
<li><a href="{relative_path}/admin/users/latest"><i class="fa fa-fw fa-user"></i> Users</a></li>
|
|
<li><a href="{relative_path}/admin/groups"><i class="fa fa-fw fa-group"></i> Groups</a></li>
|
|
<li><a href="{relative_path}/admin/topics"><i class="fa fa-fw fa-book"></i> Topics</a></li>
|
|
<li><a href="{relative_path}/admin/themes"><i class="fa fa-fw fa-th"></i> Themes</a></li>
|
|
<li><a href="{relative_path}/admin/plugins"><i class="fa fa-fw fa-code-fork"></i> Plugins</a></li>
|
|
<li><a href="{relative_path}/admin/languages"><i class="fa fa-fw fa-comments-o"></i> Languages</a></li>
|
|
<li><a href="{relative_path}/admin/settings"><i class="fa fa-fw fa-cogs"></i> Settings</a></li>
|
|
<li><a href="{relative_path}/admin/database"><i class="fa fa-fw fa-hdd-o"></i> Database</a></li>
|
|
<li><a href="{relative_path}/admin/logger"><i class="fa fa-fw fa-th"></i> Logger</a></li>
|
|
<li><a href="{relative_path}/admin/motd"><i class="fa fa-fw fa-comment"></i> MOTD</a></li>
|
|
<li><a href="{relative_path}/admin/events"><i class="fa fa-fw fa-calendar-o"></i> Events</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="well sidebar-nav">
|
|
<ul class="nav nav-list">
|
|
<li class="nav-header">Social Authentication</li>
|
|
<li><a href="{relative_path}/admin/twitter"><i class="fa fa-fw fa-twitter-square"></i> Twitter</a></li>
|
|
<li><a href="{relative_path}/admin/facebook"><i class="fa fa-fw fa-facebook-square"></i> Facebook</a></li>
|
|
<li><a href="{relative_path}/admin/gplus"><i class="fa fa-fw fa-google-plus-square"></i> Google+</a></li>
|
|
<!-- BEGIN authentication -->
|
|
<li>
|
|
<a href="{relative_path}/admin{authentication.route}"><i class="fa fa-fw {authentication.icon}"></i> {authentication.name}</a>
|
|
</li>
|
|
<!-- END authentication -->
|
|
</ul>
|
|
</div>
|
|
<div class="well sidebar-nav">
|
|
<ul class="nav nav-list">
|
|
<li class="nav-header">Plugins</li>
|
|
<!-- BEGIN plugins -->
|
|
<li>
|
|
<a href="{relative_path}/admin{plugins.route}"><i class="fa fa-fw {plugins.icon}"></i> {plugins.name}</a>
|
|
</li>
|
|
<!-- END plugins -->
|
|
</ul>
|
|
</div>
|
|
</div><!--/span-->
|
|
|
|
<div class="col-sm-9" id="content">
|