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
4a18ec80
Commit
4a18ec80
authored
May 02, 2016
by
Tasawer
Committed by
tasawernawaz
May 03, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ECOM-3731 update browser new course area
parent
f0f06450
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
10 deletions
+49
-10
lms/static/sass/multicourse/_dashboard.scss
+36
-6
themes/edx.org/lms/templates/dashboard.html
+13
-4
No files found.
lms/static/sass/multicourse/_dashboard.scss
View file @
4a18ec80
...
...
@@ -23,12 +23,42 @@
border-top
:
3px
solid
$blue
;
padding
:
$baseline
0
;
.copy
{
@extend
%t-copy-sub1
;
}
.btn-find-courses
{
@extend
%btn-pl-elevated-alt
;
.course-advertise
{
@include
clearfix
();
box-sizing
:
border-box
;
padding
:
$baseline
;
background-color
:
$body-bg
;
border
:
1px
solid
$border-color-l3
;
.advertise-message
{
@include
font-size
(
12
);
color
:
$gray-d4
;
margin-bottom
:
$baseline
;
}
.ad-link
{
@include
text-align
(
center
);
.btn-find-courses
{
padding-bottom
:
12px
;
padding-top
:
12px
;
}
a
{
@include
font-size
(
16
);
@include
line-height
(
1
.2
);
padding
:
$baseline
*
0
.5
;
border
:
1px
solid
$blue
;
color
:
$blue
;
text-decoration
:
none
;
display
:
block
;
&
:hover
,
&
:focus
,
&
:active
{
color
:
$white
;
background-color
:
$blue
;
}
span
{
@include
margin-left
(
$baseline
*
0
.25
);
}
}
}
}
}
...
...
themes/edx.org/lms/templates/dashboard.html
View file @
4a18ec80
...
...
@@ -157,10 +157,19 @@ from openedx.core.djangolib.markup import Text, HTML
% endif
% if settings.FEATURES.get('COURSES_ARE_BROWSABLE'):
<div
class=
"wrapper-find-courses"
>
<p
class=
"copy"
>
${_("Check out our recently launched courses and what's new in your favorite subjects")}
</p>
<p><a
class=
"btn-find-courses"
href=
"${marketing_link('COURSES')}"
>
${_("Find New Courses")}
</a></p>
</div>
<div
class=
"wrapper-find-courses"
>
<div
class=
"course-advertise"
>
<div
class=
"advertise-message"
>
${_("Browse recently launched courses and see what's new in your favorite subjects.")}
</div>
<div
class=
"ad-link"
>
<a
class=
"btn-find-courses"
href=
"${marketing_link('COURSES')}"
>
<span
class=
"icon fa fa-search"
aria-hidden=
"true"
></span>
${_("Explore New Courses")}
</a>
</div>
</div>
</div>
% endif
<section
class=
"profile-sidebar"
id=
"profile-sidebar"
role=
"region"
aria-label=
"Account Status Info"
>
...
...
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