-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
68 lines (61 loc) · 2.73 KB
/
index.php
File metadata and controls
68 lines (61 loc) · 2.73 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!--
__ __
____ ____ _/ /______/ /_
/ __ \/ __ `/ __/ ___/ __ \
/ /_/ / /_/ / /_/ /__/ / / /
/ .___/\__,_/\__/\___/_/ /_/
/_/
<## DevOps ##>
<## My laziness is patchless ##>
-->
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<title>Abrège !</title>
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" type="image/x-icon" href="https://patchli.fr/assets/img/favicon.ico">
<script src="script.js"></script>
<!-- META TAGS -->
<meta name="title" content="Abrège frère">
<meta name="description" content="Il est trop long ton lien">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://abregefre.re">
<meta property="og:title" content="Abrège frère">
<meta property="og:description" content="Il est trop long ton lien">
<!-- Twitter -->
<meta property="twitter:url" content="https://abregefre.re">
<meta property="twitter:title" content="Abrège frère">
<meta property="twitter:description" content="Il est trop long ton lien">
</head>
<body>
<div class="content">
<div class="center margin">
<h1 class="title">Abrège frère</h1>
<form onsubmit="event.preventDefault(); shortenUrl();">
<input type="text" id="url" name="url" placeholder="Mets ton lien" required>
<input type="submit" value="Abrège !">
</form>
<div id="shortened-url" class="center"></div>
</div>
<p class="center margin">Ou</p>
<div class="center margin">
<form onsubmit="event.preventDefault(); retrieveUrlInfo();">
<input type="text" id="shortcode" name="shortcode" placeholder="Code court" required>
<input type="submit" value="Rechercher">
</form>
<div id="url-info" class="center"></div>
</div>
<br>
<footer>
<p><a href="https://patchli.fr" target="_blank">patchli.fr</a> - contact [arobase] patchli.fr - <a href="confidentialite.pdf">Confidentialité</a> - 2019-2024</p>
<p>Si vous souhaitez me payer un café, vous pouvez passer par LiberaPay</p>
<a href="https://fr.liberapay.com/patchli/donate" target="_blank"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
<p><em>Au cas où, c'est un raccourcisseur de lien..</em></p>
<br>
</footer>
</div>
</body>
</html>