2018-04-19 06:22:53 +00:00
|
|
|
{% extends "_layout.njk" %}
|
2018-04-18 21:00:36 +00:00
|
|
|
|
|
|
|
{% block stylesheets %}
|
|
|
|
{{ super() }}
|
2018-04-26 12:53:19 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="libs/fontello/fontello.css?v={{ globals.v1 }}">
|
|
|
|
<link rel="stylesheet" type="text/css" href="css/auth.css?v={{ globals.v1 }}">
|
2018-04-18 21:00:36 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block scripts %}
|
|
|
|
{{ super() }}
|
2018-04-26 12:53:19 +00:00
|
|
|
<script type="text/javascript" src="libs/sweetalert/sweetalert.min.js?v={{ globals.v1 }}"></script>
|
|
|
|
<script type="text/javascript" src="libs/axios/axios.min.js?v={{ globals.v1 }}"></script>
|
|
|
|
<script type="text/javascript" src="js/auth.js?v={{ globals.v1 }}"></script>
|
2018-04-18 21:00:36 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
{{ super() }}
|
|
|
|
<section id="login" class="hero is-fullheight" style="background-color: #232629">
|
|
|
|
<div class="hero-body">
|
|
|
|
<div class="container">
|
|
|
|
<div class="columns is-centered">
|
|
|
|
<div class="column is-one-third is-hidden-touch"></div>
|
|
|
|
<div class="column">
|
|
|
|
<h1 class="title">
|
|
|
|
Dashboard Access
|
|
|
|
</h1>
|
|
|
|
<h2 class="subtitle">
|
|
|
|
Login or register
|
|
|
|
</h2>
|
|
|
|
<div class="field">
|
|
|
|
<div class="control">
|
|
|
|
<input id="user" class="input" type="text" onkeypress="page.onkeypress(event, this)" placeholder="Your username">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field">
|
|
|
|
<div class="control">
|
|
|
|
<input id="pass" class="input" type="password" onkeypress="page.onkeypress(event, this)" placeholder="Your password">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="field is-grouped is-grouped-right">
|
|
|
|
<div class="control">
|
|
|
|
<a id="registerBtn" class="button" onclick="page.do('register')">
|
|
|
|
<span class="icon">
|
|
|
|
<i class="icon-user-plus"></i>
|
|
|
|
</span>
|
|
|
|
<span>Register</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div class="control">
|
|
|
|
<a id="loginBtn" class="button" onclick="page.do('login')">
|
|
|
|
<span class="icon">
|
|
|
|
<i class="icon-login"></i>
|
|
|
|
</span>
|
|
|
|
<span>Log in</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="column is-one-third is-hidden-mobile"></div>
|
|
|
|
</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 %}
|