1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

[Redesign] Update Conduit UI

Summary: Ref T8099, Updates the Conduit UI for the Redesign.

Test Plan: Bop through conduit, add application headers, fix icon colors.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: Korvin, epriestley

Maniphest Tasks: T8341, T8099

Differential Revision: https://secure.phabricator.com/D13049
This commit is contained in:
Chad Little 2015-05-28 11:32:51 -07:00
parent ca50f8e9ef
commit c0d780543c
3 changed files with 12 additions and 9 deletions

View file

@ -7,7 +7,7 @@
*/
return array(
'names' => array(
'core.pkg.css' => '75121d30',
'core.pkg.css' => '651054ed',
'core.pkg.js' => 'e4f47dfd',
'darkconsole.pkg.js' => 'e7393ebb',
'differential.pkg.css' => 'bb338e4b',
@ -141,7 +141,7 @@ return array(
'rsrc/css/phui/phui-info-view.css' => '33e54618',
'rsrc/css/phui/phui-list.css' => 'e448b6ba',
'rsrc/css/phui/phui-object-box.css' => '57b5b612',
'rsrc/css/phui/phui-object-item-list-view.css' => 'fef025d8',
'rsrc/css/phui/phui-object-item-list-view.css' => '24ed8d94',
'rsrc/css/phui/phui-pinboard-view.css' => '55b27bc3',
'rsrc/css/phui/phui-property-list-view.css' => '1baf23eb',
'rsrc/css/phui/phui-remarkup-preview.css' => '19ad512b',
@ -775,7 +775,7 @@ return array(
'phui-inline-comment-view-css' => '2174771a',
'phui-list-view-css' => 'e448b6ba',
'phui-object-box-css' => '57b5b612',
'phui-object-item-list-view-css' => 'fef025d8',
'phui-object-item-list-view-css' => '24ed8d94',
'phui-pinboard-view-css' => '55b27bc3',
'phui-property-list-view-css' => '1baf23eb',
'phui-remarkup-preview-css' => '19ad512b',

View file

@ -159,6 +159,7 @@ final class PhabricatorConduitSearchEngine
$out[] = $list;
}
$list = id(new PHUIObjectItemListView());
$list->setHeader($app);
$app_object = $method->getApplication();
if ($app_object) {
@ -179,12 +180,12 @@ final class PhabricatorConduitSearchEngine
case ConduitAPIMethod::METHOD_STATUS_STABLE:
break;
case ConduitAPIMethod::METHOD_STATUS_UNSTABLE:
$item->addIcon('warning-grey', pht('Unstable'));
$item->setBarColor('yellow');
$item->addIcon('fa-warning', pht('Unstable'));
$item->setStatusIcon('fa-warning yellow');
break;
case ConduitAPIMethod::METHOD_STATUS_DEPRECATED:
$item->addIcon('warning', pht('Deprecated'));
$item->setBarColor('red');
$item->addIcon('fa-warning', pht('Deprecated'));
$item->setStatusIcon('fa-warning red');
break;
}

View file

@ -606,7 +606,7 @@ ul.phui-object-item-list-view .phui-object-item-selected
border-bottom: 1px solid {$thinblueborder};
}
.dashboard-pane .phui-object-item-list-header {
.phui-object-box .phui-object-item-list-header {
font-size: 13px;
color: {$bluetext};
border-top: 1px solid {$thinblueborder};
@ -615,7 +615,9 @@ ul.phui-object-item-list-view .phui-object-item-selected
font-weight: 500;
}
.dashboard-pane .phui-header-shell + .phui-object-item-list-view
.phui-object-box .phui-header-shell + .phui-object-item-list-view
.phui-object-item-list-header,
.phui-object-box .phui-object-box-hidden-content + .phui-object-item-list-view
.phui-object-item-list-header {
border-top: none;
}