Subversion Repositories ALCASAR

Compare Revisions

No changes between revisions

Ignore whitespace Rev 644 → Rev 647

/web/images/img_status_fail.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+image/png
\ No newline at end of property
/web/images/bg_strength_gradient.jpg
Cannot display: file marked as a binary type.
svn:mime-type = image/jpeg
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+image/jpeg
\ No newline at end of property
/web/images/img_status_fail.gif
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/web/images/img_status_exceed.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+image/png
\ No newline at end of property
/web/images/img_status_pass.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+image/png
\ No newline at end of property
/web/images/img_status_warn.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+image/png
\ No newline at end of property
/web/images/img_status_exceed.gif
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/web/images/img_status_pass.gif
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/web/images/img_status_warn.gif
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/web/images/img_status_meet.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+image/png
\ No newline at end of property
/web/images/img_status_meet.gif
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:executable
+*
\ No newline at end of property
Added: svn:mime-type
+application/octet-stream
\ No newline at end of property
/web/pass/index.php
3,6 → 3,8
# Copyright (C) 2003, 2004 Mondru AB.
# Copyright (C) 2008-2009 ANGEL95 & REXY
 
 
 
require('/etc/freeradius-web/config.php');
 
$current_page = $_SERVER['PHP_SELF'];
14,51 → 16,71
$Language = strtolower(substr(chop($Langue[0]),0,2)); }
if($Language == 'es'){
$R_title = "User password change";
$R_text_chg = "Change your password here -- Eplain how to change password --";
$R_form_l1 = "User";
$R_form_l2 = "Old password";
$R_form_l3 = "New password";
$R_form_l4 = "New password (confirmation)";
$R_form_button = "Modify";
$R_eval_pass = "Score :";
$R_passwordmeter = "Powered by <a href=\"http://www.shibbo.com/pwdmeter.php\" target=\"_blank\">Shibbo Password Analyser</a>";
$R_form_button_valid = "Modify";
$R_form_button_retour = "Cancel";
$R_form_result1 = "Your password has been successfuly changed";
$R_form_result2 = "Error when trying to change password";
$R_retour = "ALCASAR home page";}
if($Language == 'de'){
$R_title = "User password change";
$R_text_chg = "Change your password here -- Eplain how to change password --";
$R_form_l1 = "User";
$R_form_l2 = "Old password";
$R_form_l3 = "New password";
$R_form_l4 = "New password (confirmation)";
$R_form_button = "Modify";
$R_eval_pass = "Score :";
$R_passwordmeter = "Powered by <a href=\"http://www.shibbo.com/pwdmeter.php\" target=\"_blank\">Shibbo Password Analyser</a>";
$R_form_button_valid = "Modify";
$R_form_button_retour = "Cancel";
$R_form_result1 = "Your password has been successfuly changed";
$R_form_result2 = "Error when trying to change password";
$R_retour = "ALCASAR home page";}
if($Language == 'nl'){
$R_title = "User password change";
$R_text_chg = "Change your password here -- Eplain how to change password --";
$R_form_l1 = "User";
$R_form_l2 = "Old password";
$R_form_l3 = "New password";
$R_form_l4 = "New password (confirmation)";
$R_form_button = "Modify";
$R_eval_pass = "Score :";
$R_passwordmeter = "Powered by <a href=\"http://www.shibbo.com/pwdmeter.php\" target=\"_blank\">Shibbo Password Analyser</a>";
$R_form_button_valid = "Modify";
$R_form_button_retour = "Cancel";
$R_form_result1 = "Your password has been successfuly changed";
$R_form_result2 = "Error when trying to change password";
$R_retour = "ALCASAR home page";}
if($Language == 'en'){
$R_title = "User password change";
$R_text_chg = "Change your password here -- Eplain how to change password --";
$R_form_l1 = "User";
$R_form_l2 = "Old password";
$R_form_l3 = "New password";
$R_form_l4 = "New password (confirmation)";
$R_form_button = "Modify";
$R_eval_pass = "Score :";
$R_passwordmeter = "Powered by <a href=\"http://www.shibbo.com/pwdmeter.php\" target=\"_blank\">Shibbo Password Analyser</a>";
$R_form_button_valid = "Modify";
$R_form_button_retour = "Cancel";
$R_form_result1 = "Your password has been successfuly changed";
$R_form_result2 = "Error when trying to change password";
$R_retour = "ALCASAR home page";}
if($Language == 'fr'){
$R_title = "Changement de mot de passe utilisateur";
$R_form_l1 = "Utilisateur";
$R_form_l2 = "Ancien mot de passe";
$R_form_l3 = "nouveau mot de passe";
$R_form_l4 = "nouveau mot de passe (confirmation)";
$R_form_button = "Modifier";
$R_text_chg = "Changez votre mot de passe d'acc&egrave;s &agrave; internet en utilisant le formulaire ci-dessous.";
$R_form_l1 = "Utilisateur :";
$R_form_l2 = "Ancien mot de passe :";
$R_form_l3 = "Nouveau mot de passe :";
$R_form_l4 = "Nouveau mot de passe (confirmation) :";
$R_eval_pass = "";
$R_passwordmeter = "Propuls� par <a href=\"http://www.shibbo.com/pwdmeter.php\" target=\"_blank\">Shibbo Password Analyser</a>";
$R_form_button_valid = "Modifier";
$R_form_button_retour = "Annuler";
$R_form_result1 = "Votre mot de passe a &eacute;t&eacute; modifi&eacute; avec succ&egrave;s";
$R_form_result2 = "Erreur de changement de mot de passe";
$R_retour = "Retour &agrave; la page d'accueil ALCASAR";
70,34 → 92,243
<meta http-equiv=\"Cache-control\" content=\"no-cache\">
<meta http-equiv=\"Pragma\" content=\"no-cache\">
<link rel=\"stylesheet\" href=\"../css/pass.css\" type=\"text/css\">
<link type=\"text/css\" href=\"../css/pwdmeter.css\" media=\"screen\" rel=\"stylesheet\" />
<!--[if lt IE 7]>
<link type=\"text/css\" href=\"../css/ie.css\" media=\"screen\" rel=\"stylesheet\" />
<![endif]-->
<script type=\"text/javascript\" src=\"js/pwdmeter.js\" language=\"javascript\"></script>
</head>
<body>
<div id=\"page\">
<div id=\"block_pass\">
<form name=\"master\" action=\"$current_page\" method=\"post\">
<input type=hidden name=action value=checkpass>
<p id=\"titre_pass\">$R_title</p>
<table id=\"champs_pass\">
<tr>
<td class=\"first_item\">$R_form_l1</td>
<td><input type=\"text\" name=\"login\" value=\"\" label=\"test\"></td>
</tr>
<tr>
<td class=\"first_item\">$R_form_l2</td>
<td><input type=\"password\" name=\"passwd\" value=\"\"></td>
</tr>
<tr>
<td class=\"first_item\">$R_form_l3</td>
<td><input type=\"password\" name=\"newpasswd\" value=\"\"></td>
</tr>
<tr>
<td class=\"first_item\">$R_form_l4</td>
<td><input type=\"password\" name=\"newpasswd2\" value=\"\"></td>
</tr>
</table>
<span><a href=\"http://alcasar\">$R_retour</a></span>
<input type=\"submit\" class=\"button\" id=\"btn_pass\" value=\"$R_form_button\">
<div id=\"pass_chg\">
<img src=\"../images/organisme.png\" />
<h1 id=\"titre_pass\">$R_title</h1>
<p id=\"help_pass\">$R_text_chg</p>
</div>
<div id=\"pass_chg_content\">
<form name=\"master\" action=\"$current_page\" method=\"post\">
<input type=hidden name=action value=checkpass>
<table id=\"champs_pass\">
<tr>
<td class=\"first_item\">$R_form_l1</td>
<td><input type=\"text\" name=\"login\" value=\"\" label=\"test\"></td>
</tr>
<tr>
<td class=\"first_item\">$R_form_l2</td>
<td><input type=\"password\" name=\"passwd\" value=\"\"></td>
</tr>
<tr>
<td class=\"first_item\">$R_form_l3</td>
<td>
<input type=\"password\" name=\"newpasswd\" id=\"passwordPwd\" value=\"\" autocomplete=\"off\" onkeyup=\"chkPass(this.value);\" />
<input type=\"text\" id=\"passwordTxt\" name=\"passwordTxt\" autocomplete=\"off\" onkeyup=\"chkPass(this.value);\" class=\"hide\" />
</td>
</tr>
<tr>
<td class=\"first_item\">$R_eval_pass</td>
<td>
<div id=\"scorebarBorder\">
<div id=\"score\">0%</div>
<div id=\"scorebar\">&nbsp;</div>
</div>
<div id=\"complexity\"></div>
</td>
</tr>
<tr>
<td colspan=\"2\" id=\"lien_pass\">$R_passwordmeter</td>
</tr>
<tr>
<td class=\"first_item\">$R_form_l4</td>
<td><input type=\"password\" name=\"newpasswd2\" value=\"\"></td>
</tr>
</table>
<input type=\"submit\" class=\"btn_form\" id=\"btn_pass\" value=\"$R_form_button_valid\">
<input type=\"button\" class=\"btn_form\" id=\"btn_retour\" value=\"$R_form_button_retour\" onclick=\"location.replace('http://alcasar');\">
</div>
</div>
<div id=\"info_pass\">
<table id=\"tablePwdStatus\" cellpadding=\"5\" cellspacing=\"1\" border=\"0\">
<tr>
<th colspan=\"2\">Additions</th>
<th class=\"txtCenter\">Type</th>
<th class=\"txtCenter\">Rate</th>
<th class=\"txtCenter\">Count</th>
<th class=\"txtCenter\">Bonus</th>
</tr>
<tr>
<td width=\"1%\"><div id=\"div_nLength\" class=\"fail\">&nbsp;</div></td>
<td width=\"94%\">Number of Characters</td>
<td width=\"1%\" class=\"txtCenter\">Flat</td>
<td width=\"1%\" class=\"txtCenter italic\">+(n*4)</td>
<td width=\"1%\"><div id=\"nLength\" class=\"box\">&nbsp;</div></td>
<td width=\"1%\"><div id=\"nLengthBonus\" class=\"boxPlus\">&nbsp;</div></td>
</tr>
<tr>
<td><div id=\"div_nAlphaUC\" class=\"fail\">&nbsp;</div></td>
<td>Uppercase Letters</td>
<td class=\"txtCenter\">Cond/Incr</td>
<td nowrap=\"nowrap\" class=\"txtCenter italic\">+((len-n)*2)</td>
<td><div id=\"nAlphaUC\" class=\"box\">&nbsp;</div></td>
<td><div id=\"nAlphaUCBonus\" class=\"boxPlus\">&nbsp;</div></td>
</tr>
<tr>
<td><div id=\"div_nAlphaLC\" class=\"fail\">&nbsp;</div></td>
<td>Lowercase Letters</td>
<td class=\"txtCenter\">Cond/Incr</td>
<td class=\"txtCenter italic\">+((len-n)*2)</td>
<td><div id=\"nAlphaLC\" class=\"box\">&nbsp;</div></td>
<td><div id=\"nAlphaLCBonus\" class=\"boxPlus\">&nbsp;</div></td>
</tr>
<tr>
<td><div id=\"div_nNumber\" class=\"fail\">&nbsp;</div></td>
<td>Numbers</td>
<td class=\"txtCenter\">Cond</td>
<td class=\"txtCenter italic\">+(n*4)</td>
<td><div id=\"nNumber\" class=\"box\">&nbsp;</div></td>
<td><div id=\"nNumberBonus\" class=\"boxPlus\">&nbsp;</div></td>
</tr>
<tr>
<td><div id=\"div_nSymbol\" class=\"fail\">&nbsp;</div></td>
<td>Symbols</td>
<td class=\"txtCenter\">Flat</td>
<td class=\"txtCenter italic\">+(n*6)</td>
<td><div id=\"nSymbol\" class=\"box\">&nbsp;</div></td>
<td><div id=\"nSymbolBonus\" class=\"boxPlus\">&nbsp;</div></td>
</tr>
<tr>
<td><div id=\"div_nMidChar\" class=\"fail\">&nbsp;</div></td>
<td>Middle Numbers or Symbols</td>
<td class=\"txtCenter\">Flat</td>
<td class=\"txtCenter italic\">+(n*2)</td>
<td><div id=\"nMidChar\" class=\"box\">&nbsp;</div></td>
<td><div id=\"nMidCharBonus\" class=\"boxPlus\">&nbsp;</div></td>
</tr>
<tr>
<td><div id=\"div_nRequirements\" class=\"fail\">&nbsp;</div></td>
<td>Requirements</td>
<td class=\"txtCenter\">Flat</td>
<td class=\"txtCenter italic\">+(n*2)</td>
<td><div id=\"nRequirements\" class=\"box\">&nbsp;</div></td>
<td><div id=\"nRequirementsBonus\" class=\"boxPlus\">&nbsp;</div></td>
</tr>
<tr>
<th colspan=\"6\">Deductions</th>
</tr>
<tr>
<td width=\"1%\"><div id=\"div_nAlphasOnly\" class=\"pass\">&nbsp;</div></td>
<td width=\"94%\">Letters Only</td>
<td width=\"1%\" class=\"txtCenter\">Flat</td>
<td width=\"1%\" class=\"txtCenter italic\">-n</td>
<td width=\"1%\"><div id=\"nAlphasOnly\" class=\"box\">&nbsp;</div></td>
<td width=\"1%\"><div id=\"nAlphasOnlyBonus\" class=\"boxMinus\">&nbsp;</div></td>
</tr>
<tr>
<td><div id=\"div_nNumbersOnly\" class=\"pass\">&nbsp;</div></td>
<td>Numbers Only</td>
<td class=\"txtCenter\">Flat</td>
<td class=\"txtCenter italic\">-n</td>
<td><div id=\"nNumbersOnly\" class=\"box\">&nbsp;</div></td>
<td><div id=\"nNumbersOnlyBonus\" class=\"boxMinus\">&nbsp;</div></td>
</tr>
<tr>
<td><div id=\"div_nRepChar\" class=\"pass\">&nbsp;</div></td>
<td>Repeat Characters (Case Insensitive)</td>
<td class=\"txtCenter\">Comp</td>
<td nowrap=\"nowrap\" class=\"txtCenter italic\"> - </td>
<td><div id=\"nRepChar\" class=\"box\">&nbsp;</div></td>
<td><div id=\"nRepCharBonus\" class=\"boxMinus\">&nbsp;</div></td>
</tr>
<tr>
<td><div id=\"div_nConsecAlphaUC\" class=\"pass\">&nbsp;</div></td>
<td>Consecutive Uppercase Letters</td>
<td class=\"txtCenter\">Flat</td>
<td class=\"txtCenter italic\">-(n*2)</td>
<td><div id=\"nConsecAlphaUC\" class=\"box\">&nbsp;</div></td>
<td><div id=\"nConsecAlphaUCBonus\" class=\"boxMinus\">&nbsp;</div></td>
</tr>
<tr>
<td><div id=\"div_nConsecAlphaLC\" class=\"pass\">&nbsp;</div></td>
<td>Consecutive Lowercase Letters</td>
<td class=\"txtCenter\">Flat</td>
<td class=\"txtCenter italic\">-(n*2)</td>
<td><div id=\"nConsecAlphaLC\" class=\"box\">&nbsp;</div></td>
<td><div id=\"nConsecAlphaLCBonus\" class=\"boxMinus\">&nbsp;</div></td>
</tr>
<tr>
<td><div id=\"div_nConsecNumber\" class=\"pass\">&nbsp;</div></td>
<td>Consecutive Numbers</td>
<td class=\"txtCenter\">Flat</td>
<td class=\"txtCenter italic\">-(n*2)</td>
<td><div id=\"nConsecNumber\" class=\"box\">&nbsp;</div></td>
<td><div id=\"nConsecNumberBonus\" class=\"boxMinus\">&nbsp;</div></td>
</tr>
<tr>
<td><div id=\"div_nSeqAlpha\" class=\"pass\">&nbsp;</div></td>
<td>Sequential Letters (3+)</td>
<td class=\"txtCenter\">Flat</td>
<td class=\"txtCenter italic\">-(n*3)</td>
<td><div id=\"nSeqAlpha\" class=\"box\">&nbsp;</div></td>
<td><div id=\"nSeqAlphaBonus\" class=\"boxMinus\">&nbsp;</div></td>
</tr>
<tr>
<td><div id=\"div_nSeqNumber\" class=\"pass\">&nbsp;</div></td>
<td>Sequential Numbers (3+)</td>
<td class=\"txtCenter\">Flat</td>
<td class=\"txtCenter italic\">-(n*3)</td>
<td><div id=\"nSeqNumber\" class=\"box\">&nbsp;</div></td>
<td><div id=\"nSeqNumberBonus\" class=\"boxMinus\">&nbsp;</div></td>
</tr>
<tr>
<td><div id=\"div_nSeqSymbol\" class=\"pass\">&nbsp;</div></td>
<td>Sequential Symbols (3+)</td>
<td class=\"txtCenter\">Flat</td>
<td class=\"txtCenter italic\">-(n*3)</td>
<td><div id=\"nSeqSymbol\" class=\"box\">&nbsp;</div></td>
<td><div id=\"nSeqSymbolBonus\" class=\"boxMinus\">&nbsp;</div></td>
</tr>
<tr>
<th colspan=\"6\">Legend</th>
</tr>
<tr>
<td colspan=\"6\">
<ul id=\"listLegend\">
<li><div class=\"exceed imgLegend\">&nbsp;</div> <span class=\"bold\">Exceptional:</span> Exceeds minimum standards. Additional bonuses are applied.</li>
<li><div class=\"pass imgLegend\">&nbsp;</div> <span class=\"bold\">Sufficient:</span> Meets minimum standards. Additional bonuses are applied.</li>
<li><div class=\"warn imgLegend\">&nbsp;</div> <span class=\"bold\">Warning:</span> Advisory against employing bad practices. Overall score is reduced.</li>
<li><div class=\"fail imgLegend\">&nbsp;</div> <span class=\"bold\">Failure:</span> Does not meet the minimum standards. Overall score is reduced.</li>
</ul>
</td>
</tr>
</table>
<table id=\"tablePwdNotes\" cellpadding=\"5\" cellspacing=\"1\" border=\"0\">
<tr>
<th>Quick Footnotes</th>
</tr>
<tr>
<td>
&bull; <strong>Flat:</strong> Rates that add/remove in non-changing increments.<br />
&bull; <strong>Incr:</strong> Rates that add/remove in adjusting increments.<br />
&bull; <strong>Cond:</strong> Rates that add/remove depending on additional factors.<br />
&bull; <strong>Comp:</strong> Rates that are too complex to summarize. See source code for details.<br />
&bull; <strong>n:</strong> Refers to the total number of occurrences.<br />
&bull; <strong>len:</strong> Refers to the total password length.<br />
&bull; Additional bonus scores are given for increased character variety.<br />
&bull; Final score is a cumulative result of all bonuses minus deductions.<br />
&bull; Final score is capped with a minimum of 0 and a maximum of 100.<br />
&bull; Score and Complexity ratings are not conditional on meeting minimum requirements.<br />
</td>
</tr>
<tr>
<th>DISCLAIMER</th>
</tr>
<tr>
<td>
<p>This application is designed to assess the strength of password strings. The instantaneous visual feedback provides the user a means to improve the strength of their passwords, with a hard focus on breaking the typical bad habits of faulty password formulation. Since no official weighting system exists, we created our own formulas to assess the overall strength of a given password. Please note, that this application does not utilize the typical \"days-to-crack\" approach for strength determination. We have found that particular system to be severely lacking and unreliable for real-world scenarios. This application is neither perfect nor foolproof, and should only be utilized as a loose guide in determining methods for improving the password creation process. </p>
</td>
</tr>
</table>
</div>
</div>
";
 
110,33 → 341,33
if (isset($action)){
if ($action == 'checkpass'){
$link = @da_sql_pconnect($config);
if ($link){
$res = @da_sql_query($link,$config,
"SELECT attribute,value FROM $config[sql_check_table] WHERE username = '$login'
AND attribute = '$config[sql_password_attribute]';");
if ($res){
$row = @da_sql_fetch_array($res,$config);
if (is_file("crypt/$config[general_encryption_method].php")){
include("crypt/$config[general_encryption_method].php");
$enc_passwd = $row['value'];
$passwd = da_encrypt($passwd,$enc_passwd);
$newpasswd = da_encrypt($newpasswd,$enc_passwd);
$newpasswd2 = da_encrypt($newpasswd2,$enc_passwd);
if (($passwd == $enc_passwd) and ($newpasswd == $newpasswd2)){
$msg = '<font color=blue><b>'.$R_form_result1.'</b></font>';
$res2 = @da_sql_query($link,$config,
"UPDATE $config[sql_check_table] set value='$newpasswd' WHERE username = '$login'
AND attribute = '$config[sql_password_attribute]';");}
if ($link){
$res = @da_sql_query($link,$config,
"SELECT attribute,value FROM $config[sql_check_table] WHERE username = '$login'
AND attribute = '$config[sql_password_attribute]';");
if ($res){
$row = @da_sql_fetch_array($res,$config);
if (is_file("crypt/$config[general_encryption_method].php")){
include("crypt/$config[general_encryption_method].php");
$enc_passwd = $row['value'];
$passwd = da_encrypt($passwd,$enc_passwd);
$newpasswd = da_encrypt($newpasswd,$enc_passwd);
$newpasswd2 = da_encrypt($newpasswd2,$enc_passwd);
if (($passwd == $enc_passwd) and ($newpasswd == $newpasswd2)){
$msg = '<font color=blue><b>'.$R_form_result1.'</b></font>';
$res2 = @da_sql_query($link,$config,
"UPDATE $config[sql_check_table] set value='$newpasswd' WHERE username = '$login'
AND attribute = '$config[sql_password_attribute]';");}
else
$msg = '<font color=red><b>'.$R_form_result2.'</b></font>';
}
else
$msg = '<font color=red><b>'.$R_form_result2.'</b></font>';
echo "<b>Could not open encryption library file</b><br>\n";
}
else
echo "<b>Could not open encryption library file</b><br>\n";
}
echo "<span align=center>$msg</span>\n";
}
echo "<span align=center>$msg</span>\n";
}
}
?>
</body>
</html>
/web/css/ie.css
0,0 → 1,11
/* Begin hacks for IE and all it's non-compliant glory!!! */
/* \*/
 
* html div.exceed,* html div.fail,* html div.pass,* html div.warn { background-image: none !important; }
* html div.exceed { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true', sizingMethod='crop', src='../images/img_status_exceed.png'); }
* html div.fail { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true', sizingMethod='crop', src='../images/img_status_fail.png'); }
* html div.pass { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true', sizingMethod='crop', src='../images/img_status_pass.png'); }
* html div.warn { filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled='true', sizingMethod='crop', src='../images/img_status_warn.png'); }
 
/* */
/* End hacks for IE */
Property changes:
Added: svn:executable
+*
\ No newline at end of property
/web/css/pass.css
9,7 → 9,7
/* r?gles g?n?rales */
 
/* Couleurs de polices */
:link, :visited, :hover:link, :hover:visited {
:link, :visited, :hover:link, :hover:visited, H1 {
color: #000000;
}
BODY {
45,7 → 45,7
}
 
TABLE {
font-size: 90%;
/* font-size: 90%;*/
}
IMG {
height: 150px;
54,15 → 54,56
/*Boite de dialogue de deconnection*/
 
#page {
width: 540px;
width: 590px;
margin: 12px auto;
}
 
#pass_chg {
position: relative;
}
 
#pass_chg IMG {
position: relative;
float: left;
top: -60px;
left: -50px;
}
 
#pass_chg_content {
position: relative;
float: left;
top: -40px;
width: 100%;
}
 
#lien_pass {
font-size: 50%;
text-align: right;
}
 
#info_pass {
visibility: hidden;
position: absolute;
top: -1500px;
/* background-color: white;
width: 500px;
 
margin: 30px;
padding: 15px;
ombrage css3
 
-moz-box-shadow: 0px 0px 12px #000;
-webkit-box-shadow: 0px 0px 12px #000;
box-shadow: 0px 0px 12px #000;*/
 
}
 
#block_pass {
position: relative;
background-color: white;
width: 500px;
margin: 15px;
height: 345px;
margin: 30px;
padding: 15px;
/* ombrage css3*/
 
72,7 → 113,6
}
#block_pass SPAN {
float: left;
font-size: 80%;
margin-top: 5px;
}
 
80,36 → 120,23
font-size: 20px;
}
 
#btn_pass {
cursor: pointer;
#btn_pass, #btn_retour {
float: right;
margin-top: 20px;
height: 30px;
width: 180px;
border: none;
background: #666 url(../images/bg.png) 0 0 repeat-x;
font-weight: bold;
/* ombrage css3*/
}
 
-moz-box-shadow: 6px 6px 8px #000;
-webkit-box-shadow: 6px 6px 8px #000;
box-shadow: 6px 6px 8px #000;
#btn_pass {
}
 
#btn_retour {
margin-right: 20px;
}
 
#btn_pass:hover {
background-color: red;
/* ombrage css3*/
 
-moz-box-shadow: 6px 6px 6px #000;
-webkit-box-shadow: 6px 6px 6px #000;
box-shadow: 6px 6px 6px #000;
}
 
