Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
3f7d6377
Commit
3f7d6377
authored
Apr 03, 2015
by
Phil McGachey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[LTI Provider] Adding options to suppress chrome for embedding courseware
parent
e62e6b4c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
21 deletions
+27
-21
lms/templates/main.html
+27
-21
No files found.
lms/templates/main.html
View file @
3f7d6377
...
...
@@ -49,14 +49,16 @@
</title>
</
%
block>
<script
type=
"text/javascript"
>
/* immediately break out of an iframe if coming from the marketing website */
(
function
(
window
)
{
if
(
window
.
location
!==
window
.
top
.
location
)
{
window
.
top
.
location
=
window
.
location
;
}
})(
this
);
</script>
% if not allow_iframing:
<script
type=
"text/javascript"
>
/* immediately break out of an iframe if coming from the marketing website */
(
function
(
window
)
{
if
(
window
.
location
!==
window
.
top
.
location
)
{
window
.
top
.
location
=
window
.
location
;
}
})(
this
);
</script>
% endif
<script
type=
"text/javascript"
src=
"/jsi18n/"
></script>
...
...
@@ -141,25 +143,29 @@
<
%
include
file=
"mathjax_accessible.html"
/>
<
%
include
file=
"${header_file}"
/>
% if not disable_header:
<
%
include
file=
"${header_file}"
/>
% endif
<div
class=
"content-wrapper"
id=
"content"
>
${self.body()}
<
%
block
name=
"bodyextra"
/>
</div>
<
%
block
name=
"footer"
>
## Can be overridden by child templates wanting to hide the footer.
<
%
if
theme_enabled
()
and
not
is_microsite
()
:
footer_file =
'theme-footer.html'
elif
settings
.
FEATURES
.
get
('
IS_EDX_DOMAIN
',
False
)
and
not
is_microsite
()
:
footer_file =
microsite.get_template_path('footer-edx-new.html')
else:
footer_file =
microsite.get_template_path('footer.html')
%
>
<
%
include
file=
"${footer_file}"
/>
</
%
block>
% if not disable_footer:
<
%
block
name=
"footer"
>
## Can be overridden by child templates wanting to hide the footer.
<
%
if
theme_enabled
()
and
not
is_microsite
()
:
footer_file =
'theme-footer.html'
elif
settings
.
FEATURES
.
get
('
IS_EDX_DOMAIN
',
False
)
and
not
is_microsite
()
:
footer_file =
microsite.get_template_path('footer-edx-new.html')
else:
footer_file =
microsite.get_template_path('footer.html')
%
>
<
%
include
file=
"${footer_file}"
/>
</
%
block>
% endif
</div>
...
...
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