Improved the overall responsiveness and the styling of the pages

This commit is contained in:
xemeds
2020-08-20 09:43:52 +03:00
parent 59cbba9d03
commit 3613fe57ec
6 changed files with 50 additions and 51 deletions
+7 -9
View File
@@ -1,18 +1,16 @@
{% extends "layout.html" %}
{% block body %}
<div class="container">
<form method="POST" action="">
{{ form.hidden_tag() }}
<div class="inputs">
{{ form.url(placeholder="Enter the URL here", autofocus=true, class="url") }}
{{ form.submit(class="button") }}
</div>
<form method="POST" action="" class="url-form">
{{ form.hidden_tag() }}
<ul class='input-list'>
{% if form.url.errors %}
{% for error in form.url.errors %}
<p class="url-error-message">{{ error }}</p>
{% endfor %}
{% endif %}
</form>
</div>
<li>{{ form.url(placeholder="Enter the URL here", autofocus=true, class="url") }}</li>
<li>{{ form.submit(class="button") }}</li>
</ul>
</form>
{% endblock %}