File tree Expand file tree Collapse file tree 5 files changed +36
-27
lines changed
Catalog/view/adminhtml/templates/catalog/product/attribute
Swatches/view/adminhtml/templates/catalog/product/attribute
design/adminhtml/Magento/backend/web/css Expand file tree Collapse file tree 5 files changed +36
-27
lines changed Original file line number Diff line number Diff line change 16
16
</strong>
17
17
</div>
18
18
<div class="fieldset-wrapper-content in collapse" id="manage-titles-content">
19
- <fieldset class="fieldset">
20
- <table class="admin__control-table" id="attribute-labels-table">
21
- <thead>
22
- <tr>
23
- <?php foreach ($ block ->getStores () as $ _store ): ?>
24
- <th class="col-store-view"><?php /* @escapeNotVerified */ echo $ _store ->getName () ?> </th>
25
- <?php endforeach ; ?>
26
- </tr>
27
- </thead>
28
- <tbody>
29
- <tr>
30
- <?php $ _labels = $ block ->getLabelValues () ?>
31
- <?php foreach ($ block ->getStores () as $ _store ): ?>
32
- <td class="col-store-view">
33
- <input class="input-text<?php if ($ _store ->getId () == \Magento \Store \Model \Store::DEFAULT_STORE_ID ): ?> required-option<?php endif ; ?> " type="text" name="frontend_label[<?php /* @escapeNotVerified */ echo $ _store ->getId () ?> ]" value="<?php echo $ block ->escapeHtml ($ _labels [$ _store ->getId ()]) ?> "<?php if ($ block ->getReadOnly ()):?> disabled="disabled"<?php endif ;?> />
34
- </td>
35
- <?php endforeach ; ?>
36
- </tr>
37
- </tbody>
38
- </table>
19
+ <fieldset class="admin__fieldset fieldset">
20
+ <div class="admin__control-table-wrapper">
21
+ <table class="admin__control-table" id="attribute-labels-table">
22
+ <thead>
23
+ <tr>
24
+ <?php foreach ($ block ->getStores () as $ _store ): ?>
25
+ <th class="col-store-view"><?php /* @escapeNotVerified */ echo $ _store ->getName () ?> </th>
26
+ <?php endforeach ; ?>
27
+ </tr>
28
+ </thead>
29
+ <tbody>
30
+ <tr>
31
+ <?php $ _labels = $ block ->getLabelValues () ?>
32
+ <?php foreach ($ block ->getStores () as $ _store ): ?>
33
+ <td class="col-store-view">
34
+ <input class="input-text<?php if ($ _store ->getId () == \Magento \Store \Model \Store::DEFAULT_STORE_ID ): ?> required-option<?php endif ; ?> " type="text" name="frontend_label[<?php /* @escapeNotVerified */ echo $ _store ->getId () ?> ]" value="<?php echo $ block ->escapeHtml ($ _labels [$ _store ->getId ()]) ?> "<?php if ($ block ->getReadOnly ()):?> disabled="disabled"<?php endif ;?> />
35
+ </td>
36
+ <?php endforeach ; ?>
37
+ </tr>
38
+ </tbody>
39
+ </table>
40
+ </div>
39
41
</fieldset>
40
42
</div>
41
43
</div>
Original file line number Diff line number Diff line change 10
10
11
11
$ stores = $ block ->getStoresSortedBySortOrder ();
12
12
?>
13
- <fieldset class="fieldset">
13
+ <fieldset class="admin__fieldset fieldset">
14
14
<legend class="legend">
15
15
<span><?php echo $ block ->escapeHtml (__ ('Manage Options (Values of Your Attribute) ' )); ?> </span>
16
- </legend>
17
- <div id="manage-options-panel" data-index="attribute_options_select_container">
16
+ </legend><br />
17
+ <div class="admin__control-table-wrapper" id="manage-options-panel" data-index="attribute_options_select_container">
18
18
<table class="admin__control-table" data-index="attribute_options_select">
19
19
<thead>
20
20
<tr id="attribute-options-table">
Original file line number Diff line number Diff line change 10
10
11
11
$ stores = $ block ->getStoresSortedBySortOrder ();
12
12
?>
13
- <fieldset class="fieldset">
14
- <legend class="legend"><span><?php echo $ block ->escapeHtml ( __ ('Manage Swatch (Values of Your Attribute) ' )); ?> </span></legend>
15
- <div id="swatch-visual-options-panel">
13
+ <fieldset class="admin__fieldset fieldset">
14
+ <legend class="legend">
15
+ <span><?php echo $ block ->escapeHtml ( __ ('Manage Swatch (Values of Your Attribute) ' )); ?> </span>
16
+ </legend><br />
17
+ <div class="admin__control-table-wrapper" id="swatch-visual-options-panel">
16
18
<table class="data-table clearfix" cellspacing="0">
17
19
<thead>
18
20
<tr id="swatch-visual-options-table">
@@ -116,5 +118,4 @@ $stores = $block->getStoresSortedBySortOrder();
116
118
}
117
119
}
118
120
</script>
119
-
120
121
</fieldset>
Original file line number Diff line number Diff line change 131
131
& ._required {
132
132
span {
133
133
& :after {
134
+ .lib-css (margin , @form-field-label-asterisk__margin );
134
135
color : @validation__color ;
135
136
content : ' *' ;
136
137
}
Original file line number Diff line number Diff line change 744
744
// --------------------------------------
745
745
746
746
fieldset {
747
+ min-width : 0 ;
747
748
padding : 20px ;
748
749
}
749
750
5049
5050
}
5050
5051
}
5051
5052
}
5053
+
5054
+ .admin__control-table-wrapper {
5055
+ clear : both ;
5056
+ }
5052
5057
}
5053
5058
5054
5059
.catalog-product-set-index {
You can’t perform that action at this time.
0 commit comments