Zwea Htet
added flask ui code
90653e1
raw
history blame
761 Bytes
{% extends 'base.html' %}
{% block title %}Login{% endblock %}
{% block content %}
<div class="login-box">
<h2 style="text-align: center">Login</h2>
{% if error %}
<p class="error-message">{{ error }}</p>
{% endif %}
<form action="{{ url_for('login') }}" method="post">
<label for="username">Username</label>
<input type="text" id="username" name="username" placeholder="Enter username" required>
<label for="accessToken">Access Token</label>
<input type="password" id="access_token" name="access_token" placeholder="Enter Token Key" required>
<button type="submit" class="login-button">Login</button>
</form>
</div>
{% endblock %}