Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14384957
D13053.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D13053.diff
View Options
diff --git a/src/applications/drydock/controller/DrydockConsoleController.php b/src/applications/drydock/controller/DrydockConsoleController.php
--- a/src/applications/drydock/controller/DrydockConsoleController.php
+++ b/src/applications/drydock/controller/DrydockConsoleController.php
@@ -61,10 +61,14 @@
$crumbs = $this->buildApplicationCrumbs();
$crumbs->addTextCrumb(pht('Console'));
+ $box = id(new PHUIObjectBoxView())
+ ->setHeaderText(pht('Drydock Console'))
+ ->setObjectList($menu);
+
return $this->buildApplicationPage(
array(
$crumbs,
- $menu,
+ $box,
),
array(
'title' => pht('Drydock Console'),
diff --git a/src/applications/drydock/view/DrydockLeaseListView.php b/src/applications/drydock/view/DrydockLeaseListView.php
--- a/src/applications/drydock/view/DrydockLeaseListView.php
+++ b/src/applications/drydock/view/DrydockLeaseListView.php
@@ -42,9 +42,9 @@
$item->setEpoch($lease->getDateCreated());
if ($lease->isActive()) {
- $item->setBarColor('green');
+ $item->setStatusIcon('fa-dot-circle green');
} else {
- $item->setBarColor('red');
+ $item->setStatusIcon('fa-dot-circle red');
}
$view->addItem($item);
diff --git a/src/applications/drydock/view/DrydockLogListView.php b/src/applications/drydock/view/DrydockLogListView.php
--- a/src/applications/drydock/view/DrydockLogListView.php
+++ b/src/applications/drydock/view/DrydockLogListView.php
@@ -43,16 +43,16 @@
$table->setDeviceReadyTable(true);
$table->setHeaders(
array(
- 'Resource',
- 'Lease',
- 'Message',
- 'Date',
+ pht('Resource'),
+ pht('Lease'),
+ pht('Message'),
+ pht('Date'),
));
$table->setShortHeaders(
array(
- 'R',
- 'L',
- 'Message',
+ pht('R'),
+ pht('L'),
+ pht('Message'),
'',
));
$table->setColumnClasses(
diff --git a/src/applications/drydock/view/DrydockResourceListView.php b/src/applications/drydock/view/DrydockResourceListView.php
--- a/src/applications/drydock/view/DrydockResourceListView.php
+++ b/src/applications/drydock/view/DrydockResourceListView.php
@@ -27,16 +27,16 @@
switch ($resource->getStatus()) {
case DrydockResourceStatus::STATUS_PENDING:
- $item->setBarColor('yellow');
+ $item->setStatusIcon('fa-dot-circle yellow');
break;
case DrydockResourceStatus::STATUS_OPEN:
- $item->setBarColor('green');
+ $item->setStatusIcon('fa-dot-circle green');
break;
case DrydockResourceStatus::STATUS_DESTROYED:
- $item->setBarColor('black');
+ $item->setStatusIcon('fa-times-circle black');
break;
default:
- $item->setBarColor('red');
+ $item->setStatusIcon('fa-dot-circle red');
break;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 10:55 AM (18 h, 58 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6918129
Default Alt Text
D13053.diff (2 KB)
Attached To
Mode
D13053: [Redesign] Update Drydock UI
Attached
Detach File
Event Timeline
Log In to Comment