Browse Source

Delete home.html

main
Unbewohnte 4 years ago committed by GitHub
parent
commit
944f01c12b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 51
      PasswordGenerator/templates/home.html

51
PasswordGenerator/templates/home.html

@ -1,51 +0,0 @@
{% extends "layout.html" %}
{% block layout %}
<div class="container">
<h1>Password generator</h1>
<form class="" method="POST">
{{ form.hidden_tag() }}
<div class="">
{{form.length.label(class="form-control-label")}}<br>
{{form.length(class="form-control-label")}}<br>
{% if form.length.errors %}
<h3 id = 'invalid_value'>Invalid value</h3>
{% endif %}
{{form.how_many_passwords.label(class="form-control-label")}}<br>
{{form.how_many_passwords(class="form-control-label")}}<br>
{% if form.how_many_passwords.errors %}
<h3 id = 'invalid_value'>Invalid value</h3><br>
{% endif %}
{{ form.Upper_register_field.label}}
{{ form.Upper_register_field(class="check")}}<br>
{{ form.Digits_field.label }}
{{ form.Digits_field(class="check") }}<br>
{{ form.Punctuation_field.label}}
{{ form.Punctuation_field(class="check") }}<br>
</div>
<div class="">
{{form.submit(class="btn btn-outline-info")}}<br>
</div>
</form>
</div>
{% if form.valid == True %}
<div class="">
<h3>Generated passwords:</h3><br>
{%for password in form.password%}
<h3>{{password}}</h3><br>
{% endfor %}
</div>
{% endif %}
{% endblock layout %}
Loading…
Cancel
Save