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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="Webmin_fichiers/Refresh.css" type="text/css" />
<title>Acceuil</title>
<script type="text/javascript">
function ActiverChamps(choix) {
if (choix.value==2) {
choix.form.ipd.disabled=false;
choix.form.ipd.focus();
} else {
choix.form.ipd.disabled=true;
}
}
</script>
</head>
<body>
<form name="f" method="post" action="/Parefeu/ip">
<select name="choix">
<option value="1" onclick="ActiverChamps(this)">Une seule adresse</option>
<option value="2" onclick="ActiverChamps(this)">Plage d'adresses</option>
</select>
<input type="text" name="ips" />
<input type="text" name="ipd" value="champ à désactiver" disabled="disabled" />
<select name="act">
<option>ACCEPT</option>
<option>DROP</option>
</select>
<br />
<input type="submit" value="valider" />
</form>
</body>
</html> |