forked from s3lph/matemat
36 lines
746 B
HTML
36 lines
746 B
HTML
|
{% extends "base.html" %}
|
||
|
|
||
|
{% block head %}
|
||
|
{{ super() }}
|
||
|
<style>
|
||
|
svg {
|
||
|
width: 600px;
|
||
|
height: auto;
|
||
|
}
|
||
|
</style>
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block header %}
|
||
|
<h1>Welcome, {{ username }}</h1>
|
||
|
{{ super() }}
|
||
|
{% endblock %}
|
||
|
|
||
|
{% block main %}
|
||
|
{% include "touchkey.svg" %}
|
||
|
|
||
|
<form method="post" action="/touchkey" id="loginform">
|
||
|
<input type="hidden" name="uid" value="{{ uid }}" />
|
||
|
<input type="hidden" name="username" value="{{ username }}" />
|
||
|
<input type="hidden" name="touchkey" value="" id="loginform-touchkey-value" />
|
||
|
</form>
|
||
|
<a href="/">Cancel</a>
|
||
|
|
||
|
<script src="/js/touchkey.js"></script>
|
||
|
<script>
|
||
|
initTouchkey(false, 'touchkey-svg', 'loginform', 'loginform-touchkey-value');
|
||
|
</script>
|
||
|
|
||
|
{{ super() }}
|
||
|
|
||
|
{% endblock %}
|