Skip to content

Commit e37e396

Browse files
author
Dubovyk Oleksandr
committed
MAGETWO-42365: "Export" Admin page lost its styles
- Fixed input fields and form
1 parent c3ae167 commit e37e396

File tree

2 files changed

+6
-6
lines changed
  • app/code/Magento/ImportExport

2 files changed

+6
-6
lines changed

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 />

0 commit comments

Comments
 (0)