tracman-server/views/login.html

81 lines
2.4 KiB
HTML
Raw Normal View History

2017-03-19 07:57:47 -06:00
{% extends 'templates/base.html' %}
2017-06-30 14:38:30 -06:00
{% block title %}{{super()}} | Login{% endblock %}
2017-08-22 17:32:25 -06:00
{% block head %}
{{super()}}
<link rel="stylesheet" type="text/css" href="/static/css/.form.min.css">
<link rel="stylesheet" type="text/css" href="/static/css/.login.min.css">
{% endblock %}
2017-06-30 14:38:30 -06:00
{% block javascript %}
2017-08-22 17:32:25 -06:00
{{super()}}
<script type="application/javascript" src="/static/js/.login.min.js"></script>
2017-04-01 11:03:05 -06:00
{% endblock %}
2017-03-19 07:57:47 -06:00
{% block main %}
2017-04-01 11:03:05 -06:00
<section class='container'>
2017-03-19 07:57:47 -06:00
2017-04-01 11:03:05 -06:00
<h1>Welcome!</h1>
<div class='flex'>
<div id='login'>
2017-03-19 07:57:47 -06:00
2017-04-01 11:03:05 -06:00
<h3>Login</h3>
<form method="post">
2018-03-04 13:15:43 -07:00
<input type="hidden" name="_csrf" value="{{csrfToken}}">
2017-04-01 11:03:05 -06:00
<div id='social-login' class='flex form-group'>
<a href="/login/google" class='gp btn'>
<i class="fa fa-google-plus"></i>
<span class='text'>Login with Google</span>
</a>
<a href="/login/facebook" class='fb btn'>
<i class="fa fa-facebook"></i>
<span class='text'>Login with Facebook</span>
</a>
<a href="/login/twitter" class='tw btn'>
<i class="fa fa-twitter"></i>
<span class='text'>Login with Twitter</span>
</a>
2017-04-01 11:03:05 -06:00
</div>
2017-04-09 21:56:28 -06:00
<div class='form-group' style="flex-wrap:wrap">
2017-12-22 11:15:05 -07:00
<input type="email" name="email" placeholder="Email" maxlength="160" required>
<div id='password-group' class='input-with-addon-group'>
2017-12-22 11:15:05 -07:00
<input id='password' type="password" class='input-with-addon right' placeholder="Password" name="password" maxlength="160" required>
<input id='show' type="text" class='right input-addon yellow' size="4" value="SHOW" readonly>
</div>
2017-04-09 21:56:28 -06:00
</div>
2017-04-01 11:03:05 -06:00
<input type="submit" value="Sign in" class='btn main'>
<p style="margin-bottom:0"><a href="/login/forgot">Forgot your password?</a></p>
2017-04-01 11:03:05 -06:00
</form>
</div>
<hr style="display:none">
2017-04-01 11:03:05 -06:00
<div id='signup'>
2017-04-01 11:03:05 -06:00
<h3>Create account</h3>
<p>Welcome aboard! </p>
<form action="/signup" method="post">
2018-03-04 13:15:43 -07:00
<input type="hidden" name="_csrf" value="{{csrfToken}}">
<input type="email" name="email" placeholder="Your email" required>
2017-04-01 11:03:05 -06:00
<p>You will be sent an email confrimation with a link to create a password. </p>
<p>By signing up, you agree to our <a href="/terms">terms of service</a> and <a href="/privacy">privacy policy</a>. </p>
<input type="submit" value="Sign up" class='btn'>
</form>
</div>
</div>
2017-03-19 07:57:47 -06:00
2017-04-01 11:03:05 -06:00
</section>
2017-03-19 07:57:47 -06:00
{% endblock %}