mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 21:02:41 +01:00
Fix Legalpad "Sign" box
Summary: Missed converting this page, scenario. The box was poorly formatted. Test Plan: Create a new document that needs signed, verify box is correctly spaced and colored. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D15591
This commit is contained in:
parent
e66bf17505
commit
fa6151778f
3 changed files with 11 additions and 14 deletions
|
@ -128,7 +128,7 @@ return array(
|
||||||
'rsrc/css/phui/phui-chart.css' => '6bf6f78e',
|
'rsrc/css/phui/phui-chart.css' => '6bf6f78e',
|
||||||
'rsrc/css/phui/phui-crumbs-view.css' => '79d536e5',
|
'rsrc/css/phui/phui-crumbs-view.css' => '79d536e5',
|
||||||
'rsrc/css/phui/phui-curtain-view.css' => '7148ae25',
|
'rsrc/css/phui/phui-curtain-view.css' => '7148ae25',
|
||||||
'rsrc/css/phui/phui-document-pro.css' => '92d5b648',
|
'rsrc/css/phui/phui-document-pro.css' => '73e45fd2',
|
||||||
'rsrc/css/phui/phui-document-summary.css' => '9ca48bdf',
|
'rsrc/css/phui/phui-document-summary.css' => '9ca48bdf',
|
||||||
'rsrc/css/phui/phui-document.css' => '9c71d2bf',
|
'rsrc/css/phui/phui-document.css' => '9c71d2bf',
|
||||||
'rsrc/css/phui/phui-feed-story.css' => '04aec08f',
|
'rsrc/css/phui/phui-feed-story.css' => '04aec08f',
|
||||||
|
@ -816,7 +816,7 @@ return array(
|
||||||
'phui-curtain-view-css' => '7148ae25',
|
'phui-curtain-view-css' => '7148ae25',
|
||||||
'phui-document-summary-view-css' => '9ca48bdf',
|
'phui-document-summary-view-css' => '9ca48bdf',
|
||||||
'phui-document-view-css' => '9c71d2bf',
|
'phui-document-view-css' => '9c71d2bf',
|
||||||
'phui-document-view-pro-css' => '92d5b648',
|
'phui-document-view-pro-css' => '73e45fd2',
|
||||||
'phui-feed-story-css' => '04aec08f',
|
'phui-feed-story-css' => '04aec08f',
|
||||||
'phui-font-icon-base-css' => '6449bce8',
|
'phui-font-icon-base-css' => '6449bce8',
|
||||||
'phui-fontkit-css' => '9cda225e',
|
'phui-fontkit-css' => '9cda225e',
|
||||||
|
|
|
@ -301,12 +301,15 @@ final class LegalpadDocumentSignController extends LegalpadController {
|
||||||
case LegalpadDocument::SIGNATURE_TYPE_INDIVIDUAL:
|
case LegalpadDocument::SIGNATURE_TYPE_INDIVIDUAL:
|
||||||
case LegalpadDocument::SIGNATURE_TYPE_CORPORATION:
|
case LegalpadDocument::SIGNATURE_TYPE_CORPORATION:
|
||||||
$box = id(new PHUIObjectBoxView())
|
$box = id(new PHUIObjectBoxView())
|
||||||
|
->addClass('document-sign-box')
|
||||||
->setHeaderText(pht('Agree and Sign Document'))
|
->setHeaderText(pht('Agree and Sign Document'))
|
||||||
|
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||||
->setForm($signature_form);
|
->setForm($signature_form);
|
||||||
if ($error_view) {
|
if ($error_view) {
|
||||||
$box->setInfoView($error_view);
|
$box->setInfoView($error_view);
|
||||||
}
|
}
|
||||||
$signature_box = phutil_tag_div('phui-document-view-pro-box', $box);
|
$signature_box = phutil_tag_div(
|
||||||
|
'phui-document-view-pro-box plt', $box);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -317,15 +320,13 @@ final class LegalpadDocumentSignController extends LegalpadController {
|
||||||
$crumbs->setBorder(true);
|
$crumbs->setBorder(true);
|
||||||
$crumbs->addTextCrumb($document->getMonogram());
|
$crumbs->addTextCrumb($document->getMonogram());
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->newPage()
|
||||||
array(
|
->setTitle($title)
|
||||||
$crumbs,
|
->setCrumbs($crumbs)
|
||||||
|
->setPageObjectPHIDs(array($document->getPHID()))
|
||||||
|
->appendChild(array(
|
||||||
$content,
|
$content,
|
||||||
$signature_box,
|
$signature_box,
|
||||||
),
|
|
||||||
array(
|
|
||||||
'title' => $title,
|
|
||||||
'pageObjects' => array($document->getPHID()),
|
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -190,10 +190,6 @@ a.button.phui-document-toc {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.phui-document-view-pro-box .phui-object-box .phui-form-view {
|
|
||||||
padding-bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.phui-document-view-pro-box .phui-object-box .remarkup-assist-textarea {
|
.phui-document-view-pro-box .phui-object-box .remarkup-assist-textarea {
|
||||||
height: 9em;
|
height: 9em;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue