mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-28 15:38:19 +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:
parent
af3dd4c512
commit
42da874691
4 changed files with 8 additions and 5 deletions
|
@ -87,7 +87,7 @@ return array(
|
||||||
'rsrc/css/application/pholio/pholio.css' => 'd23ace50',
|
'rsrc/css/application/pholio/pholio.css' => 'd23ace50',
|
||||||
'rsrc/css/application/phortune/phortune-credit-card-form.css' => 'b25b4beb',
|
'rsrc/css/application/phortune/phortune-credit-card-form.css' => 'b25b4beb',
|
||||||
'rsrc/css/application/phrequent/phrequent.css' => 'ffc185ad',
|
'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-edit.css' => '05cca26a',
|
||||||
'rsrc/css/application/policy/policy.css' => '957ea14c',
|
'rsrc/css/application/policy/policy.css' => '957ea14c',
|
||||||
'rsrc/css/application/ponder/comments.css' => '6cdccea7',
|
'rsrc/css/application/ponder/comments.css' => '6cdccea7',
|
||||||
|
@ -739,7 +739,7 @@ return array(
|
||||||
'phortune-credit-card-form' => '2290aeef',
|
'phortune-credit-card-form' => '2290aeef',
|
||||||
'phortune-credit-card-form-css' => 'b25b4beb',
|
'phortune-credit-card-form-css' => 'b25b4beb',
|
||||||
'phrequent-css' => 'ffc185ad',
|
'phrequent-css' => 'ffc185ad',
|
||||||
'phriction-document-css' => 'b0309d8e',
|
'phriction-document-css' => '7d7f0071',
|
||||||
'phui-box-css' => 'a36cf3a5',
|
'phui-box-css' => 'a36cf3a5',
|
||||||
'phui-button-css' => '8784a966',
|
'phui-button-css' => '8784a966',
|
||||||
'phui-calendar-css' => '5e1ad989',
|
'phui-calendar-css' => '5e1ad989',
|
||||||
|
|
|
@ -180,7 +180,7 @@ final class PhrictionDiffController
|
||||||
|
|
||||||
|
|
||||||
$output = hsprintf(
|
$output = hsprintf(
|
||||||
'<br><div class="phriction-document-history-diff">'.
|
'<div class="phriction-document-history-diff">'.
|
||||||
'%s%s'.
|
'%s%s'.
|
||||||
'<table class="phriction-revert-table">'.
|
'<table class="phriction-revert-table">'.
|
||||||
'<tr><td>%s</td><td>%s</td>'.
|
'<tr><td>%s</td><td>%s</td>'.
|
||||||
|
@ -257,6 +257,7 @@ final class PhrictionDiffController
|
||||||
$handles = $this->loadViewerHandles($phids);
|
$handles = $this->loadViewerHandles($phids);
|
||||||
|
|
||||||
$list = new PHUIObjectItemListView();
|
$list = new PHUIObjectItemListView();
|
||||||
|
$list->setCards(true);
|
||||||
$list->setFlush(true);
|
$list->setFlush(true);
|
||||||
|
|
||||||
$first = true;
|
$first = true;
|
||||||
|
|
|
@ -42,6 +42,8 @@ final class PhrictionHistoryController
|
||||||
$handles = $this->loadViewerHandles($author_phids);
|
$handles = $this->loadViewerHandles($author_phids);
|
||||||
|
|
||||||
$list = new PHUIObjectItemListView();
|
$list = new PHUIObjectItemListView();
|
||||||
|
$list->setCards(true);
|
||||||
|
$list->setFlush(true);
|
||||||
|
|
||||||
foreach ($history as $content) {
|
foreach ($history as $content) {
|
||||||
|
|
||||||
|
|
|
@ -62,7 +62,6 @@
|
||||||
|
|
||||||
.phriction-history-nav-table {
|
.phriction-history-nav-table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-bottom: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.phriction-history-nav-table td {
|
.phriction-history-nav-table td {
|
||||||
|
@ -71,7 +70,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.phriction-history-nav-table td {
|
.phriction-history-nav-table td {
|
||||||
padding: 8px 16px;
|
padding: 0 12px 12px;
|
||||||
|
background-color: #E5E8EE;
|
||||||
}
|
}
|
||||||
|
|
||||||
.phriction-history-nav-table td.nav-next {
|
.phriction-history-nav-table td.nav-next {
|
||||||
|
|
Loading…
Add table
Reference in a new issue