Skip to content

Commit

Permalink
Merge pull request #66 from magento-webdev/develop
Browse files Browse the repository at this point in the history
[UI] Sprint 30
  • Loading branch information
dvilchynskyi committed Jan 28, 2015
2 parents 9e8434e + e297781 commit 5a00464
Show file tree
Hide file tree
Showing 938 changed files with 4,024 additions and 9,090 deletions.
520 changes: 415 additions & 105 deletions Gruntfile.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ protected function _prepareForm()
'label' => __('Date From'),
'title' => __('Date From'),
'name' => 'date_from',
'image' => $this->getViewFileUrl('images/grid-cal.gif'),
'image' => $this->getViewFileUrl('images/grid-cal.png'),
'date_format' => $dateFormat
//'required' => true
]
Expand All @@ -112,7 +112,7 @@ protected function _prepareForm()
'label' => __('Date To'),
'title' => __('Date To'),
'name' => 'date_to',
'image' => $this->getViewFileUrl('images/grid-cal.gif'),
'image' => $this->getViewFileUrl('images/grid-cal.png'),
'date_format' => $dateFormat
//'required' => true
]
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Block/Widget/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ protected function _applyTypeSpecificConfig($inputType, $element, \Magento\Eav\M
$element->setCanBeEmpty(true);
break;
case 'date':
$element->setImage($this->getViewFileUrl('images/grid-cal.gif'));
$element->setImage($this->getViewFileUrl('images/grid-cal.png'));
$element->setDateFormat($this->_localeDate->getDateFormatWithLongYear());
break;
case 'multiline':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function getHtml()
'",
buttonImage: "' .
$this->getViewFileUrl(
'images/grid-cal.gif'
'images/grid-cal.png'
) . '",
buttonText: "' . $this->escapeHtml(__('Date selector')) .
'",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public function getHtml()
dateFormat: "' . $format . '",
timeFormat: "' . $timeFormat . '",
showsTime: ' . ($this->getColumn()->getFilterTime() ? 'true' : 'false') . ',
buttonImage: "' . $this->getViewFileUrl('images/grid-cal.gif') . '",
buttonImage: "' . $this->getViewFileUrl('images/grid-cal.png') . '",
buttonText: "' . $this->escapeHtml(__('Date selector')) . '",
from: {
id: "' . $htmlId . '_from"
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified app/code/Magento/Captcha/view/adminhtml/web/reload.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ protected function _prepareForm()
'name' => 'default_value_date',
'label' => __('Default Value'),
'title' => __('Default Value'),
'image' => $this->getViewFileUrl('images/grid-cal.gif'),
'image' => $this->getViewFileUrl('images/grid-cal.png'),
'value' => $attributeObject->getDefaultValue(),
'date_format' => $dateFormat
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function getCalendarDateHtml()
)->setClass(
'product-custom-option datetime-picker input-text'
)->setImage(
$this->getViewFileUrl('Magento_Core::calendar.gif')
$this->getViewFileUrl('Magento_Core::calendar.png')
)->setDateFormat(
$this->_localeDate->getDateFormat(\Magento\Framework\Stdlib\DateTime\TimezoneInterface::FORMAT_TYPE_SHORT)
)->setValue(
Expand Down
6 changes: 3 additions & 3 deletions app/code/Magento/Catalog/etc/widget.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../Magento/Widget/etc/widget.xsd">
<widget id="new_products" class="Magento\Catalog\Block\Product\Widget\NewWidget" is_email_compatible="true"
placeholder_image="Magento_Catalog::images/product_widget_new.gif" ttl="86400">
placeholder_image="Magento_Catalog::images/product_widget_new.png" ttl="86400">
<label translate="true">Catalog New Products List</label>
<description translate="true">List of Products that are set as New</description>
<parameters>
Expand Down Expand Up @@ -87,7 +87,7 @@
<widget id="catalog_product_link"
class="Magento\Catalog\Block\Product\Widget\Link"
is_email_compatible="true"
placeholder_image="Magento_Catalog::images/product_widget_link.gif">
placeholder_image="Magento_Catalog::images/product_widget_link.png">
<label translate="true">Catalog Product Link</label>
<description translate="true">Link to a Specified Product</description>
<parameters>
Expand Down Expand Up @@ -126,7 +126,7 @@
<widget id="catalog_category_link"
class="Magento\Catalog\Block\Category\Widget\Link"
is_email_compatible="true"
placeholder_image="Magento_Catalog::images/category_widget_link.gif">
placeholder_image="Magento_Catalog::images/category_widget_link.png">
<label translate="true">Catalog Category Link</label>
<description translate="true">Link to a Specified Category</description>
<parameters>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
</div>
<?php if ($this->getRoot()): ?>
<div class="tree-holder">
<div id="tree-div" style="width:100%; overflow:auto;"></div>
<div id="tree-div" class="tree-wrapper"></div>
</div>
</div>
<div data-id="information-dialog-tree" style="display: none;">
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Diff not rendered.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
bottom: 5px;
top: auto;
margin: auto;
background: url(Magento_Backend::images/draggable-handle-bg.gif) no-repeat;
background: url(Magento_Backend::images/draggable-handle-bg.png) no-repeat;
z-index: 2;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ protected function _prepareForm()
'name' => 'from_date',
'label' => __('From Date'),
'title' => __('From Date'),
'image' => $this->getViewFileUrl('images/grid-cal.gif'),
'image' => $this->getViewFileUrl('images/grid-cal.png'),
'input_format' => \Magento\Framework\Stdlib\DateTime::DATE_INTERNAL_FORMAT,
'date_format' => $dateFormat
]
Expand All @@ -208,7 +208,7 @@ protected function _prepareForm()
'name' => 'to_date',
'label' => __('To Date'),
'title' => __('To Date'),
'image' => $this->getViewFileUrl('images/grid-cal.gif'),
'image' => $this->getViewFileUrl('images/grid-cal.png'),
'input_format' => \Magento\Framework\Stdlib\DateTime::DATE_INTERNAL_FORMAT,
'date_format' => $dateFormat
]
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/CatalogSearch/Block/Advanced/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ public function getDateInput($attribute, $part = 'from')
)->setValue(
$value
)->setImage(
$this->getViewFileUrl('Magento_Core::calendar.gif')
$this->getViewFileUrl('Magento_Core::calendar.png')
)->setDateFormat(
$this->_localeDate->getDateFormat(\Magento\Framework\Stdlib\DateTime\TimezoneInterface::FORMAT_TYPE_SHORT)
)->setClass(
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/CatalogWidget/etc/widget.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../Magento/Widget/etc/widget.xsd">
<widget id="products_list" class="Magento\CatalogWidget\Block\Product\ProductsList" is_email_compatible="true"
placeholder_image="Magento_CatalogWidget::images/products_list.gif" ttl="86400">
placeholder_image="Magento_CatalogWidget::images/products_list.png" ttl="86400">
<label translate="true">Catalog Products List</label>
<description translate="true">List of Products</description>
<parameters>
Expand Down
Diff not rendered.
4 changes: 2 additions & 2 deletions app/code/Magento/Centinel/view/frontend/templates/logo.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<label class="label"><span><?php echo __('To ensure the security of your transactions') ?></span></label>
<div class="control">
<div class="nested">
<a href="#" title="<?php echo __('Verified by Visa') ?> " data-mage-init='{"popupWindow": {"windowURL":"<?php echo $this->helper('Magento\Centinel\Helper\Data')->getVisaLearnMorePageUrl()?>","windowName":"verifiedByVisa","width":815,"height":600,"centerScreen":1,"location":0,"status":1,"scrollbars":1,"resizable":1}}'><img src="<?php echo $this->getViewFileUrl('Magento_Centinel::images/vbv_ltbg_71x57.gif'); ?>" alt="<?php echo __('Verified by Visa') ?>" /></a>
<a href="#" title="<?php echo __('MasterCard SecureCode'); ?>" data-mage-init='{"popupWindow": {"windowURL":"<?php echo $this->helper('Magento\Centinel\Helper\Data')->getMastercardLearnMorePageUrl()?>","windowName":"secureCode","width":600,"height":403,"centerScreen":1,"location":0,"status":1,"scrollbars":1,"resizable":1}}'><img src="<?php echo $this->getViewFileUrl('Magento_Centinel::images/sc_learn_62x34.gif'); ?>" alt="<?php echo __('MasterCard SecureCode') ?>" /></a>
<a href="#" title="<?php echo __('Verified by Visa') ?> " data-mage-init='{"popupWindow": {"windowURL":"<?php echo $this->helper('Magento\Centinel\Helper\Data')->getVisaLearnMorePageUrl()?>","windowName":"verifiedByVisa","width":815,"height":600,"centerScreen":1,"location":0,"status":1,"scrollbars":1,"resizable":1}}'><img src="<?php echo $this->getViewFileUrl('Magento_Centinel::images/vbv_ltbg_71x57.png'); ?>" alt="<?php echo __('Verified by Visa') ?>" /></a>
<a href="#" title="<?php echo __('MasterCard SecureCode'); ?>" data-mage-init='{"popupWindow": {"windowURL":"<?php echo $this->helper('Magento\Centinel\Helper\Data')->getMastercardLearnMorePageUrl()?>","windowName":"secureCode","width":600,"height":403,"centerScreen":1,"location":0,"status":1,"scrollbars":1,"resizable":1}}'><img src="<?php echo $this->getViewFileUrl('Magento_Centinel::images/sc_learn_62x34.png'); ?>" alt="<?php echo __('MasterCard SecureCode') ?>" /></a>
</div>
</div>
</div>
Diff not rendered.
Diff not rendered.
Binary file removed app/code/Magento/Checkout/view/frontend/web/cvv.gif
Diff not rendered.
4 changes: 2 additions & 2 deletions app/code/Magento/Cms/Block/Adminhtml/Page/Edit/Tab/Design.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ protected function _prepareForm()
[
'name' => 'custom_theme_from',
'label' => __('Custom Design From'),
'image' => $this->getViewFileUrl('images/grid-cal.gif'),
'image' => $this->getViewFileUrl('images/grid-cal.png'),
'date_format' => $dateFormat,
'disabled' => $isElementDisabled,
'class' => 'validate-date validate-date-range date-range-custom_theme-from'
Expand All @@ -138,7 +138,7 @@ protected function _prepareForm()
[
'name' => 'custom_theme_to',
'label' => __('Custom Design To'),
'image' => $this->getViewFileUrl('images/grid-cal.gif'),
'image' => $this->getViewFileUrl('images/grid-cal.png'),
'date_format' => $dateFormat,
'disabled' => $isElementDisabled,
'class' => 'validate-date validate-date-range date-range-custom_theme-to'
Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/Cms/etc/widget.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<widgets xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../Magento/Widget/etc/widget.xsd">
<widget id="cms_page_link" class="Magento\Cms\Block\Widget\Page\Link" is_email_compatible="true"
placeholder_image="Magento_Cms::images/widget_page_link.gif">
placeholder_image="Magento_Cms::images/widget_page_link.png">
<label translate="true">CMS Page Link</label>
<description translate="true">Link to a CMS Page</description>
<parameters>
Expand Down Expand Up @@ -43,7 +43,7 @@
</parameters>
</widget>
<widget id="cms_static_block" class="Magento\Cms\Block\Widget\Block"
placeholder_image="Magento_Cms::images/widget_block.gif">
placeholder_image="Magento_Cms::images/widget_block.png">
<label translate="true">CMS Static Block</label>
<description translate="true">Contents of a Static Block</description>
<parameters>
Expand Down
Diff not rendered.
Diff not rendered.
Binary file removed app/code/Magento/Core/view/adminhtml/web/calendar.gif
Diff not rendered.
Binary file modified app/code/Magento/Core/view/adminhtml/web/fam_book_open.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file modified app/code/Magento/Core/view/adminhtml/web/theme/default_preview.jpg
Binary file removed app/code/Magento/Core/view/frontend/web/calendar.gif
Diff not rendered.
Binary file added app/code/Magento/Core/view/frontend/web/calendar.png
Binary file modified app/code/Magento/Core/view/frontend/web/fam_book_open.png
Binary file modified app/code/Magento/Core/view/frontend/web/translate_edit_icon.png
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ protected function _applyTypeSpecificConfigCustomer(
$element->setCanBeEmpty(true);
break;
case 'date':
$element->setImage($this->getViewFileUrl('images/grid-cal.gif'));
$element->setImage($this->getViewFileUrl('images/grid-cal.png'));
$element->setDateFormat($this->_localeDate->getDateFormatWithLongYear());
break;
case 'multiline':
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Customer/Block/Widget/Dob.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function getFieldHtml()
'class' => $this->getHtmlClass(),
'value' => $this->getValue(),
'date_format' => $this->getDateFormat(),
'image' => $this->getViewFileUrl('Magento_Core::calendar.gif'),
'image' => $this->getViewFileUrl('Magento_Core::calendar.png'),
]);
return $this->dateElement->getHtml();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
</button>
</span>
<span class="file-upload-success hidden">
<img src="<?php echo $this->getViewFileUrl('Magento_DesignEditor::images/i_msg-success.gif') ?>">
<img src="<?php echo $this->getViewFileUrl('Magento_DesignEditor::images/i_msg-success.png') ?>">
</span>
<span class="file-upload-failure hidden">
<img src="<?php echo $this->getViewFileUrl('Magento_DesignEditor::images/i_msg-error.gif') ?>">
<img src="<?php echo $this->getViewFileUrl('Magento_DesignEditor::images/i_msg-error.png') ?>">
</span>
</span>
<div class="progressbar upload-progress"></div>
Expand Down
Loading

0 comments on commit 5a00464

Please sign in to comment.