mirror of
https://github.com/openvk/openvk
synced 2024-11-14 11:09:12 +03:00
179 lines
9.3 KiB
XML
179 lines
9.3 KiB
XML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
|
||
<style>
|
||
{var css = file_get_contents(OPENVK_ROOT . "/Web/static/js/node_modules/@atlassian/aui/dist/aui/aui-prototyping.css")}
|
||
{str_replace("fonts/", "/assets/packages/static/openvk/js/node_modules/@atlassian/aui/dist/aui/fonts/", $css)|noescape}
|
||
</style>
|
||
<title>{include title} - Админ-панель {=OPENVK_ROOT_CONF['openvk']['appearance']['name']}</title>
|
||
</head>
|
||
<body>
|
||
<div id="page">
|
||
<header id="header" role="banner">
|
||
<nav class="aui-header aui-dropdown2-trigger-group" role="navigation">
|
||
<div class="aui-header-inner">
|
||
<div class="aui-header-primary">
|
||
<h1 id="logo" class="aui-header-logo aui-header-logo-textonly">
|
||
<a href="/admin">
|
||
<span class="aui-header-logo-device">{=OPENVK_ROOT_CONF['openvk']['appearance']['name']}</span>
|
||
</a>
|
||
</h1>
|
||
</div>
|
||
<div n:if="$search ?? false" class="aui-header-secondary">
|
||
<ul class="aui-nav">
|
||
<form class="aui-quicksearch dont-default-focus ajs-dirty-warning-exempt">
|
||
<input
|
||
id="quickSearchInput"
|
||
autocomplete="off"
|
||
class="search"
|
||
type="text"
|
||
placeholder="{include searchTitle}"
|
||
value="{$_GET['q'] ?? ''}"
|
||
name="q"
|
||
accesskey="Q" />
|
||
<input type="hidden" value=1 name=p />
|
||
</form>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</nav>
|
||
</header>
|
||
<div class="aui-page-panel">
|
||
<div class="aui-page-panel-inner">
|
||
<div class="aui-page-panel-nav" style="background-color: #fff;">
|
||
<nav class="aui-navgroup aui-navgroup-vertical">
|
||
<div class="aui-navgroup-inner">
|
||
<div class="aui-navgroup-primary">
|
||
<div class="aui-nav-heading">
|
||
<strong>Обзор</strong>
|
||
</div>
|
||
<ul class="aui-nav">
|
||
<li>
|
||
<a href="/admin">
|
||
Сводка
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
<div class="aui-nav-heading">
|
||
<strong>Пользовательский контент</strong>
|
||
</div>
|
||
<ul class="aui-nav">
|
||
<li>
|
||
<a href="/admin/users">
|
||
Пользователи
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<a href="/admin/clubs">
|
||
Группы
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
<div class="aui-nav-heading">
|
||
<strong>Платные услуги</strong>
|
||
</div>
|
||
<ul class="aui-nav">
|
||
<li>
|
||
<a href="/admin/vouchers">
|
||
{_vouchers}
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<a href="/admin/gifts">
|
||
Подарки
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
<div class="aui-nav-heading">
|
||
<strong>Настройки</strong>
|
||
</div>
|
||
<ul class="aui-nav">
|
||
<li>
|
||
<a href="/admin/settings/tuning">
|
||
Общие
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<a href="/admin/settings/appearance">
|
||
Внешний вид
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<a href="/admin/settings/security">
|
||
Безопасность
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<a href="/admin/settings/integrations">
|
||
Интеграции
|
||
</a>
|
||
</li>
|
||
<li>
|
||
<a href="/admin/settings/system">
|
||
Система
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
<div class="aui-nav-heading">
|
||
<strong>Об OpenVK</strong>
|
||
</div>
|
||
<ul class="aui-nav">
|
||
<li>
|
||
<a href="/about:openvk">
|
||
Версия
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
</nav>
|
||
</div>
|
||
<section class="aui-page-panel-content">
|
||
{ifset $flashMessage}
|
||
{var type = ["err" => "error", "warn" => "warning", "info" => "basic", "succ" => "success"][$flashMessage->type]}
|
||
<div class="aui-message aui-message-{$type}" style="margin-bottom: 15px;">
|
||
<p class="title">
|
||
<strong>{$flashMessage->title}</strong>
|
||
</p>
|
||
<p>{$flashMessage->msg|noescape}</p>
|
||
</div>
|
||
{/ifset}
|
||
|
||
{ifset preHeader}
|
||
{include preHeader}
|
||
{/ifset}
|
||
|
||
<header class="aui-page-header">
|
||
<div class="aui-page-header-inner">
|
||
<div class="aui-page-header-main">
|
||
{ifset headingWrap}
|
||
{include headingWrap}
|
||
{else}
|
||
<h1>{include heading}</h1>
|
||
{/ifset}
|
||
</div>
|
||
</div>
|
||
</header>
|
||
<main>
|
||
{include content}
|
||
</main>
|
||
</section>
|
||
</div>
|
||
</div>
|
||
<footer id="footer" role="contentinfo">
|
||
<section class="footer-body">
|
||
OpenVK <a href="/about:openvk">{php echo OPENVK_VERSION}</a> | PHP: {phpversion()} | DB: {\Chandler\Database\DatabaseConnection::i()->getConnection()->getPdo()->getAttribute(\PDO::ATTR_SERVER_VERSION)}
|
||
</section>
|
||
</footer>
|
||
</div>
|
||
|
||
{script "js/node_modules/jquery/dist/jquery.min.js"}
|
||
{script "js/node_modules/@atlassian/aui/dist/aui/aui-prototyping.js"}
|
||
<script>AJS.tabs.setup();</script>
|
||
|
||
{ifset scripts}
|
||
{include scripts}
|
||
{/ifset}
|
||
</body>
|
||
</html>
|