MDL-11830 a bit bigger button in login block, removing colons and adding css spacing; merged from MOODLE_19_STABLE

This commit is contained in:
skodak 2007-12-30 22:55:10 +00:00
parent 76bd786d3f
commit cd9f96a845
2 changed files with 7 additions and 3 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 .= '<div class="c1"><label for="login_username">'.get_string('username').'</label>: ';
$this->content->text .= '<div class="c1"><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 .= '<div class="c1"><label for="login_password">'.get_string('password').'</label>: ';
$this->content->text .= '<div class="c1"><label for="login_password">'.get_string('password').'</label>';
$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>';

View File

@ -7,7 +7,11 @@
}
.block_login .loginform .c1 input {
width:5em;
width:6em;
}
.block_login .loginform label {
padding-right: 4px;
}
.block_login .loginform div {