2018-04-19 06:22:53 +00:00
|
|
|
{% extends "_layout.njk" %}
|
2018-04-18 21:00:36 +00:00
|
|
|
|
|
|
|
{% block stylesheets %}
|
|
|
|
{{ super() }}
|
2018-05-12 16:34:19 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="libs/fontello/fontello.css?v={{ globals.v3 }}">
|
2018-04-28 17:26:39 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="css/sweetalert.css?v={{ globals.v1 }}">
|
2018-04-26 12:53:19 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="css/dashboard.css?v={{ globals.v1 }}">
|
2018-04-18 21:00:36 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block scripts %}
|
|
|
|
{{ super() }}
|
2018-05-12 16:34:19 +00:00
|
|
|
<script type="text/javascript" src="libs/sweetalert/sweetalert.min.js?v={{ globals.v3 }}"></script>
|
|
|
|
<script type="text/javascript" src="libs/axios/axios.min.js?v={{ globals.v3 }}"></script>
|
|
|
|
<script type="text/javascript" src="libs/clipboard.js/clipboard.min.js?v={{ globals.v3 }}"></script>
|
|
|
|
<script type="text/javascript" src="libs/lazyload/lazyload.min.js?v={{ globals.v3 }}"></script>
|
2018-04-26 12:53:19 +00:00
|
|
|
<script type="text/javascript" src="js/dashboard.js?v={{ globals.v1 }}"></script>
|
2018-04-18 21:00:36 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{{ super() }}
|
|
|
|
<section id="auth" class="hero is-light is-fullheight">
|
|
|
|
<div class="hero-body">
|
|
|
|
<div class="container">
|
|
|
|
<h1 class="title">
|
|
|
|
Admin dashboard
|
|
|
|
</h1>
|
|
|
|
<h2 class="subtitle">
|
|
|
|
<p class="control has-addons">
|
|
|
|
<input id="token" class="input is-danger" type="text" placeholder="Your admin token">
|
|
|
|
<a id="tokenSubmit" class="button is-danger is-outlined">Check</a>
|
|
|
|
</p>
|
|
|
|
</h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id="dashboard" class="section">
|
|
|
|
<div id="panel" class="container">
|
|
|
|
<h1 class="title">
|
|
|
|
Dashboard
|
|
|
|
</h1>
|
|
|
|
<h1 class="subtitle">
|
|
|
|
A simple <strong>dashboard</strong>, to sort your uploaded stuff
|
|
|
|
</h1>
|
|
|
|
<hr>
|
|
|
|
|
|
|
|
<div class="columns">
|
|
|
|
<div class="column is-one-quarter">
|
|
|
|
<aside id="menu" class="menu">
|
|
|
|
<p class="menu-label">General</p>
|
|
|
|
<ul class="menu-list">
|
|
|
|
<li>
|
|
|
|
<a href=".">Frontpage</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
2018-07-17 03:21:04 +00:00
|
|
|
<a id="itemUploads">Uploads</a>
|
2018-04-18 21:00:36 +00:00
|
|
|
</li>
|
2018-05-05 19:44:58 +00:00
|
|
|
<li>
|
2018-07-17 03:21:04 +00:00
|
|
|
<a id="itemDeleteByNames">Delete by names</a>
|
2018-05-05 19:44:58 +00:00
|
|
|
</li>
|
2018-04-18 21:00:36 +00:00
|
|
|
</ul>
|
|
|
|
<p class="menu-label">Albums</p>
|
|
|
|
<ul class="menu-list">
|
|
|
|
<li>
|
2018-07-17 03:21:04 +00:00
|
|
|
<a id="itemManageGallery">Manage your albums</a>
|
2018-04-18 21:00:36 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<ul id="albumsContainer"></ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<p class="menu-label">Administration</p>
|
|
|
|
<ul class="menu-list">
|
|
|
|
<li>
|
2018-07-17 03:21:04 +00:00
|
|
|
<a id="itemFileLength">File name length</a>
|
2018-04-18 21:00:36 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2018-07-17 03:21:04 +00:00
|
|
|
<a id="itemTokens">Manage your token</a>
|
2018-04-18 21:00:36 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2018-07-17 03:21:04 +00:00
|
|
|
<a id="itemPassword">Change your password</a>
|
2018-04-18 21:00:36 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2018-07-17 03:21:04 +00:00
|
|
|
<a id="itemLogout">Logout</a>
|
2018-04-18 21:00:36 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</aside>
|
|
|
|
</div>
|
|
|
|
<div id="page" class="column has-text-centered is-third-quarters">
|
2018-04-26 12:53:19 +00:00
|
|
|
<img alt="logo" src="images/logo.png?v={{ globals.v2 }}">
|
2018-04-18 21:00:36 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
2018-04-23 19:58:44 +00:00
|
|
|
{% include "_partial/noscript.njk" %}
|
2018-04-18 21:00:36 +00:00
|
|
|
{% endblock %}
|