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
daaf31fd
Commit
daaf31fd
authored
Aug 30, 2017
by
Ibrahim Ahmed
Committed by
GitHub
Aug 30, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15925 from edx/ibrahimahmed443/WL-1186-program-dashboard-layout-update
Program dashboard page layout update
parents
120bf907
bcbd366f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
18 deletions
+28
-18
lms/static/sass/views/_program-details.scss
+9
-1
lms/templates/learner_dashboard/course_card.underscore
+19
-17
No files found.
lms/static/sass/views/_program-details.scss
View file @
daaf31fd
...
@@ -442,7 +442,7 @@
...
@@ -442,7 +442,7 @@
}
}
.course-details
{
.course-details
{
float
:
none
;
float
:
left
;
.course-title
{
.course-title
{
font-size
:
1em
;
font-size
:
1em
;
...
@@ -467,13 +467,20 @@
...
@@ -467,13 +467,20 @@
display
:
table
;
display
:
table
;
width
:
100%
;
width
:
100%
;
}
}
.course-content
{
overflow
:
hidden
;
}
}
}
.course-details
{
.course-details
{
width
:
100%
;
float
:
none
;
@media
(
min-width
:
$bp-screen-md
)
{
@media
(
min-width
:
$bp-screen-md
)
{
display
:
table-cell
;
display
:
table-cell
;
vertical-align
:
top
;
vertical-align
:
top
;
padding
:
0
10px
0
0
;
padding
:
0
10px
0
0
;
float
:
left
;
width
:
calc
(
100%
-
205px
);
}
}
}
}
...
@@ -481,6 +488,7 @@
...
@@ -481,6 +488,7 @@
@media
(
min-width
:
$bp-screen-md
)
{
@media
(
min-width
:
$bp-screen-md
)
{
width
:
200px
;
width
:
200px
;
text-align
:
right
;
text-align
:
right
;
float
:
right
;
}
}
.course-enroll-view
{
.course-enroll-view
{
...
...
lms/templates/learner_dashboard/course_card.underscore
View file @
daaf31fd
<div class="section">
<div class="section">
<div class="course-meta-container">
<div class="course-meta-container">
<div class="course-details">
<div class="course-content">
<h5 class="course-title">
<div class="course-details">
<% if ( marketing_url || course_url ) { %>
<h5 class="course-title">
<a href="<%- marketing_url || course_url %>" class="course-title-link">
<% if ( marketing_url || course_url ) { %>
<a href="<%- marketing_url || course_url %>" class="course-title-link">
<%- title %>
</a>
<% } else { %>
<%- title %>
<%- title %>
</a>
<% } %>
<% } else { %>
</h5>
<%- title %>
<div class="course-text">
<% } %>
<% if (enrolled) { %>
</h5>
<span class="enrolled"><%- enrolled %>: </span>
<div class="course-text">
<% } %>
<% if (enrolled) { %>
<% if (dateString) { %>
<span class="enrolled"><%- enrolled %>: </span>
<span class="run-period"><%- dateString %></span>
<% } %>
<% } %>
<% if (dateString) { %>
</div>
<span class="run-period"><%- dateString %></span>
<% } %>
</div>
</div>
<div class="course-actions"></div>
</div>
</div>
<div class="course-actions"></div>
<div class="course-certificate certificate-status"></div>
<div class="course-certificate certificate-status"></div>
</div>
</div>
</div>
</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