Update Form Layouts
Summary: This attempts some consistency in form layouts. Notably, they all now contain headers and are 16px off the sides and tops of pages. Also updated dialogs to the same look and feel. I think I got 98% of forms with this pass, but it's likely I missed some buried somewhere. TODO: will take another pass as consolidating these colors and new gradients in another diff. Test Plan: Played in my sandbox all week. Please play with it too and let me know how they feel. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: Korvin, aran Differential Revision: https://secure.phabricator.com/D6806
This commit is contained in:
@@ -24,8 +24,6 @@ final class PhabricatorEmailVerificationController
|
||||
$user->getPHID(),
|
||||
$this->code);
|
||||
|
||||
$color = PhabricatorActionHeaderView::HEADER_DARK_GREY;
|
||||
|
||||
if (!$email) {
|
||||
$title = pht('Unable to Verify Email');
|
||||
$content = pht(
|
||||
@@ -33,7 +31,6 @@ final class PhabricatorEmailVerificationController
|
||||
'address has been removed, or the email address is owned by another '.
|
||||
'user. Make sure you followed the link in the email correctly and are '.
|
||||
'logged in with the user account associated with the email address.');
|
||||
$color = PhabricatorActionHeaderView::HEADER_RED;
|
||||
$continue = pht('Rats!');
|
||||
} else if ($email->getIsVerified()) {
|
||||
$title = pht('Address Already Verified');
|
||||
@@ -56,7 +53,6 @@ final class PhabricatorEmailVerificationController
|
||||
$dialog = id(new AphrontDialogView())
|
||||
->setUser($user)
|
||||
->setTitle($title)
|
||||
->setHeaderColor($color)
|
||||
->setMethod('GET')
|
||||
->addCancelButton('/', $continue)
|
||||
->appendChild($content);
|
||||
|
||||
Reference in New Issue
Block a user