function showContent()
{
$this->elementStart('form', array('method' => 'post',
- 'id' => 'login',
+ 'id' => 'form_login',
+ 'class' => 'form_login',
'action' => common_local_url('login')));
+ $this->elementStart('fieldset');
+ $this->element('legend', null, _('Login to site'));
+ $this->elementStart('ul', 'form_datas');
+ $this->elementStart('li');
$this->input('nickname', _('Nickname'));
+ $this->elementEnd('li');
+ $this->elementStart('li');
$this->password('password', _('Password'));
+ $this->elementEnd('li');
+ $this->elementStart('li');
$this->checkbox('rememberme', _('Remember me'), false,
_('Automatically login in the future; ' .
'not for shared computers!'));
+ $this->elementEnd('li');
+ $this->elementEnd('ul');
$this->submit('submit', _('Login'));
$this->hidden('token', common_session_token());
+ $this->elementEnd('fieldset');
$this->elementEnd('form');
$this->elementStart('p');
$this->element('a', array('href' => common_local_url('recoverpassword')),
text-transform:uppercase;
margin-bottom:7px;
}
-legend { font-weight:bold; }
+caption {
+font-weight:bold;
+}
+.opened { display: block !important;}
+.closed { display: none !important;}
+
+
+legend {
+font-weight:bold;
+font-size:1.6em;
+text-transform:uppercase;
+}
input, textarea, select, option {
padding:4px;
font-family:sans-serif;
font-size:1em;
-moz-border-radius:4px;
}
-select, option {
-padding-bottom:0;
-}
-fieldset {
-padding:11px;
-}
input:focus, textarea:focus, select:focus {
border-width:2px;
border-style: solid;
--moz-border-radius:4px;
}
-caption {
-font-weight:bold;
+
+select, option {
+padding-bottom:0;
}
-.opened { display: block !important;}
-.closed { display: none !important;}
-span.required { font-weight:bold; }
+fieldset {
+padding:0;
+border:0;
+margin-bottom:29px;
+}
+
form ul li {
list-style-type:none;
margin:0 0 18px 0;
left:0;
}
-form .error {
-margin-right:11px;
+#page_notice .error {
+background-color:#F7E8E8;
+padding:4px 7px;
+-moz-border-radius:4px;
}
form label.submit {
display:none;
.form_response {
margin-bottom:18px;
}
-.form_response dt {
-}
-.form_response dd {
-}
-form input.remove,
-form input.submit {
--moz-border-radius:4px;
-}
form input.submit {
}
/* FORM SETTINGS */
-.form_settings fieldset {
-padding:0;
-border:0;
-margin-bottom:29px;
-}
-.form_settings legend {
-font-size:1.6em;
-text-transform:uppercase;
-}
-.form_settings .form_datas label {
-
-}
-
.form_guide {
font-style:italic;
}
-.form_settings .form_actions label {
+.form_login label,
+.form_settings label {
+margin-right:11px;
+}
+
+.form_actions label {
display:none;
}