fix comments
This commit is contained in:
104
admin/scripts_distants/wifi/login.html
Normal file
104
admin/scripts_distants/wifi/login.html
Normal file
@@ -0,0 +1,104 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head lang="fr">
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<style type="text/css">
|
||||
html,body{
|
||||
height:100%;
|
||||
padding:0;
|
||||
margin:0;
|
||||
}
|
||||
#header{
|
||||
position: relative;
|
||||
padding-top: 10px;
|
||||
padding-left: 190px;
|
||||
background: url(%%IMAGE:logoIUT_tn.jpg%%) no-repeat scroll 10px center transparent;
|
||||
}
|
||||
#app-name{
|
||||
background: none repeat scroll 0% 0% rgb(167, 168, 170);
|
||||
font-family: "Verdana",Verdana,sans-serif;
|
||||
font-size: 2.2em;
|
||||
padding-top: 55px;
|
||||
padding-bottom: 45px;
|
||||
padding-left: 20px;
|
||||
color: rgb(255,255,255);
|
||||
}
|
||||
|
||||
form{
|
||||
background: none repeat scroll 0% 0% rgb(167, 168, 170);
|
||||
min-height: 8em;
|
||||
padding: 15px;
|
||||
position: relative;
|
||||
width: 350px;
|
||||
margin: 18px 5px 30px;
|
||||
border: 1px dotted rgb(25, 42, 137);
|
||||
color: rgb(255,255,255);
|
||||
font-family: Verdana, sans-serif;
|
||||
text-align: center;
|
||||
}
|
||||
.fer{
|
||||
text-align: left;
|
||||
font-size: 75%;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
input{
|
||||
border-width: 1px;
|
||||
}
|
||||
h2{
|
||||
margin:25px 10px;
|
||||
font-weight:bold;
|
||||
text-align:center;
|
||||
}
|
||||
</style>
|
||||
<title>
|
||||
Authentification WIFI IUT
|
||||
</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<div id="app-name">
|
||||
Authentification WIFI IUT
|
||||
</div>
|
||||
</div>
|
||||
<form action="%%AUTH_POST_URL%%" method="post" onsubmit="getU();">
|
||||
Entrez votre compte et votre mot de passe de l'IUT
|
||||
<input type="hidden" name="%%REDIRID%%" value= "%%PROTURI%%"/>
|
||||
<input type="hidden" name="%%MAGICID%%" value="%%MAGICVAL%%"/>
|
||||
<div class="fer">
|
||||
<label for="ft_un">
|
||||
compte (tronqué à 20 caractères):
|
||||
<br>
|
||||
</label>
|
||||
|
||||
<input name="%%USERNAMEID%%" id="ft_un" style="width:245px" tabindex="1" autofocus/>
|
||||
<br>
|
||||
</div>
|
||||
<div class="fer">
|
||||
<label for="ft_pd">
|
||||
Mot de passe :
|
||||
<br>
|
||||
</label>
|
||||
|
||||
<input name="%%PASSWORDID%%" id="ft_pd" type="password" style="width:245px" tabindex="2"/>
|
||||
</div>
|
||||
<input type="submit" value= "Valider">
|
||||
</form>
|
||||
<script>
|
||||
var cookieName = "winlog"; // nom du cookie
|
||||
var delay = 60; // délai de vie en secondes
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime() + (delay * 1000));
|
||||
var expires = ";expires=" + date.toGMTString();
|
||||
|
||||
var getU = function() {
|
||||
var el_u = document.getElementById("ft_un");
|
||||
if (el_u) {
|
||||
var cookieString = cookieName + "=" + encodeURIComponent(el_u.value) + expires + ";domain=iut-rodez.fr;path=/";
|
||||
document.cookie = cookieString;
|
||||
}
|
||||
};
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user