You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>Shrt</title>
|
|
|
|
<style>
|
|
|
|
#main {
|
|
|
|
width: 1170px;
|
|
|
|
margin: 0 auto;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
h1 {
|
|
|
|
font-size: 67px;
|
|
|
|
line-height: 1;
|
|
|
|
margin: 21px 0 10px 0;
|
|
|
|
}
|
|
|
|
form {
|
|
|
|
display: block;
|
|
|
|
margin-top: 0em;
|
|
|
|
}
|
|
|
|
form input {
|
|
|
|
padding: 7px;
|
|
|
|
font-size: 12px;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
form button {
|
|
|
|
display: inline-block;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 1.428571429;
|
|
|
|
text-align: center;
|
|
|
|
white-space: nowrap;
|
|
|
|
vertical-align: middle;
|
|
|
|
background-image: none;
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border-radius: 0;
|
|
|
|
color: #fff;
|
|
|
|
padding: 14px 28px;
|
|
|
|
background-color: #39b3d7;
|
|
|
|
border-color: #269abc;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div id="main">
|
|
|
|
<h1>Shrt</h1>
|
|
|
|
<form id="shorten" action="./" method="post">
|
|
|
|
<input type="url" name="url" pattern="^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?" placeholder="Url to shorten!" required="" autofocus>
|
|
|
|
<button class="button" type="submit" name="submit" value="short">Kürzen</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<p>Current URL: {{.}}</p>
|
|
|
|
</body>
|
|
|
|
</html>
|