Improved: Updated footer markup, now footer will be render properly on all pages.

Thanks Parakh for your contribution

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1818789 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Deepak Dixit
2017-12-20 12:41:25 +00:00
parent 25703c2947
commit d25e3ed4c0
4 changed files with 16 additions and 0 deletions
+2
View File
@@ -19,6 +19,7 @@ under the License.
<#assign nowTimestamp = Static["org.apache.ofbiz.base.util.UtilDateTime"].nowTimestamp()>
<div class="footer-block">
<div class="d-flex justify-content-between">
<div class="p-2">
<a href="//jigsaw.w3.org/css-validator/">
@@ -39,3 +40,4 @@ under the License.
<div><a href="<@ofbizUrl>policies</@ofbizUrl>">${uiLabelMap.EcommerceSeeStorePoliciesHere}</a></div>
</div>
</div>
</div>
@@ -58,4 +58,8 @@
.quick-links a, #paginationBox a {
color: #000000;
}
.footer-block {
background: #f8f9fa;
}
@@ -259,8 +259,16 @@ margin-top:10px;
position:relative;
width:100%;
text-align:left;
flex:1;
}
#parentContainer {
display: flex;
min-height: 100vh;
flex-direction: column;
}
#ecom-mainarea .left {
background:#fff;
float:left;
+2
View File
@@ -81,6 +81,7 @@ under the License.
<platform-specific><html><html-template location="component://ecommerce/template/includes/HeaderHead.ftl"/></html></platform-specific>
<platform-specific><html><html-template location="component://common-theme/template/includes/OpenHtmlBody.ftl"/></html></platform-specific>
<!-- render header -->
<container id="parentContainer">
<container id="header"><platform-specific><html><html-template location="${headerTemplateLocation}"/></html></platform-specific></container>
<container id="ecom-mainarea">
@@ -99,6 +100,7 @@ under the License.
<!-- render footer -->
<container id="footer"><platform-specific><html><html-template location="${footerTemplateLocation}"/></html></platform-specific></container>
</container>
<platform-specific><html><html-template location="component://common-theme/template/includes/CloseHtmlBody.ftl"/></html></platform-specific>
</widgets>
<fail-widgets>