fix layout

This commit is contained in:
Uwe Steinmann 2021-05-12 09:36:39 +02:00
parent 1575cdb154
commit c60f8f660d
2 changed files with 7 additions and 11 deletions

View File

@ -61,17 +61,13 @@ document.form1.newpassword.focus();
$this->contentContainerStart();
$this->formField(
getMLText("password"),
'<input class="pwd" type="password" rel="strengthbar" name="newpassword" id="password">'
'<input class="pwd form-control" type="password" rel="strengthbar" name="newpassword" id="password">'
);
if($passwordstrength > 0) {
?>
<div class="control-group">
<label class="control-label"><?php printMLText("password_strength");?>:</label>
<div class="controls">
<div id="strengthbar" class="progress" style="width: 220px; height: 30px; margin-bottom: 8px;"><div class="bar bar-danger" style="width: 0%;"></div></div>
</div>
</div>
<?php
$this->formField(
getMLText("password_strength"),
'<div id="strengthbar" class="progress" style="_width: 220px; height: 30px; margin-bottom: 8px;"><div class="bar bar-danger" style="width: 0%;"></div></div>'
);
}
$this->formField(
getMLText("confirm_pwd"),

View File

@ -93,12 +93,12 @@ $(document).ready( function() {
);
$this->formField(
getMLText("new_password"),
'<input class="pwd" type="password" rel="strengthbar" id="pwd" name="pwd" size="30">'
'<input class="pwd form-control" type="password" rel="strengthbar" id="pwd" name="pwd">'
);
if($passwordstrength) {
$this->formField(
getMLText("password_strength"),
'<div id="strengthbar" class="progress" style="width: 220px; height: 30px; margin-bottom: 8px;"><div class="bar bar-danger" style="width: 0%;"></div></div>'
'<div id="strengthbar" class="progress" style="_width: 220px; height: 30px; margin-bottom: 8px;"><div class="bar bar-danger" style="width: 0%;"></div></div>'
);
}
$this->formField(