Added a simple home page
This commit is contained in:
@@ -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 %}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user