diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Price.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Price.php index 8164f1a4e3d08..df8e260986e4b 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Price.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Price.php @@ -66,7 +66,7 @@ public function getHtml() 'From' ) . '" value="' . $this->getEscapedValue( 'from' - ) . '" class="input-text no-changes" ' . $this->getUiId( + ) . '" class="input-text admin__control-text no-changes" ' . $this->getUiId( 'filter', $this->_getHtmlName(), 'from' @@ -81,7 +81,7 @@ public function getHtml() 'To' ) . '" value="' . $this->getEscapedValue( 'to' - ) . '" class="input-text no-changes" ' . $this->getUiId( + ) . '" class="input-text admin__control-text no-changes" ' . $this->getUiId( 'filter', $this->_getHtmlName(), 'to' diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Range.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Range.php index 38455e7bd7caa..0d0ea1e411572 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Range.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Range.php @@ -28,7 +28,7 @@ public function getHtml() 'From' ) . '" value="' . $this->getEscapedValue( 'from' - ) . '" class="input-text no-changes" ' . $this->getUiId( + ) . '" class="input-text admin__control-text no-changes" ' . $this->getUiId( 'filter', $this->_getHtmlName(), 'from' @@ -43,7 +43,7 @@ public function getHtml() 'To' ) . '" value="' . $this->getEscapedValue( 'to' - ) . '" class="input-text no-changes" ' . $this->getUiId( + ) . '" class="input-text admin__control-text no-changes" ' . $this->getUiId( 'filter', $this->_getHtmlName(), 'to' diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Select.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Select.php index 1a87e74881a30..c06fb05c9a4e0 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Select.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Filter/Select.php @@ -66,7 +66,7 @@ public function getHtml() $html = '%s', + '', $this->_getHtmlName(), $this->_getHtmlId(), $this->getUiId('filter', $this->_getHtmlName()), diff --git a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkbox.php b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkbox.php index 3695d9df3eec3..bca3b3038445b 100644 --- a/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkbox.php +++ b/app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkbox.php @@ -113,8 +113,11 @@ protected function _getCheckboxHtml($value, $checked) $html .= 'value="' . $this->escapeHtml($value) . '" '; $html .= 'class="' . ($this->getColumn()->getInlineCss() ? $this->getColumn()->getInlineCss() : 'checkbox') . + ' admin__control-checkbox' . '"'; $html .= $checked . $this->getDisabled() . '/>'; + $html .= ''; + /* ToDo UI: add class="admin__field-label" after some refactoring _fields.less */ return $html; } diff --git a/app/code/Magento/Backend/view/adminhtml/templates/dashboard/grid.phtml b/app/code/Magento/Backend/view/adminhtml/templates/dashboard/grid.phtml index f87b7ee84a1a4..78d3d2677e94c 100644 --- a/app/code/Magento/Backend/view/adminhtml/templates/dashboard/grid.phtml +++ b/app/code/Magento/Backend/view/adminhtml/templates/dashboard/grid.phtml @@ -14,7 +14,7 @@ $numColumns = sizeof($block->getColumns()); getCollection()): ?>
getCollection()->getSize()>0): ?> - +
tags from the code. */ /* foreach ($block->getColumns() as $_column): ?> diff --git a/app/code/Magento/Backend/view/adminhtml/templates/widget/form.phtml b/app/code/Magento/Backend/view/adminhtml/templates/widget/form.phtml index ce11f847b4b0a..c2637c6682a3c 100644 --- a/app/code/Magento/Backend/view/adminhtml/templates/widget/form.phtml +++ b/app/code/Magento/Backend/view/adminhtml/templates/widget/form.phtml @@ -9,6 +9,8 @@ /** @var $block \Magento\Backend\Block\Widget\Form */ ?> + +
getFormHtml();?>
diff --git a/app/code/Magento/Backend/view/adminhtml/templates/widget/form/renderer/fieldset.phtml b/app/code/Magento/Backend/view/adminhtml/templates/widget/form/renderer/fieldset.phtml index 59dfc9db6b35d..88470e31c7d16 100644 --- a/app/code/Magento/Backend/view/adminhtml/templates/widget/form/renderer/fieldset.phtml +++ b/app/code/Magento/Backend/view/adminhtml/templates/widget/form/renderer/fieldset.phtml @@ -22,7 +22,7 @@ if (!isset($advancedLabel)) { $advancedLabel = __('Additional Settings'); } -$cssClass = ($isField) ? 'field ' . $element->getClass() : 'fieldset ' . $element->getClass(); +$cssClass = ($isField) ? 'field ' . $element->getClass() : 'fieldset admin__fieldset ' . $element->getClass(); if ($isField) { $count = $element->getCountBasicChildren(); @@ -41,13 +41,13 @@ if ($isField) {
-
+
> getLegend() ?>
-
@@ -69,7 +69,7 @@ if ($isField) {
- ' : ''; ?> + ' : ''; ?> hasHtmlContent() && !$isField): ?> getHtmlContent(); ?> diff --git a/app/code/Magento/Backend/view/adminhtml/templates/widget/form/renderer/fieldset/element.phtml b/app/code/Magento/Backend/view/adminhtml/templates/widget/form/renderer/fieldset/element.phtml index 0919e2e7773cc..a9600c1aae00a 100644 --- a/app/code/Magento/Backend/view/adminhtml/templates/widget/form/renderer/fieldset/element.phtml +++ b/app/code/Magento/Backend/view/adminhtml/templates/widget/form/renderer/fieldset/element.phtml @@ -11,13 +11,13 @@ /* @var $block \Magento\Backend\Block\Widget\Form\Renderer\Fieldset\Element */ $element = $block->getElement(); $note = $element->getNote() ? '
' . $element->getNote() . '
' : ''; -$elementBeforeLabel = $element->getExtType() == 'checkbox' || $element->getExtType() == 'radio'; +$elementBeforeLabel = $element->getExtType() == 'checkbox admin__control-checkbox' || $element->getExtType() == 'radio admin__control-radio'; $addOn = $element->getBeforeElementHtml() || $element->getAfterElementHtml(); $fieldId = ($element->getHtmlContainerId()) ? ' id="' . $element->getHtmlContainerId() . '"' : ''; -$fieldClass = "field field-{$element->getId()} {$element->getCssClass()}"; +$fieldClass = "admin__field field field-{$element->getId()} {$element->getCssClass()}"; $fieldClass .= ($elementBeforeLabel) ? ' choice' : ''; $fieldClass .= ($addOn) ? ' with-addon' : ''; -$fieldClass .= ($element->getRequired()) ? ' required' : ''; +$fieldClass .= ($element->getRequired()) ? ' required _required' : ''; $fieldClass .= ($note) ? ' with-note' : ''; $fieldClass .= (!$element->getLabelHtml()) ? ' no-label' : ''; @@ -36,8 +36,8 @@ $fieldAttributes = $fieldId . ' class="' . $fieldClass . '" ' getLabelHtml() ?> -
- ' . $element->getElementHtml() . '
' : $element->getElementHtml(); ?> +
+ ' . $element->getElementHtml() . '
' : $element->getElementHtml(); ?>
diff --git a/app/code/Magento/Backend/view/adminhtml/templates/widget/grid.phtml b/app/code/Magento/Backend/view/adminhtml/templates/widget/grid.phtml index f020f39cee126..ce39df8da943b 100644 --- a/app/code/Magento/Backend/view/adminhtml/templates/widget/grid.phtml +++ b/app/code/Magento/Backend/view/adminhtml/templates/widget/grid.phtml @@ -55,7 +55,7 @@ $numColumns = sizeof($block->getColumns()); getUiId('current-page') ?> /> @@ -123,7 +123,7 @@ $numColumns = sizeof($block->getColumns()); - + getChildBlock('grid.bottom.links')): ?> getChildHtml('grid.bottom.links') ?> diff --git a/app/code/Magento/Backend/view/adminhtml/templates/widget/grid/extended.phtml b/app/code/Magento/Backend/view/adminhtml/templates/widget/grid/extended.phtml index fc733f71a023a..c8f1b79cf2cca 100644 --- a/app/code/Magento/Backend/view/adminhtml/templates/widget/grid/extended.phtml +++ b/app/code/Magento/Backend/view/adminhtml/templates/widget/grid/extended.phtml @@ -42,7 +42,7 @@ $numColumns = sizeof($block->getColumns()); + onchange="getJsObjectName() ?>.loadByElement(this)" + class="select admin__control-select"> @@ -199,11 +200,11 @@ $numColumns = sizeof($block->getColumns()); - + @@ -214,7 +215,7 @@ $numColumns = sizeof($block->getColumns()); - + getChildBlock('grid.bottom.links')): ?> getChildHtml('grid.bottom.links') ?> diff --git a/app/code/Magento/Bundle/view/adminhtml/templates/product/composite/fieldset/options/bundle.phtml b/app/code/Magento/Bundle/view/adminhtml/templates/product/composite/fieldset/options/bundle.phtml index 86d170187b0af..73d5d50ee6574 100644 --- a/app/code/Magento/Bundle/view/adminhtml/templates/product/composite/fieldset/options/bundle.phtml +++ b/app/code/Magento/Bundle/view/adminhtml/templates/product/composite/fieldset/options/bundle.phtml @@ -11,15 +11,13 @@ decorateArray($block->getOptions()); ?> -
-
-
- - getSelections()) : ?> - getOptionHtml($option); ?> - - -
+
+
+ + getSelections()) : ?> + getOptionHtml($option); ?> + +
-
-