add password control
This commit is contained in:
53
templates/login.html
Executable file
53
templates/login.html
Executable file
@ -0,0 +1,53 @@
|
||||
<!DOCTYPE html>
|
||||
{% extends "bootstrap/base.html" %}
|
||||
|
||||
{% block title %}Screen Share{% endblock %}
|
||||
|
||||
{% block metas %}
|
||||
{{super()}}
|
||||
<meta charset="UTF-8"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block styles %}
|
||||
{{super()}}
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/jquery-confirm.min.css')}}"/>
|
||||
|
||||
<link rel="stylesheet" href="{{url_for('static', filename='css/common.css')}}?ver=2"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
{{super()}}
|
||||
<script src="{{url_for('static', filename='js/jquery-confirm.min.js')}}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block body_attribs %}
|
||||
ontouchstart=""
|
||||
class="homepage"
|
||||
{% endblock %}
|
||||
|
||||
{% block navbar %}
|
||||
<header id="header">
|
||||
</header>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<section id="feature" class="fullwidth">
|
||||
<div class="container fullwidth">
|
||||
<div class="center fullwidth">
|
||||
<form action="/login" method="post">
|
||||
<div class="form-group">
|
||||
<label for="password">Password : </label>
|
||||
<input type="password" class="form-control" placeholder="Enter password" id="password" name="password">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</form>
|
||||
{% for message in get_flashed_messages() %}
|
||||
<div class="alert alert-warning alert-dismissible" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<strong> {{ message }} </strong>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user