diff options
Diffstat (limited to 'f/index.php')
-rw-r--r-- | f/index.php | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/f/index.php b/f/index.php new file mode 100644 index 0000000..cbd408b --- /dev/null +++ b/f/index.php @@ -0,0 +1,54 @@ +<?php + +if ($_SERVER['SERVER_NAME'] !== "flsh.sytes.net") { + header("Location: /"); + die(); +} + +?> +<!DOCTYPE html> +<html> + +<head> + <title>Accueil | Familine Share</title> + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> + <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> + <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> +</head> + +<body> +<div style="margin-top:50px;text-align:center;" class="container"> + <h1>Bienvenue sur Familine Share !</h1> + <p>Familine Share est une plateforme privée<sup>(1)</sup> de partage de fichiers. Si vous n'avez pas de code pour télécharger un fichier, vous pouvez utiliser votre compte Familine si vous en avez un. Si vous n'avez pas de compte Familine, vous ne pouvez pas utiliser Familine Share<sup>(2)</sup>.</p> + <h2>Je dispose d'un code</h2> + <div class="input-group mb-3" style="max-width:550px;margin-left:auto;margin-right:auto;font-size:26px;"> + <input type="text" class="form-control" id="fd" placeholder="Code du fichier" style="font-size:26px;"> + <div class="input-group-append"> + <button class="btn btn-success" style="font-size:26px;" type="submit" onclick="location.href='/f/'+document.getElementById('fd').value;">Continuer</button> + </div> + </div> + <style> + #fd { + font-family: var(--font-family-monospace); + font-size: 18px !important; + padding: 26px .75rem; + } + #fd::placeholder { + font-family: var(--font-family-sans-serif); + font-size: 26px; + } + </style> + <h2>Je ne dispose pas d'un code, mais j'ai un compte Familine</h2> + <p>Si vous avez un compte Familine ou que vous utilisez l'instance JetBrains Space de Familine, vous pouvez partager de nouveaux fichiers et voir les fichiers que vous avez partagés depuis le <a href="https://share.familine.mooo.com">tableau de bord Familine Share</a>.</p> +</div> +<div class="container"> + <hr style="width:10%;margin-left:0;margin-top:50px;"> + <small> + <sup>(1)</sup> L'utilisation de la plateforme est réservée aux personnes possédant un compte Familine et ne permet de partager que 200 Mo de fichiers à la fois.<br> + <sup>(2)</sup> Pour obtenir un compte Familine, vous devez envoyer une demande de création de compte <a href="https://familine.ddns.net/fwk/#/index.php/Sp%C3%A9cial:Demander_un_compte">depuis le site officiel de Familine</a>. + </small> +</div> +</body> + +</html> |