diff options
author | Julien Dessaux | 2021-10-29 00:58:16 +0200 |
---|---|---|
committer | Julien Dessaux | 2021-10-29 00:58:16 +0200 |
commit | bb7a2c66ee07a0049f319cc7ded8bb34e790802a (patch) | |
tree | e4ffd108c9bc784ace1ae41c62e630a6ef08ac5f /src/templates/index.html | |
parent | Cleaned main file (diff) | |
download | short-bb7a2c66ee07a0049f319cc7ded8bb34e790802a.tar.gz short-bb7a2c66ee07a0049f319cc7ded8bb34e790802a.tar.bz2 short-bb7a2c66ee07a0049f319cc7ded8bb34e790802a.zip |
Updated css
Diffstat (limited to '')
-rw-r--r-- | src/templates/index.html | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/templates/index.html b/src/templates/index.html index 2c27a14..bd0f853 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -2,10 +2,9 @@ {% block content %} <h1>Shorten a URL</h1> <form action="/" method="post"> - <input class="fullwidth" type="text" placeholder="Enter a title here" name="title" value="{{ $req.Title }}" minlength="3" maxlength="64" required autofocus><br> - <input class="fullwidth" type="url" placeholder="Enter the URL to shorten here" name="url" value="{{ $req.Url }}" minlength="3" maxlength="512" required><br> - <label for="expires">Expires in:</label> - <select id="expires" name="expires"> + <label>Title:<input name="title" value="{{ $req.Title }}" minlength="3" maxlength="64" required autofocus type="text" placeholder="Enter a title here"></label> + <label>URL:<input type="url" placeholder="Enter the URL to shorten here" name="url" value="{{ $req.Url }}" minlength="3" maxlength="512" required></label> + <label>Expires in:<select name="expires"> <option value="5">5 minutes</option> <option value="10">10 minutes</option> <option value="60">1 hour</option> @@ -14,9 +13,7 @@ <option value="44640">1 month</option> <option value="263520">6 months</option> <option value="527040">1 year</option> - </select> - <input type="submit" value="shorten"> + </select></label> + <button type="submit">shorten</button> </form> -<ul> -</ul> {% endblock %} |