Loading htdocs/lang/en.utf8/view.php +1 −0 Original line number Diff line number Diff line Loading @@ -322,6 +322,7 @@ $string['closeconfiguration'] = 'Close configuration'; $string['removeblock1'] = 'Remove %s block (ID %s)'; $string['removethisblock1'] = 'Remove this block (ID %s)'; $string['blocktitle'] = 'Block title'; $string['celltitle'] = 'Cell'; $string['changemyviewlayout'] = 'Change my page layout'; $string['createcustomlayout'] = 'Create custom layout'; Loading htdocs/theme/raw/sass/components/_cells.scss +22 −2 Original line number Diff line number Diff line Loading @@ -2,12 +2,29 @@ display: none; } #addblock_blocklegend_container { border: 0; padding: 0; .pieform-fieldset legend { @extend body; padding-top: 0; } } #addblock_cellchooser_container { padding-top: 0; } .cell-chooser { .cell-row { min-width: 0; width: 150px; width: auto; overflow: hidden; display: flex; justify-content: space-between; padding: 5px 0; .cell { min-width: 0; float: left; Loading @@ -24,10 +41,13 @@ overflow: hidden; min-width: 0; } &:last-of-type { margin-right: 0; } } .pseudolabel { @extend .sr-only; } } } htdocs/view/blocks.php +14 −6 Original line number Diff line number Diff line Loading @@ -163,13 +163,21 @@ $addform = pieform(array( 'autofocus' => false, 'class' => 'cell-radios', 'elements' => array( 'blocklegend' => array( 'type' => 'fieldset', 'elements' => array( 'celltitle' => array( 'type' => 'markup', 'value'=> '<legend>' . get_string('celltitle', 'view') . '</legend>', ), 'cellchooser' => array( 'type' => 'radio', 'class' => 'fullwidth', 'title' => get_string('blockcell', 'view'), 'rowsize' => 2, 'options' => array('R1C1', 'R1C2', 'R2C1'), ), ), ), 'position' => array( 'type' => 'select', 'title' => get_string('blockorder', 'view'), Loading Loading
htdocs/lang/en.utf8/view.php +1 −0 Original line number Diff line number Diff line Loading @@ -322,6 +322,7 @@ $string['closeconfiguration'] = 'Close configuration'; $string['removeblock1'] = 'Remove %s block (ID %s)'; $string['removethisblock1'] = 'Remove this block (ID %s)'; $string['blocktitle'] = 'Block title'; $string['celltitle'] = 'Cell'; $string['changemyviewlayout'] = 'Change my page layout'; $string['createcustomlayout'] = 'Create custom layout'; Loading
htdocs/theme/raw/sass/components/_cells.scss +22 −2 Original line number Diff line number Diff line Loading @@ -2,12 +2,29 @@ display: none; } #addblock_blocklegend_container { border: 0; padding: 0; .pieform-fieldset legend { @extend body; padding-top: 0; } } #addblock_cellchooser_container { padding-top: 0; } .cell-chooser { .cell-row { min-width: 0; width: 150px; width: auto; overflow: hidden; display: flex; justify-content: space-between; padding: 5px 0; .cell { min-width: 0; float: left; Loading @@ -24,10 +41,13 @@ overflow: hidden; min-width: 0; } &:last-of-type { margin-right: 0; } } .pseudolabel { @extend .sr-only; } } }
htdocs/view/blocks.php +14 −6 Original line number Diff line number Diff line Loading @@ -163,13 +163,21 @@ $addform = pieform(array( 'autofocus' => false, 'class' => 'cell-radios', 'elements' => array( 'blocklegend' => array( 'type' => 'fieldset', 'elements' => array( 'celltitle' => array( 'type' => 'markup', 'value'=> '<legend>' . get_string('celltitle', 'view') . '</legend>', ), 'cellchooser' => array( 'type' => 'radio', 'class' => 'fullwidth', 'title' => get_string('blockcell', 'view'), 'rowsize' => 2, 'options' => array('R1C1', 'R1C2', 'R2C1'), ), ), ), 'position' => array( 'type' => 'select', 'title' => get_string('blockorder', 'view'), Loading