Clean up Login, Responsive Forms

Summary: Removes the panel-view on login and adds additonal responsive styles for mobile forms.

Test Plan: View in mobile browser, resize page.

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4530
This commit is contained in:
Chad Little
2013-01-19 14:30:26 -08:00
parent 5815c7e51b
commit 117589c160
9 changed files with 95 additions and 52 deletions

View File

@@ -282,6 +282,7 @@ final class PhabricatorLoginController
$panel = new AphrontPanelView();
$panel->setWidth(AphrontPanelView::WIDTH_FORM);
$panel->setNoBackground();
foreach ($forms as $name => $form) {
$panel->appendChild('<h1>'.$name.'</h1>');
$panel->appendChild($form);
@@ -290,7 +291,7 @@ final class PhabricatorLoginController
$login_message = PhabricatorEnv::getEnvConfig('auth.login-message');
return $this->buildStandardPageResponse(
return $this->buildApplicationPage(
array(
$error_view,
$login_message,
@@ -298,6 +299,7 @@ final class PhabricatorLoginController
),
array(
'title' => 'Login',
'device' => true
));
}