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

Update Phriction History UI

Summary: Uses cards, fixes bgcolors.

Test Plan: View edit history on a few documents.

Reviewers: btrahan, epriestley

Reviewed By: epriestley

Subscribers: epriestley, Korvin, chad

Differential Revision: https://secure.phabricator.com/D8648
This commit is contained in:
Chad Little 2014-03-30 11:18:49 -07:00
parent af3dd4c512
commit 42da874691
4 changed files with 8 additions and 5 deletions

View file

@ -87,7 +87,7 @@ return array(
'rsrc/css/application/pholio/pholio.css' => 'd23ace50',
'rsrc/css/application/phortune/phortune-credit-card-form.css' => 'b25b4beb',
'rsrc/css/application/phrequent/phrequent.css' => 'ffc185ad',
'rsrc/css/application/phriction/phriction-document-css.css' => 'b0309d8e',
'rsrc/css/application/phriction/phriction-document-css.css' => '7d7f0071',
'rsrc/css/application/policy/policy-edit.css' => '05cca26a',
'rsrc/css/application/policy/policy.css' => '957ea14c',
'rsrc/css/application/ponder/comments.css' => '6cdccea7',
@ -739,7 +739,7 @@ return array(
'phortune-credit-card-form' => '2290aeef',
'phortune-credit-card-form-css' => 'b25b4beb',
'phrequent-css' => 'ffc185ad',
'phriction-document-css' => 'b0309d8e',
'phriction-document-css' => '7d7f0071',
'phui-box-css' => 'a36cf3a5',
'phui-button-css' => '8784a966',
'phui-calendar-css' => '5e1ad989',

View file

@ -180,7 +180,7 @@ final class PhrictionDiffController
$output = hsprintf(
'<br><div class="phriction-document-history-diff">'.
'<div class="phriction-document-history-diff">'.
'%s%s'.
'<table class="phriction-revert-table">'.
'<tr><td>%s</td><td>%s</td>'.
@ -257,6 +257,7 @@ final class PhrictionDiffController
$handles = $this->loadViewerHandles($phids);
$list = new PHUIObjectItemListView();
$list->setCards(true);
$list->setFlush(true);
$first = true;

View file

@ -42,6 +42,8 @@ final class PhrictionHistoryController
$handles = $this->loadViewerHandles($author_phids);
$list = new PHUIObjectItemListView();
$list->setCards(true);
$list->setFlush(true);
foreach ($history as $content) {

View file

@ -62,7 +62,6 @@
.phriction-history-nav-table {
width: 100%;
margin-bottom: 20px;
}
.phriction-history-nav-table td {
@ -71,7 +70,8 @@
}
.phriction-history-nav-table td {
padding: 8px 16px;
padding: 0 12px 12px;
background-color: #E5E8EE;
}
.phriction-history-nav-table td.nav-next {