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
OpenEdx
edx-platform
Commits
6b82b8c2
Commit
6b82b8c2
authored
Sep 28, 2017
by
Harry Rein
Committed by
Bill Filler
Oct 02, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hack 2.
parent
6c359072
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
lms/static/sass/features/_digital-locker.scss
+1
-1
openedx/features/course_experience/templates/course_experience/digital-locker-fragment.html
+1
-1
openedx/features/course_experience/views/digital_locker_fragment.py
+1
-0
No files found.
lms/static/sass/features/_digital-locker.scss
View file @
6b82b8c2
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
// Styling for digital locker on course page
// Styling for digital locker on course page
.course-view
,
.course-view
,
.
content-wrapper
{
.
in-course
{
.locker-description
{
.locker-description
{
width
:
100%
;
width
:
100%
;
padding
:
20px
10px
;
padding
:
20px
10px
;
...
...
openedx/features/course_experience/templates/course_experience/digital-locker-fragment.html
View file @
6b82b8c2
...
@@ -11,7 +11,7 @@ from openedx.features.course_experience import course_home_page_title
...
@@ -11,7 +11,7 @@ from openedx.features.course_experience import course_home_page_title
%
>
%
>
<
%
block
name=
"content"
>
<
%
block
name=
"content"
>
<div
class=
"digital-locker"
id=
"digital-locker"
>
<div
class=
"digital-locker
${'on-dashboard' if on_dashboard else 'in-course'}
"
id=
"digital-locker"
>
<div
class=
"locker"
>
<div
class=
"locker"
>
<iframe
src=
"/cb/browser/${bucket_name}"
></iframe>
<iframe
src=
"/cb/browser/${bucket_name}"
></iframe>
</div>
</div>
...
...
openedx/features/course_experience/views/digital_locker_fragment.py
View file @
6b82b8c2
...
@@ -25,6 +25,7 @@ class DigitalLockerFragmentView(EdxFragmentView):
...
@@ -25,6 +25,7 @@ class DigitalLockerFragmentView(EdxFragmentView):
context
=
{
context
=
{
'course_id'
:
course_id
,
'course_id'
:
course_id
,
'bucket_name'
:
bucket_name
,
'bucket_name'
:
bucket_name
,
'on_dashboard'
:
'dashboard'
in
request
.
path
,
}
}
html
=
render_to_string
(
'course_experience/digital-locker-fragment.html'
,
context
)
html
=
render_to_string
(
'course_experience/digital-locker-fragment.html'
,
context
)
return
Fragment
(
html
)
return
Fragment
(
html
)
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