Added a simple home page

This commit is contained in:
xemeds
2020-07-18 23:39:18 +00:00
parent d6721f27f7
commit 16f562441d
4 changed files with 55 additions and 9 deletions
+5 -7
View File
@@ -1,11 +1,9 @@
{% extends "layout.html" %}
{% block body %}
<div>
<form method="POST" action="">
{{ form.hidden_tag() }}
{{ form.url(placeholder="Enter the URL here") }}
{{ form.submit }}
</form>
</div>
<form method="POST" action="" class="form">
{{ form.hidden_tag() }}
{{ form.url(placeholder="Enter the URL here", class="url") }}
{{ form.submit(class="submit") }}
</form>
{% endblock %}
+2
View File
@@ -1,6 +1,8 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link href="/static/style.css" rel="stylesheet" type="text/css"/>
<title>tiny0 - Custom URL Shortener</title>