Ajout fichiers du portail actuel
This commit is contained in:
commit
28120dde8c
10
README.md
Normal file
10
README.md
Normal file
@ -0,0 +1,10 @@
|
||||
# Portail captif wifi IUTF
|
||||
|
||||
Page de connexion : [`html.html`](./html.html)
|
||||
Page d'erreur : [`err.html`](./err.html)
|
||||
|
||||
Le nom des autres fichiers (html/php/js/css/images) doivent commencer par `captive-portal-`.
|
||||
|
||||
Documentation pfsense :
|
||||
- https://docs.netgate.com/pfsense/en/latest/captiveportal/configuration.html#html-page-contents
|
||||
- https://docs.netgate.com/pfsense/en/latest/captiveportal/file-manager.html
|
BIN
captiveportal-background.jpg
Normal file
BIN
captiveportal-background.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 225 KiB |
BIN
captiveportal-logoiut.png
Normal file
BIN
captiveportal-logoiut.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.5 KiB |
89
err.html
Normal file
89
err.html
Normal file
@ -0,0 +1,89 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Authentification requise</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<style type="text/css">
|
||||
body {
|
||||
background: url(captiveportal-background.jpg) white center no-repeat fixed;
|
||||
}
|
||||
|
||||
#login {
|
||||
padding:0 1%;
|
||||
background-color:white;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
border:1px solid black;
|
||||
width:650px;
|
||||
height:350px;
|
||||
text-align:center;
|
||||
position:absolute;
|
||||
top:50%;
|
||||
left:50%;
|
||||
margin-top:-160px;
|
||||
margin-left:-325px;
|
||||
}
|
||||
|
||||
form {
|
||||
width:520px;
|
||||
margin:auto;
|
||||
}
|
||||
|
||||
#logo {
|
||||
float: left;
|
||||
padding-right:20px;
|
||||
}
|
||||
|
||||
#fields {
|
||||
padding-top:30px;
|
||||
}
|
||||
|
||||
.formrow {
|
||||
text-align:left;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
|
||||
label {
|
||||
float:left;
|
||||
width:150px;
|
||||
}
|
||||
|
||||
input[type=submit] {
|
||||
clear:both;
|
||||
margin-top:10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="login">
|
||||
<div id="formulaire">
|
||||
<h3 class="title">Portail d'authentification de l'IUT de Sénart/Fontainebleau</h3>
|
||||
<h3 class="title">Site de Fontainebleau</h3>
|
||||
<form method="post" action="$PORTAL_ACTION$">
|
||||
<div style="display: flex;">
|
||||
<img id="logo" src="captiveportal-logoiut.png" alt="Département Informatique" height="100" width="150">
|
||||
<div>
|
||||
<p style="color:red">$PORTAL_MESSAGE$</p>
|
||||
<div id="fields">
|
||||
<div class="formrow">
|
||||
<label for="user">Identifiant :</label>
|
||||
<input id="user" name="auth_user" type="text">
|
||||
</div>
|
||||
<div class="formrow">
|
||||
<label for="mdp">Mot de passe :</label>
|
||||
<input id="mdp" name="auth_pass" type="password">
|
||||
</div>
|
||||
</div>
|
||||
<input name="auth_voucher" value="" type="hidden">
|
||||
<input name="redirurl" value="$PORTAL_REDIRURL$" type="hidden">
|
||||
<input name="zone" type="hidden" value="$PORTAL_ZONE$">
|
||||
<input name="accept" type="submit">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<p style="clear:left; margin-bottom:0;"><small>Utilisez votre compte informatique de l'IUT pour vous connecter.</small></p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
88
html.html
Normal file
88
html.html
Normal file
@ -0,0 +1,88 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Authentification requise</title>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<style type="text/css">
|
||||
body {
|
||||
background: url(captiveportal-background.jpg) white center no-repeat fixed;
|
||||
}
|
||||
|
||||
#login {
|
||||
padding:0 1%;
|
||||
background-color:white;
|
||||
background: rgba(255, 255, 255, 0.9);
|
||||
border:1px solid black;
|
||||
width:650px;
|
||||
height:350px;
|
||||
text-align:center;
|
||||
position:absolute;
|
||||
top:50%;
|
||||
left:50%;
|
||||
margin-top:-160px;
|
||||
margin-left:-325px;
|
||||
}
|
||||
|
||||
form {
|
||||
width:520px;
|
||||
margin:auto;
|
||||
}
|
||||
|
||||
#logo {
|
||||
float: left;
|
||||
padding-right:20px;
|
||||
}
|
||||
|
||||
#fields {
|
||||
padding-top:30px;
|
||||
}
|
||||
|
||||
.formrow {
|
||||
text-align:left;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
|
||||
label {
|
||||
float:left;
|
||||
width:150px;
|
||||
}
|
||||
|
||||
input[type=submit] {
|
||||
clear:both;
|
||||
margin-top:10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="login">
|
||||
<div id="formulaire">
|
||||
<h3 class="title">Portail d'authentification de l'IUT de Sénart/Fontainebleau</h3>
|
||||
<h3 class="title">Site de Fontainebleau</h3>
|
||||
<form method="post" action="$PORTAL_ACTION$">
|
||||
<div style="display: flex;">
|
||||
<img id="logo" src="captiveportal-logoiut.png" alt="Département Informatique" height="100" width="150">
|
||||
<div>
|
||||
<div id="fields">
|
||||
<div class="formrow">
|
||||
<label for="user">Identifiant :</label>
|
||||
<input id="user" name="auth_user" type="text">
|
||||
</div>
|
||||
<div class="formrow">
|
||||
<label for="mdp">Mot de passe :</label>
|
||||
<input id="mdp" name="auth_pass" type="password">
|
||||
</div>
|
||||
</div>
|
||||
<input name="auth_voucher" value="" type="hidden">
|
||||
<input name="redirurl" value="$PORTAL_REDIRURL$" type="hidden">
|
||||
<input name="zone" type="hidden" value="$PORTAL_ZONE$">
|
||||
<input name="accept" type="submit">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<p style="clear:left; margin-bottom:0;"><small>Utilisez votre compte informatique de l'IUT pour vous connecter.</small></p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user