#champs_pass {
border: 1px solid #666;
width: 100%;
background-color: #ffffe0;
margin: auto;
}
 
#champs_pass TD {
118,13 → 145,12
 
#champs_pass TD INPUT {
border: 1px solid #aaa;
width: 185px;
width: 195px;
}
 
TD.first_item {
background-color: #d0ddb0;
text-align: center;
width: 300px;
text-align: right;
width: 255px;
}
.lien_deco {
text-align: center;
136,3 → 162,26
text-align: center;
margin-top: 30px;
}
.btn_form {
cursor: pointer;
height: 26px;
width: 130px;
border: none;
background: #999 url(../images/bg.png) 0 0 repeat-x;
font-weight: bold;
 
/* ombrage css3*/
 
-moz-box-shadow: 2px 2px 2px #000;
-webkit-box-shadow: 2px 2px 2px #000;
box-shadow: 2px 2px 2px #000;
}
.btn_form:hover {
background-color: red;
/* ombrage css3*/
 
-moz-box-shadow: 2px 2px 2px #666;
-webkit-box-shadow: 2px 2px 2px #666;
box-shadow: 2px 2px 2px #666;
}
/web/css/pwdmeter.css
0,0 → 1,228
/*body {
color: #000;
font-family: Verdana,'Trebuchet MS','Lucida Grande', Arial, sans-serif;
font-size: .8em;
line-height: 1.25em;
margin: 0;
padding: 0;
text-align: center;
}
form,input,select,textarea {
margin:0;
padding:0;
}
h1,h2,h3,h4,h5,h6
{
font-family:Georgia, Tahoma, Arial, Serif;
font-weight:normal;
line-height:1.6em;
padding: 0;
margin: 0;
}
input {
font-size: 100%;
margin-bottom: 2px;
padding: 1px;
}
ol,ul {
line-height: 1.4em;
margin-bottom: 4px;
margin-top: 4px;
}
p {
line-height: 1.4em;
margin-bottom: 5px;
margin-top: 5px;
text-align: justify;
}
table {
background: #345;
margin-bottom: 10px;
width: 100%;
}
td {
background: #eee;
text-align: left;
vertical-align: top;
}
th {
background: #456;
color: #fff;
text-align: left;
vertical-align: top;
}*/
#content {
margin: 0 auto;
padding: 10px;
text-align: left;
width: 610px;
}
#linkstop {
background: #234;
color: #fff;
margin-top: -10px;
padding: 2px;
}
#linkstop a {
color: #fff;
}
#score {
color: #000;
font-size: 85%;
position:absolute;
text-align: center;
width: 100px;
z-index: 10;
}
#score,#rating,#standards {
font-weight: bold;
}
div.exceed {
background-image: url(../images/img_status_exceed.png);
}
div.fail {
background-image: url(../images/img_status_fail.png);
}
div.pass {
background-image: url(../images/img_status_pass.png);
}
div.warn {
background-image: url(../images/img_status_warn.png);
}
#scorebar {
background-image: url(../images/bg_strength_gradient.jpg);
background-repeat: no-repeat;
background-position: 0 0;
position:absolute;
width: 100px;
z-index: 0;
font-size: 13px;
 
}
#complexity {
position: relative;
left: 10px;
}
#scorebarBorder {
background: #333;
border: 1px #000 solid;
height: 16px;
margin-bottom: 2px;
width: 100px;
float: left;
}
#password {
border: 1px #000 solid;
font-size: 85%;
width: 100px;
}
#tablePwdScoring {
margin-bottom: 0 !important;
}
#listLegend li {
list-style: none;
padding-bottom: 4px;
margin-left: 0;
padding-left: 0;
}
#listLegend {
margin-left: 0;
padding-left: 0;
}
div.fail,div.pass,div.exceed,div.warn {
background-repeat: no-repeat;
background-position: left top;
height: 16px;
margin-left: auto;
margin-right: auto;
width: 16px;
}
td.exceed,td.fail,td.pass,td.warn {
color: #fff;
font-weight: bold;
text-align: center;
}
td.exceed {
background: #1C60A4;
}
td.fail {
background: #C00;
}
td.pass {
background: #093;
}
td.warn {
background: #f60;
}
div.box {
background: #456;
border: 1px #000 solid;
color: #fff;
height: 16px;
padding: 2px;
white-space: nowrap;
width: 38px;
}
div.boxMinus,div.boxPlus {
border: none;
color: #fff;
font-weight: bold;
padding: 2px;
text-align: left;
white-space: nowrap;
}
td.footnote {
background: #ddd;
font-size: 70%;
}
.bold {
font-weight: bold;
}
.clearNone {
clear: none;
}
.floatRight {
float: right;
}
.floatLeft {
float: left;
}
.hide {
display: none;
}
.imgLegend {
clear: left !important;
float: left !important;
position: relative !important;
margin-bottom: -3px !important;
margin-right: 5px !important;
}
.inline {
display: inline;
}
.italic {
font-style: italic;
}
.noPad {
padding: 0;
}
.show {
display: inline !important;
}
.txtLg {
font-size: 125%;
}
.txtSmall {
font-size: 75%;
}
.txtCenter {
text-align: center;
}
.txtRight {
text-align: right;
}
div.xtend {
clear: both !important;
line-height: 0;
height: 0;
}
Property changes:
Added: svn:executable
+*
\ No newline at end of property