2021-05-08 22:46:12 +02:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang=fr>
|
2021-05-08 15:23:46 +02:00
|
|
|
|
<head>
|
2021-05-08 22:46:12 +02:00
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
|
<title>{{.Hostname}}</title>
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="/styles/default.css">
|
2021-05-08 15:23:46 +02:00
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
2021-05-08 22:46:12 +02:00
|
|
|
|
<h1><a href="{{.WebAddress}}">{{.Hostname}}</a></h1>
|
|
|
|
|
|
|
|
|
|
<p>Plateforme de partage de fichiers basée sur <a href="https://transfer.sh">transfer.sh</a>.</p>
|
|
|
|
|
|
2021-05-09 15:07:13 +02:00
|
|
|
|
<p>Les fichiers sont conservés 30 jours, et limités à 1 Gio.</p>
|
2021-05-08 22:46:12 +02:00
|
|
|
|
|
|
|
|
|
<p class="nojs" style="max-width: 36em; margin: auto;">
|
2021-05-08 22:58:06 +02:00
|
|
|
|
Malgré tout ma bonne volonté, le téléversement via cette page est plus pratique
|
2021-05-08 22:46:12 +02:00
|
|
|
|
avec JavaScript activé. Si vous tenez à éviter le JS, le téléversement en ligne de commande
|
|
|
|
|
est aussi complet que le formulaire JavaScript.
|
|
|
|
|
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<form action="/" method="POST" enctype="multipart/form-data" data-maxsize="1048576000" id="dropzone">
|
|
|
|
|
<p id="fallback">
|
|
|
|
|
<input id="fileinput" name="file" type="file" />
|
|
|
|
|
<input id="submitbtn" type="submit" value="Téléverser">
|
|
|
|
|
</p>
|
|
|
|
|
|
2021-05-08 23:16:09 +02:00
|
|
|
|
<p id="expiry" class="jsonly" style="display: none;">
|
2021-05-08 22:46:12 +02:00
|
|
|
|
<label for="expiration">Expiration du fichier :</label>
|
|
|
|
|
<input type="number" id="expiration" min="1" max="30" /> jour(s)
|
|
|
|
|
</p>
|
2021-05-08 23:16:09 +02:00
|
|
|
|
<p id="maxdownload" class="jsonly" style="display: none;">
|
2021-05-08 22:46:12 +02:00
|
|
|
|
<label for="maxdl">Nombre maximal de téléchargements :</label>
|
|
|
|
|
<input type="number" id="maxdl" min="1" />
|
|
|
|
|
</p>
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
<div class="jsonly" style="display: none;" id="links-container">
|
|
|
|
|
<ul id="links">
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script src="/scripts/upload.js"></script>
|
2021-05-08 15:23:46 +02:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|