2017-01-15 01:36:24 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
2017-01-31 06:31:10 +00:00
|
|
|
<title>lolisafe - A small safe worth protecting.</title>
|
2017-01-15 01:36:24 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.3.0/css/bulma.min.css">
|
2017-01-18 05:40:14 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.css">
|
2017-01-15 01:36:24 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
2017-01-18 05:40:14 +00:00
|
|
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script>
|
2017-01-19 05:37:35 +00:00
|
|
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.15.3/axios.min.js"></script>
|
2017-01-20 06:28:26 +00:00
|
|
|
<script type="text/javascript" src="https://use.fontawesome.com/cd26baa9bd.js"></script>
|
2017-01-31 06:37:17 +00:00
|
|
|
<script type="text/javascript" src="/js/dashboard.js"></script>
|
2017-01-15 01:36:24 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2017-01-16 09:26:43 +00:00
|
|
|
|
|
|
|
<section id='auth' class="hero is-light is-fullheight">
|
2017-01-18 05:40:14 +00:00
|
|
|
|
2017-01-16 09:26:43 +00:00
|
|
|
<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>
|
2017-01-18 07:51:42 +00:00
|
|
|
|
2017-01-16 09:26:43 +00:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<section id='dashboard' class="section">
|
|
|
|
|
|
|
|
<div id="panel" class="container">
|
2017-01-15 01:36:24 +00:00
|
|
|
<h1 class="title">Dashboard</h1>
|
|
|
|
<h2 class="subtitle">A simple <strong>dashboard</strong>, to sort your uploaded stuff</h2>
|
|
|
|
<hr>
|
|
|
|
<div class="columns">
|
|
|
|
<div class="column is-3">
|
2017-01-21 22:30:04 +00:00
|
|
|
<aside class="menu" id="menu">
|
2017-01-16 07:21:46 +00:00
|
|
|
<p class="menu-label">General</p>
|
2017-01-15 01:36:24 +00:00
|
|
|
<ul class="menu-list">
|
2017-01-15 06:15:08 +00:00
|
|
|
<li><a href="/">Frontpage</a></li>
|
2017-01-21 22:30:04 +00:00
|
|
|
<li><a id="itemUploads" onclick="panel.getUploads()">Uploads</a></li>
|
2017-01-15 01:36:24 +00:00
|
|
|
</ul>
|
2017-01-17 21:55:35 +00:00
|
|
|
<p class="menu-label">Albums</p>
|
2017-01-15 01:36:24 +00:00
|
|
|
<ul class="menu-list">
|
2017-01-21 22:30:04 +00:00
|
|
|
<li><a id="itemManageGallery" onclick="panel.getAlbums()">Manage your albums</a></li>
|
2017-01-15 01:36:24 +00:00
|
|
|
<li>
|
2017-01-18 05:40:14 +00:00
|
|
|
<ul id='albumsContainer'></ul>
|
2017-01-15 01:36:24 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
2017-01-16 09:26:43 +00:00
|
|
|
<p class="menu-label">Administration</p>
|
2017-01-15 01:36:24 +00:00
|
|
|
<ul class="menu-list">
|
2017-01-30 08:43:15 +00:00
|
|
|
<li><a id="itemTokens" onclick="panel.changeToken()">Change your token</a></li>
|
|
|
|
<li><a id="itemTokens" onclick="panel.changePassword()">Change your password</a></li>
|
2017-01-21 22:04:14 +00:00
|
|
|
<li><a onclick="panel.logout()">Logout</a></li>
|
2017-01-16 09:26:43 +00:00
|
|
|
</ul>
|
2017-01-15 01:36:24 +00:00
|
|
|
</aside>
|
|
|
|
</div>
|
2017-01-15 06:15:08 +00:00
|
|
|
<div class="column has-text-centered" id='page'>
|
2017-01-15 01:36:24 +00:00
|
|
|
<img src="/images/logo.png">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-01-18 05:40:14 +00:00
|
|
|
|
2017-01-15 01:36:24 +00:00
|
|
|
</section>
|
|
|
|
</body>
|
|
|
|
</html>
|