Skip to content

Commit

Permalink
updated fixing bugs while merging the files css and js
Browse files Browse the repository at this point in the history
  • Loading branch information
php-cuong committed Dec 5, 2017
1 parent 7460197 commit 563472d
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 23 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"magento/framework": "100.0.*|100.1.*|101.0.*"
},
"type": "magento2-module",
"version": "2.1.7",
"version": "2.1.7.1",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
<module name="PHPCuong_Faq" setup_version="2.1.0"/>
<module name="PHPCuong_Faq" setup_version="2.1.7.1"/>
</config>
12 changes: 0 additions & 12 deletions view/adminhtml/layout/default.xml

This file was deleted.

2 changes: 1 addition & 1 deletion view/adminhtml/templates/footer/version.phtml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p class="magento-version">
<strong><?= /* @escapeNotVerified */ base64_decode('RkFRcyBFeHRlbnNpb24=') ?></strong>
<?= /* @escapeNotVerified */ base64_decode('Mi4xLjc='); ?>
<?= /* @escapeNotVerified */ base64_decode('Mi4xLjcuMQ=='); ?>
</p>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import 'faq-extension/style.css';
@import '../faq-extension/style.css';

.admin__menu .item-faqs.level-0>a:before {
content: "\e900";
Expand Down
1 change: 0 additions & 1 deletion view/frontend/layout/faq_category_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<css src="PHPCuong_Faq::css/common.css"/>
<script src="PHPCuong_Faq::js/js-category.js" />
</head>
<referenceContainer name="content">
Expand Down
1 change: 0 additions & 1 deletion view/frontend/layout/faq_faq_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<css src="PHPCuong_Faq::css/common.css"/>
<script src="PHPCuong_Faq::js/js-category.js" />
</head>
<referenceContainer name="content">
Expand Down
3 changes: 1 addition & 2 deletions view/frontend/layout/faq_question_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<css src="PHPCuong_Faq::css/common.css"/>
<script src="PHPCuong_Faq::js/js-question.js" />
</head>
<referenceContainer name="content">
<referenceBlock name="page.main.title" remove="true"/>
<block class="PHPCuong\Faq\Block\Question\Question" name="faq.question.view" template="PHPCuong_Faq::question/view.phtml" />
<block class="PHPCuong\Faq\Block\Question\Question" name="faq.question.view" template="PHPCuong_Faq::question/view.phtml" cacheable="false"/>
</referenceContainer>
<referenceContainer name="sidebar.main">
<block class="PHPCuong\Faq\Block\Category\CategorySidebar" name="faq.category.sidebar.view" template="PHPCuong_Faq::category/categorySidebar.phtml" />
Expand Down
1 change: 0 additions & 1 deletion view/frontend/layout/faq_search_index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<css src="PHPCuong_Faq::css/common.css"/>
<script src="PHPCuong_Faq::js/js-category.js" />
</head>
<referenceContainer name="content">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import 'faq-extension/style.css';
@import 'bootstrap.css';
@import '../faq-extension/style.css';
@import '../bootstrap.css';

/* faq content */
[class^="faq-"] h1 {
Expand Down

0 comments on commit 563472d

Please sign in to comment.