mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 12:52:42 +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-crumbs-view.css' => '79d536e5',
|
||||
'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.css' => '9c71d2bf',
|
||||
'rsrc/css/phui/phui-feed-story.css' => '04aec08f',
|
||||
|
@ -816,7 +816,7 @@ return array(
|
|||
'phui-curtain-view-css' => '7148ae25',
|
||||
'phui-document-summary-view-css' => '9ca48bdf',
|
||||
'phui-document-view-css' => '9c71d2bf',
|
||||
'phui-document-view-pro-css' => '92d5b648',
|
||||
'phui-document-view-pro-css' => '73e45fd2',
|
||||
'phui-feed-story-css' => '04aec08f',
|
||||
'phui-font-icon-base-css' => '6449bce8',
|
||||
'phui-fontkit-css' => '9cda225e',
|
||||
|
|
|
@ -301,12 +301,15 @@ final class LegalpadDocumentSignController extends LegalpadController {
|
|||
case LegalpadDocument::SIGNATURE_TYPE_INDIVIDUAL:
|
||||
case LegalpadDocument::SIGNATURE_TYPE_CORPORATION:
|
||||
$box = id(new PHUIObjectBoxView())
|
||||
->addClass('document-sign-box')
|
||||
->setHeaderText(pht('Agree and Sign Document'))
|
||||
->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
|
||||
->setForm($signature_form);
|
||||
if ($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;
|
||||
}
|
||||
|
||||
|
@ -317,15 +320,13 @@ final class LegalpadDocumentSignController extends LegalpadController {
|
|||
$crumbs->setBorder(true);
|
||||
$crumbs->addTextCrumb($document->getMonogram());
|
||||
|
||||
return $this->buildApplicationPage(
|
||||
array(
|
||||
$crumbs,
|
||||
return $this->newPage()
|
||||
->setTitle($title)
|
||||
->setCrumbs($crumbs)
|
||||
->setPageObjectPHIDs(array($document->getPHID()))
|
||||
->appendChild(array(
|
||||
$content,
|
||||
$signature_box,
|
||||
),
|
||||
array(
|
||||
'title' => $title,
|
||||
'pageObjects' => array($document->getPHID()),
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
@ -190,10 +190,6 @@ a.button.phui-document-toc {
|
|||
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 {
|
||||
height: 9em;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue