-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (47 loc) · 2.74 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html lang="en">
<head>
<title>mau.lu</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/css/bootstrap.min.css" integrity="sha384-y3tfxAZXuh4HwSYylfB+J125MxIs6mR5FOHamPBG064zB+AFeWH94NdvaCBm8qnd" crossorigin="anonymous">
<link href='https://fonts.googleapis.com/css?family=Raleway:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maunium.net/css/footer.css">
<link rel="stylesheet" href="https://maunium.net/css/text.css">
<link rel="stylesheet" href="index.css">
</head>
<body onload="fixFooter()" onresize="fixFooter()">
<div class="container main">
<center>
<h1 class="title">mau.lu</h1>
<div class="card-container">
<div class="alert alert-danger errormsg hidden-xs-up" id="errormsg"></div>
<div class="card card-block">
<form class="form-group input-div" action="#" id="main-input">
<input type="text" class="form-control url-input" autofocus id="inputURL" placeholder="Enter URL or search query"><br/>
<input type="text" class="form-control short-input" autofocus id="shortURL" placeholder="Requested short URL key">
<br>
<div class="pull-xs-right input-buttons">
<span class="hidden-sm-down"><input type="checkbox" id="html"><span class="html-cb">HTML Redirect</span></span>
<button type="button" class="btn btn-other" onClick="unshorten()">Unshorten</button>
<button type="button" class="btn btn-other" onClick="ddg()">DuckDuckGo</button>
<button type="button" class="btn btn-other" onClick="google()">Google</button>
<button type="submit" class="btn btn-shorten" onClick="shorten()">Shorten</button>
</div>
</form>
</div>
</div>
<h2>Description</h2>
<p class="description">
mau.lu is the frontend for the official instance of <a href="https://github.com/tulir/maulu">mau\Lu</a>. mau\Lu is a simple URL shortening backend that supports custom short URLs and things like creating and shortening <a href="http://lmgtfy.com/">LMGTFY</a> links easily.<br>
Unshortening is just as easy as shortening: simply paste the short URL and press unshorten.<br>
Please note that anyone can shorten links here. I'm not responsible for the targets of mau.lu short URLs.<br>
<span class="hidden-sm-down">If you want to disable previews of short URLs in chat apps, use the HTML redirect option.</span>
</p>
<br><br>
</center>
</div>
{{include "footer.html"}}
<script type="text/javascript" src="index.js"></script>
</body>
</html>