Browse Source

removed useless template attempts

master
Cristina Cochior 6 years ago
parent
commit
ee3cd8844f
  1. BIN
      .DS_Store
  2. BIN
      templates/.DS_Store
  3. 42
      templates/form-template.html
  4. 28
      templates/login.html

BIN
.DS_Store

Binary file not shown.

BIN
templates/.DS_Store

Binary file not shown.

42
templates/form-template.html

@ -1,42 +0,0 @@
{% block content %}
<div class="formwrapper">
<form method=post>
<div class="name">
{{ form.name(placeholder='Joe Blah') }} {{ form.name.label }}
{% if form.name.errors %}
<ul class="errors">{% for error in form.name.errors %}<li>{{ error }}</li>{% endfor %}</ul>
{% endif %}
</div>
<div class="email">
{{ form.email }} {{ form.email.label }}
{% if form.email.errors %}
<ul class="errors">{% for error in form.email.errors %}<li>{{ error }}</li>{% endfor %}</ul>
{% endif %}
</div>
<div class="password">
{{ form.password }} {{ form.password.label }}
{% if form.password.errors %}
<ul class="errors">{% for error in form.password.errors %}<li>{{ error }}</li>{% endfor %}</ul>
{% endif %}
</div>
<div class="confirm">
{{ form.confirm }} {{ form.confirm.label }}
{% if form.confirm.errors %}
<ul class="errors">{% for error in form.password.errors %}<li>{{ error }}</li>{% endfor %}</ul>
{% endif %}
</div>
<div class="website">
{{ form.website(placeholder='http://example.com') }} {{ form.website.label }}
</div>
<div class="submitbutton">
<input id="submit" type="submit" value="Submit">
</div>
</form>
</div>
{% for message in get_flashed_messages() %}
<div class="alert alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
{{ message }}
</div>
{% endfor %}

28
templates/login.html

@ -1,28 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Login</title>
</head>
<body>
{% if message %}
<p>{{ message }}</p>
{% endif %}
<form action="" method="post">
<p>
<label for="username">Username</label>
<input type="text" name="username">
</p>
<p>
<label for="password">Password</label>
<input type="password" name="password">
</p>
<p>
<input type="submit">
</p>
</form>
</body>
</html>
Loading…
Cancel
Save