MDL-11830 width applied to input fields only, that should solve the incorrect size of button; merged from MOODLE_19_STABLE

This commit is contained in:
skodak 2008-01-08 07:33:48 +00:00
parent f49312b6a6
commit c395030777
2 changed files with 4 additions and 4 deletions

View File

@ -45,10 +45,10 @@ class block_login extends block_base {
$this->content->text .= "\n".'<form class="loginform" id="login" method="post" action="'.$wwwroot.'/login/index.php">'; $this->content->text .= "\n".'<form class="loginform" id="login" method="post" action="'.$wwwroot.'/login/index.php">';
$this->content->text .= '<div class="c1"><label for="login_username">'.get_string('username').'</label>'; $this->content->text .= '<div class="c1 fld"><label for="login_username">'.get_string('username').'</label>';
$this->content->text .= '<input type="text" name="username" id="login_username" value="'.s($username).'" /></div>'; $this->content->text .= '<input type="text" name="username" id="login_username" value="'.s($username).'" /></div>';
$this->content->text .= '<div class="c1"><label for="login_password">'.get_string('password').'</label>'; $this->content->text .= '<div class="c1 fld"><label for="login_password">'.get_string('password').'</label>';
$this->content->text .= '<input type="password" name="password" id="login_password" value="" /></div>'; $this->content->text .= '<input type="password" name="password" id="login_password" value="" /></div>';
$this->content->text .= '<div class="c1 btn"><input type="submit" value="'.get_string('login').'" /></div>'; $this->content->text .= '<div class="c1 btn"><input type="submit" value="'.get_string('login').'" /></div>';

View File

@ -6,8 +6,8 @@
display:inline; display:inline;
} }
.block_login .loginform .c1 input { .block_login .loginform .fld input {
width:6em; width:5em;
} }
.block_login .loginform label { .block_login .loginform label {