Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
97ac8550
Commit
97ac8550
authored
May 09, 2023
by
dhn
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://47.99.244.21:9999/root/joshine
into Branch_developer
parents
b1825e83
8f4a0eb2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
15 deletions
+2
-15
app/design/frontend/Joshine/breeze/Magento_Theme/layout/default.xml
+1
-1
app/design/frontend/Joshine/breeze/Magento_Theme/templates/html/footer.phtml
+1
-14
No files found.
app/design/frontend/Joshine/breeze/Magento_Theme/layout/default.xml
View file @
97ac8550
...
...
@@ -106,7 +106,7 @@
<referenceBlock
name=
"copyright"
remove=
"true"
/>
</referenceContainer>
<referenceContainer
name=
"before.body.end"
>
<block
class=
"Magento\Theme\Block\Html\Footer"
name=
"footer"
template=
"Magento_Theme::html/footer.phtml"
/>
<block
class=
"Magento\Theme\Block\Html\Footer"
name=
"footer"
template=
"Magento_Theme::html/footer.phtml"
cacheable=
"true"
/>
</referenceContainer>
<referenceContainer
name=
"content"
>
<block
class=
"Magento\Framework\View\Element\FormKey"
name=
"formkey"
/>
...
...
app/design/frontend/Joshine/breeze/Magento_Theme/templates/html/footer.phtml
View file @
97ac8550
...
...
@@ -3,21 +3,11 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
?>
<?php
echo
$block
->
getLayout
()
->
createBlock
(
'Magento\Cms\Block\Block'
)
->
setBlockId
(
'public_footer'
)
->
toHtml
();
?>
<p
title=
"go to header"
id=
"topBtn"
style=
"display: none;"
>
<img
loading=
"lazy"
src=
"
<?php
echo
$block
->
getViewFileUrl
(
'images/goTop.png'
);
?>
"
>
</p>
<script>
var
userAgentInfo
=
navigator
.
userAgent
;
var
Agents
=
new
Array
(
"Android"
,
"iPhone"
,
"SymbianOS"
,
"Windows Phone"
,
"iPad"
,
"iPod"
);
var
flag
=
true
;
for
(
var
v
=
0
;
v
<
Agents
.
length
;
v
++
)
{
if
(
userAgentInfo
.
indexOf
(
Agents
[
v
])
>
0
)
{
flag
=
false
;
break
;
}
}
require
([
'jquery'
],
function
(
$
){
var
flag
=
window
.
matchMedia
(
"(pointer:coarse)"
).
matches
;
//footer
$
(
"h4"
).
click
(
function
()
{
var
dis
=
$
(
this
).
siblings
(
"ul"
).
css
(
"display"
);
...
...
@@ -35,9 +25,6 @@
$
(
".page-header .actions.search-dropdown"
).
click
(
function
()
{
$
(
"#search_mini_form_input"
).
toggle
();
});
if
(
flag
){
var
imgH
=
$
(
'.logo'
).
height
();
imgH
=
Math
.
ceil
(
imgH
/
3
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment