Added URL submission
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
<body>
|
||||
<div id="c">
|
||||
qurl.org is a simple url shortening service, in the same vein as
|
||||
<a href="https://bit.ly">bit.ly</a>, and
|
||||
<a href="https://bit.ly">bit.ly</a> and
|
||||
<a href="https://tinyurl.com">tinyurl.com</a>.
|
||||
qurl.org is <a href="http://binarythought.com/qurl/LICENSE">open source</a>,
|
||||
it's code is <a href="https://binarythought.com/fossils/qurl/">freely available</a>
|
||||
|
@ -10,6 +10,7 @@ input:focus { outline: 0; }
|
||||
#u:focus { border-color: #129fea; }
|
||||
#s { margin-top: 8px; color: #fff; background-color: #0078e7; border-color: transparent; }
|
||||
#s:hover { background-image: linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1)); cursor: hover; }
|
||||
#m { margin-bottom: 16px; }
|
||||
@media screen and (min-width: 640px) {
|
||||
#c { max-width: 600px; }
|
||||
#u, #s { display: inline-block; margin: 0; }
|
||||
|
24
assets/submit.html
Normal file
24
assets/submit.html
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>qurl.org</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<link rel="stylesheet" media="screen" href="qurl.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="c">
|
||||
<div id="m">
|
||||
<div>{{if .Message}}{{.Message}}{{end}}</div>
|
||||
<div>{{if .URL}}<a href="{{.URL}}">{{.URL}}</a>{{end}}</div>
|
||||
</div>
|
||||
|
||||
qurl.org is a simple url shortening service, in the same vein as
|
||||
<a href="https://bit.ly">bit.ly</a> and
|
||||
<a href="https://tinyurl.com">tinyurl.com</a>.
|
||||
qurl.org is <a href="http://binarythought.com/qurl/LICENSE">open source</a>,
|
||||
it's code is <a href="https://binarythought.com/fossils/qurl/">freely available</a>
|
||||
and has an <a href="api/index.html">easy to use API</a>.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user