Skip to content

Commit d60a4cf

Browse files
author
Natalia Momotenko
committed
Merge remote-tracking branch 'origin/develop' into MAGETWO-44091
2 parents 12109bf + 9b1f7f5 commit d60a4cf

File tree

6 files changed

+27
-14
lines changed

6 files changed

+27
-14
lines changed

app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer/Checkbox.php

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,18 @@ public function render(\Magento\Framework\DataObject $row)
116116
*/
117117
protected function _getCheckboxHtml($value, $checked)
118118
{
119-
$html = '<input type="checkbox" ';
119+
$html = '<label class="data-grid-checkbox-cell-inner" ';
120+
$html .= ' for="id_' . $this->escapeHtml($value) . '">';
121+
$html .= '<input type="checkbox" ';
120122
$html .= 'name="' . $this->getColumn()->getFieldName() . '" ';
121123
$html .= 'value="' . $this->escapeHtml($value) . '" ';
124+
$html .= 'id="id_' . $this->escapeHtml($value) . '" ';
122125
$html .= 'class="' .
123126
($this->getColumn()->getInlineCss() ? $this->getColumn()->getInlineCss() : 'checkbox') .
124-
' admin__control-checkbox' .
125-
'"';
127+
' admin__control-checkbox' . '"';
126128
$html .= $checked . $this->getDisabled() . '/>';
127-
$html .= '<label></label>';
129+
$html .= '<label for="id_' . $this->escapeHtml($value) . '"></label>';
130+
$html .= '</label>';
128131
/* ToDo UI: add class="admin__field-label" after some refactoring _fields.less */
129132
return $html;
130133
}

app/code/Magento/ImportExport/Block/Adminhtml/Export/Filter.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ protected function _getInputHtmlWithValue(Attribute $attribute, $value)
120120
{
121121
$html = '<input type="text" name="' . $this->getFilterElementName(
122122
$attribute->getAttributeCode()
123-
) . '" class="input-text input-text-export-filter"';
123+
) . '" class="admin__control-text input-text input-text-export-filter"';
124124
if ($value) {
125125
$html .= ' value="' . $this->escapeHtml($value) . '"';
126126
}
@@ -190,7 +190,7 @@ protected function _getNumberFromToHtmlWithValue(Attribute $attribute, $value)
190190
':</strong>&nbsp;' .
191191
'<input type="text" name="' .
192192
$name .
193-
'[]" class="input-text input-text-range"' .
193+
'[]" class="admin__control-text input-text input-text-range"' .
194194
' value="' .
195195
$fromValue .
196196
'"/>&nbsp;' .
@@ -200,7 +200,7 @@ protected function _getNumberFromToHtmlWithValue(Attribute $attribute, $value)
200200
) .
201201
':</strong>&nbsp;<input type="text" name="' .
202202
$name .
203-
'[]" class="input-text input-text-range" value="' .
203+
'[]" class="admin__control-text input-text input-text-range" value="' .
204204
$toValue .
205205
'" />';
206206
}
@@ -236,7 +236,7 @@ protected function _getSelectHtmlWithValue(Attribute $attribute, $value)
236236
$arguments = [
237237
'name' => $this->getFilterElementName($attribute->getAttributeCode()),
238238
'id' => $this->getFilterElementId($attribute->getAttributeCode()),
239-
'class' => 'select select-export-filter',
239+
'class' => 'admin__control-select select select-export-filter',
240240
];
241241
/** @var $selectBlock \Magento\Framework\View\Element\Html\Select */
242242
$selectBlock = $this->_layout->createBlock(

app/code/Magento/ImportExport/view/adminhtml/templates/export/form/after.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
// @codingStandardsIgnoreFile
88
?>
9-
<fieldset class="fieldset" id="export_filter_container" style="display:none;">
10-
<legend class="legend">
9+
<fieldset class="admin__fieldset" id="export_filter_container" style="display:none;">
10+
<legend class="admin__legend">
1111
<span><?php /* @escapeNotVerified */ echo __('Entity Attributes'); ?></span>
1212
</legend>
1313
<br />

app/code/Magento/Integration/Block/Adminhtml/Integration/Tokens.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ protected function _prepareForm()
3737

3838
$fieldset = $form->addFieldset(
3939
'base_fieldset',
40-
['legend' => __('Integration Tokens for Extensions'), 'class' => 'fieldset-wide']
40+
['legend' => __('Integration Tokens for Extensions'), 'class' => ' fieldset-wide']
4141
);
4242

4343
foreach ($this->getFormFields() as $field) {

app/code/Magento/Integration/view/adminhtml/templates/integration/activate/permissions/tab/webapi.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// @codingStandardsIgnoreFile
1212

1313
?>
14-
<fieldset class="fieldset form-inline entry-edit">
14+
<fieldset class="admin__fieldset form-inline entry-edit">
1515
<?php if ($block->isTreeEmpty()): ?>
1616
<p class="empty"><?php /* @escapeNotVerified */ echo __('No permissions requested'); ?></p>
1717
<?php else: ?>

app/design/adminhtml/Magento/backend/web/css/styles-old.less

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2640,8 +2640,8 @@
26402640
}
26412641

26422642
//
2643-
// Configuration -> Design
2644-
// --------------------------------------
2643+
// Configuration -> Design
2644+
// --------------------------------------
26452645

26462646
#row_design_theme_ua_regexp .design_theme_ua_regexp {
26472647
float: left;
@@ -2654,6 +2654,16 @@
26542654
clear: both;
26552655
}
26562656

2657+
//
2658+
// Configuration -> Advanced -> System -> Notifications section
2659+
// --------------------------------------
2660+
2661+
#row_system_adminnotification_last_update {
2662+
.value {
2663+
vertical-align: bottom;
2664+
}
2665+
}
2666+
26572667
//
26582668
// CMS -> Banners
26592669
// --------------------------------------

0 commit comments

Comments
 (0)