1
0
mirror of https://github.com/taigrr/shorturl synced 2025-01-18 04:03:16 -08:00

Refactored. New UI Design

This commit is contained in:
2017-07-09 12:49:23 -07:00
parent d4b2e6eac8
commit 74c02644c5
12 changed files with 309 additions and 46 deletions

View File

@@ -1,14 +1,17 @@
<html>
<head>
<title>shorturl</title>
</head>
<body>
<p>Enter your long URL here:</p>
<form method="POST" action="">
<input type="text" name="url">
<input type="submit">
</form>
</body>
</html>
{{define "content"}}
<section class="container">
<div class="columns">
<div class="column">
<form action="" method="POST">
<div class="form-group">
<label class="form-label" for="input-url"></label>
<input class="form-input" id="input-url" type="text" name="url" placeholder="Enter long url here...">
</div>
<div class="form-group">
<button class="btn btn-sm btn-primary" type="submit">Shorten</button>
</div>
</form>
</div>
</div>
</section>
{{end}}