Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14001479
D11529.id27738.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
7 KB
Referenced Files
None
Subscribers
None
D11529.id27738.diff
View Options
diff --git a/resources/celerity/map.php b/resources/celerity/map.php
--- a/resources/celerity/map.php
+++ b/resources/celerity/map.php
@@ -7,7 +7,7 @@
*/
return array(
'names' => array(
- 'core.pkg.css' => '3d6955ad',
+ 'core.pkg.css' => 'bacfbef8',
'core.pkg.js' => 'df35fdde',
'darkconsole.pkg.js' => '8ab24e01',
'differential.pkg.css' => '8af45893',
@@ -26,7 +26,7 @@
'rsrc/css/aphront/multi-column.css' => '41a848c0',
'rsrc/css/aphront/notification.css' => '9c279160',
'rsrc/css/aphront/pager-view.css' => '2e3539af',
- 'rsrc/css/aphront/panel-view.css' => '5846dfa2',
+ 'rsrc/css/aphront/panel-view.css' => 'a5fee23a',
'rsrc/css/aphront/phabricator-nav-view.css' => '7aeaf435',
'rsrc/css/aphront/table-view.css' => 'b22b7216',
'rsrc/css/aphront/tokenizer.css' => '82ce2142',
@@ -136,7 +136,7 @@
'rsrc/css/phui/phui-info-panel.css' => '27ea50a1',
'rsrc/css/phui/phui-list.css' => '53deb25c',
'rsrc/css/phui/phui-object-box.css' => '0d47b3c8',
- 'rsrc/css/phui/phui-object-item-list-view.css' => '10297907',
+ 'rsrc/css/phui/phui-object-item-list-view.css' => '31d4f559',
'rsrc/css/phui/phui-pinboard-view.css' => '3dd4a269',
'rsrc/css/phui/phui-property-list-view.css' => '51480060',
'rsrc/css/phui/phui-remarkup-preview.css' => '19ad512b',
@@ -496,7 +496,7 @@
'aphront-list-filter-view-css' => '2ae43867',
'aphront-multi-column-view-css' => '41a848c0',
'aphront-pager-view-css' => '2e3539af',
- 'aphront-panel-view-css' => '5846dfa2',
+ 'aphront-panel-view-css' => 'a5fee23a',
'aphront-table-view-css' => 'b22b7216',
'aphront-tokenizer-control-css' => '82ce2142',
'aphront-tooltip-css' => '4099b97e',
@@ -779,7 +779,7 @@
'phui-info-panel-css' => '27ea50a1',
'phui-list-view-css' => '53deb25c',
'phui-object-box-css' => '0d47b3c8',
- 'phui-object-item-list-view-css' => '10297907',
+ 'phui-object-item-list-view-css' => '31d4f559',
'phui-pinboard-view-css' => '3dd4a269',
'phui-property-list-view-css' => '51480060',
'phui-remarkup-preview-css' => '19ad512b',
diff --git a/src/applications/home/controller/PhabricatorHomeMainController.php b/src/applications/home/controller/PhabricatorHomeMainController.php
--- a/src/applications/home/controller/PhabricatorHomeMainController.php
+++ b/src/applications/home/controller/PhabricatorHomeMainController.php
@@ -146,10 +146,9 @@
implode(',', ManiphestTaskStatus::getOpenStatusConstants()),
$unbreak_now);
$title = pht('Unbreak Now!');
- $panel = new AphrontPanelView();
+ $panel = new PHUIObjectBoxView();
$panel->setHeader($this->renderSectionHeader($title, $href));
$panel->appendChild($this->buildTaskListView($tasks));
- $panel->setNoBackground();
return $panel;
}
@@ -195,10 +194,9 @@
implode(',', ManiphestTaskStatus::getOpenStatusConstants()),
$needs_triage,
$user->getPHID());
- $panel = new AphrontPanelView();
+ $panel = new PHUIObjectBoxView();
$panel->setHeader($this->renderSectionHeader($title, $href));
$panel->appendChild($this->buildTaskListView($tasks));
- $panel->setNoBackground();
return $panel;
}
@@ -229,7 +227,7 @@
$title = pht('Revisions Waiting on You');
$href = '/differential';
- $panel = new AphrontPanelView();
+ $panel = new PHUIObjectBoxView();
$panel->setHeader($this->renderSectionHeader($title, $href));
$revision_view = id(new DifferentialRevisionListView())
@@ -247,17 +245,16 @@
$list_view->setFlush(true);
$panel->appendChild($list_view);
- $panel->setNoBackground();
return $panel;
}
private function buildWelcomePanel() {
- $panel = new AphrontPanelView();
+ $panel = new PHUIObjectBoxView();
+ $panel->setHeaderText(pht('Welcome'));
$panel->appendChild(
phutil_safe_html(
PhabricatorEnv::getEnvConfig('welcome.html')));
- $panel->setNoBackground();
return $panel;
}
@@ -285,10 +282,9 @@
$title = pht('Assigned Tasks');
$href = '/maniphest';
- $panel = new AphrontPanelView();
+ $panel = new PHUIObjectBoxView();
$panel->setHeader($this->renderSectionHeader($title, $href));
$panel->appendChild($this->buildTaskListView($tasks));
- $panel->setNoBackground();
return $panel;
}
@@ -312,12 +308,14 @@
}
private function renderSectionHeader($title, $href) {
- $header = phutil_tag(
+ $title = phutil_tag(
'a',
array(
'href' => $href,
),
$title);
+ $header = id(new PHUIHeaderView())
+ ->setHeader($title);
return $header;
}
@@ -368,10 +366,9 @@
$title = pht('Audits');
$href = '/audit/';
- $panel = new AphrontPanelView();
+ $panel = new PHUIObjectBoxView();
$panel->setHeader($this->renderSectionHeader($title, $href));
$panel->appendChild($view);
- $panel->setNoBackground();
return $panel;
}
@@ -408,10 +405,9 @@
$title = pht('Problem Commits');
$href = '/audit/';
- $panel = new AphrontPanelView();
+ $panel = new PHUIObjectBoxView();
$panel->setHeader($this->renderSectionHeader($title, $href));
$panel->appendChild($view);
- $panel->setNoBackground();
return $panel;
}
diff --git a/webroot/rsrc/css/aphront/panel-view.css b/webroot/rsrc/css/aphront/panel-view.css
--- a/webroot/rsrc/css/aphront/panel-view.css
+++ b/webroot/rsrc/css/aphront/panel-view.css
@@ -122,7 +122,7 @@
.aphront-mini-panel-view {
background: #fff;
padding: 10px;
- margin: 4px 16px;
+ margin: 16px 16px 0 16px;
border: 1px solid {$lightgreyborder};
border-bottom: 1px solid {$greyborder};
}
diff --git a/webroot/rsrc/css/phui/phui-object-item-list-view.css b/webroot/rsrc/css/phui/phui-object-item-list-view.css
--- a/webroot/rsrc/css/phui/phui-object-item-list-view.css
+++ b/webroot/rsrc/css/phui/phui-object-item-list-view.css
@@ -19,16 +19,15 @@
padding: 0;
}
-.phui-object-box .phui-object-item-list-view.phui-object-list-flush {
- padding: 8px 8px 4px 8px;
- background-color: #E5E8EE;
-}
-
.device-phone .phui-object-box
.phui-object-item-list-view.phui-object-list-flush {
padding: 4px;
}
+.phui-object-item-list-view.phui-object-list-flush .phui-object-item {
+ margin: 0;
+}
+
.phui-object-item-list-view .aphront-error-view {
margin: 4px 0 8px 0;
color: {$greytext};
@@ -246,6 +245,8 @@
}
.phui-object-box .phui-object-list-stackable:last-child
+ .phui-object-item-frame,
+.phui-object-box.phui-object-list-flush .phui-object-list-stackable:last-child
.phui-object-item-frame {
border-bottom: none;
}
@@ -647,14 +648,16 @@
margin-bottom: -1px;
}
-.dashboard-panel .phui-object-item-list-view .phui-object-item {
+.dashboard-panel .phui-object-item-list-view .phui-object-item,
+.phui-object-box .phui-object-item-list-view.phui-object-list-flush {
margin: 0;
background-image: none;
background-color: #fff;
border-left-width: 4px;
}
-.dashboard-panel .phui-object-item-frame {
+.dashboard-panel .phui-object-item-frame,
+.phui-object-box .phui-object-list-flush .phui-object-item-frame {
border: none;
border-bottom: 1px solid {$thinblueborder};
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 26, 8:27 AM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6750397
Default Alt Text
D11529.id27738.diff (7 KB)
Attached To
Mode
D11529: Update stock Homepage to look like Dashboards
Attached
Detach File
Event Timeline
Log In to Comment