Skip to content
Snippets Groups Projects
Commit 36599d4a authored by Ying Tung Lau's avatar Ying Tung Lau :cartwheel_tone1:
Browse files

Upload New File

parent 6b546dcd
No related branches found
No related tags found
No related merge requests found
{% block title %}<h1 class="text-center page-title" style="font-size: 2em; font-weight: bold; margin-bottom: 50px;">Password Protected Portfolio</h1>{% endblock title %}
{% block content %}
<div class="container text-center">
<div class="row">
<div class="col-md-6 offset-md-3 form-container">
<form method="POST" action="{{ url_for('passwordSubmit') }}">
{{ form.csrf_token }}
<div class="form-group text-center">
<h3 class="form-title" style="margin-bottom: 30px;">Please enter website password</h3>
<label for="password" style="font-size: 1.2em;">Password:</label>
{{ form.password(class="form-control", style="margin-top: 10px; padding: 12px 20px; font-size: 1.2em;") }}
</div>
<div class="form-group text-center">
{{ form.submit(class="btn btn-primary btn-block", style="margin-top: 20px; padding: 12px 20px; font-size: 1.2em;") }}
</div>
</form>
</div>
</div>
</div>
<div class="container mt-5">
<div class="row">
<div class="col-12">
{% with messages = get_flashed_messages() %}
{% if messages %}
<div class="alert alert-danger" role="alert" style="margin-top: 20px;">
{% for message in messages %}
{{ message }}
{% endfor %}
</div>
{% endif %}
{% endwith %}
</div>
</div>
{% endblock content %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment