Skip to content

Small stylistic improvements to Enrollment Flows (CFM-428) #253

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -31,5 +31,11 @@ declare(strict_types = 1);

$this->Field->disableFormEditMode();

print __d('information', 'plugin.config.none');
?>

<li>
<div class="field">
<?= __d('information', 'plugin.config.none'); ?>
</div>
</li>

23 changes: 12 additions & 11 deletions app/templates/EnrollmentFlowSteps/columns.inc
Expand Up @@ -26,17 +26,17 @@
*/

$indexColumns = [
'ordr' => [
'type' => 'echo',
'sortable' => true
],
'description' => [
'type' => 'link',
'sortable' => true,
'class' => 'cm-modal-link nospin', // launch this in a modal
'dataAttrs' => [
['data-cm-modal-title', __d('controller', 'EnrollmentFlowSteps', 1)]
]
],
'ordr' => [
'type' => 'echo',
'sortable' => true
],
'actor_type' => [
'type' => 'enum',
Expand All @@ -54,10 +54,11 @@ $indexColumns = [
];

// $rowActions appear as row-level menu items in the index view gear icon
$rowActions = [
[
'action' => 'configure',
'label' => __d('operation', 'configure.plugin'),
'icon' => 'electrical_services'
]
];
// XXX Turn this off, but leave for reference (for now): configure is a tab in the modal dialog
//$rowActions = [
// [
// 'action' => 'configure',
// 'label' => __d('operation', 'configure.plugin'),
// 'icon' => 'electrical_services'
// ]
//];
12 changes: 6 additions & 6 deletions app/webroot/css/co-base.css
Expand Up @@ -1790,17 +1790,17 @@ li[data-pc-section="emptymessage"] {
padding: 0.5em 1em;
}
/* ENROLLMENT FLOWS: ATTRIBUTE COLLECTOR */
body.attributecollectors main,
body.basicattributecollectors main {
body.dispatch main,
body.start main {
max-width: 800px;
margin: 0 auto;
}
body.attributecollectors form,
body.basicattributecollectors form {
body.dispatch form,
body.start form {
margin-top: 1em;
}
body.attributecollectors .submit,
body.basicattributecollectors .submit {
body.dispatch .submit,
body.start .submit {
width: 100%;
text-align: right;
}
Expand Down
8 changes: 4 additions & 4 deletions app/webroot/css/co-responsive.css
Expand Up @@ -590,12 +590,12 @@
font-size: 1.7em;
margin: 0.5em 0 0.25em;
}
body.attributecollectors #main-wrapper,
body.basicattributecollectors #main-wrapper {
body.dispatch #main-wrapper,
body.start #main-wrapper {
background-color: var(--cmg-color-bg-003);
}
body.attributecollectors #main,
body.basicattributecollectors #main {
body.dispatch #main,
body.start #main {
background-color: var(--cmg-color-body-bg);
margin: 4em auto;
padding: 0 2em;
Expand Down