v3.0.0/pages/dashboard.html

70 lines
3.4 KiB
HTML
Raw Normal View History

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