filesafe/pages/dashboard.html

70 lines
3.3 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
2017-01-31 06:31:10 +00: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 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">
<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>
<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 06:37:17 +00:00
<script type="text/javascript" src="/js/dashboard.js"></script>
</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-16 09:26:43 +00: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 22:30:04 +00:00
<aside class="menu" id="menu">
<p class="menu-label">General</p>
<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>
</ul>
2017-01-17 21:55:35 +00:00
<p class="menu-label">Albums</p>
<ul class="menu-list">
2017-01-21 22:30:04 +00:00
<li><a id="itemManageGallery" onclick="panel.getAlbums()">Manage your albums</a></li>
<li>
2017-01-18 05:40:14 +00:00
<ul id='albumsContainer'></ul>
</li>
</ul>
2017-01-16 09:26:43 +00:00
<p class="menu-label">Administration</p>
<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>
</aside>
</div>
2017-01-15 06:15:08 +00:00
<div class="column has-text-centered" id='page'>
<img src="/images/logo.png">
</div>
</div>
</div>
2017-01-18 05:40:14 +00:00
</section>
</body>
</html>