mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Clean up external accounts page
Summary: Touched up the layout, css of this page Test Plan: Viewed linked and linkable accounts. Tested mobile layout Reviewers: epriestley Reviewed By: epriestley CC: Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D7644
This commit is contained in:
parent
b8b80e3896
commit
3c21375930
3 changed files with 16 additions and 8 deletions
|
@ -975,7 +975,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'auth-css' =>
|
'auth-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/9e544d3c/rsrc/css/application/auth/auth.css',
|
'uri' => '/res/a55f96ce/rsrc/css/application/auth/auth.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
@ -3551,7 +3551,7 @@ celerity_register_resource_map(array(
|
||||||
),
|
),
|
||||||
'phabricator-source-code-view-css' =>
|
'phabricator-source-code-view-css' =>
|
||||||
array(
|
array(
|
||||||
'uri' => '/res/aee63670/rsrc/css/layout/phabricator-source-code-view.css',
|
'uri' => '/res/f70ef208/rsrc/css/layout/phabricator-source-code-view.css',
|
||||||
'type' => 'css',
|
'type' => 'css',
|
||||||
'requires' =>
|
'requires' =>
|
||||||
array(
|
array(
|
||||||
|
|
|
@ -35,6 +35,7 @@ final class PhabricatorSettingsPanelExternalAccounts
|
||||||
|
|
||||||
$linked = id(new PHUIObjectItemListView())
|
$linked = id(new PHUIObjectItemListView())
|
||||||
->setUser($viewer)
|
->setUser($viewer)
|
||||||
|
->setCards(true)
|
||||||
->setNoDataString(pht('You have no linked accounts.'));
|
->setNoDataString(pht('You have no linked accounts.'));
|
||||||
|
|
||||||
$login_accounts = 0;
|
$login_accounts = 0;
|
||||||
|
@ -97,6 +98,7 @@ final class PhabricatorSettingsPanelExternalAccounts
|
||||||
|
|
||||||
$linkable = id(new PHUIObjectItemListView())
|
$linkable = id(new PHUIObjectItemListView())
|
||||||
->setUser($viewer)
|
->setUser($viewer)
|
||||||
|
->setCards(true)
|
||||||
->setNoDataString(
|
->setNoDataString(
|
||||||
pht('Your account is linked with all available providers.'));
|
pht('Your account is linked with all available providers.'));
|
||||||
|
|
||||||
|
@ -126,11 +128,17 @@ final class PhabricatorSettingsPanelExternalAccounts
|
||||||
$linkable->addItem($item);
|
$linkable->addItem($item);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$linked_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($linked_head)
|
||||||
|
->appendChild($linked);
|
||||||
|
|
||||||
|
$linkable_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeader($linkable_head)
|
||||||
|
->appendChild($linkable);
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
$linked_head,
|
$linked_box,
|
||||||
$linked,
|
$linkable_box,
|
||||||
$linkable_head,
|
|
||||||
$linkable,
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,13 +24,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.auth-account-view {
|
.auth-account-view {
|
||||||
border: 1px solid #aaaaaa;
|
background-color: #fff;
|
||||||
|
border: 1px solid {$lightblueborder};
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: 4px 4px;
|
background-position: 4px 4px;
|
||||||
padding: 4px 4px 4px 62px;
|
padding: 4px 4px 4px 62px;
|
||||||
min-height: 50px;
|
min-height: 50px;
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.auth-account-view-name {
|
.auth-account-view-name {
|
||||||
|
|
Loading…
Reference in a new issue