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
00e366e9
Commit
00e366e9
authored
Jul 18, 2012
by
Galen Frechette
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improves the already registed message on the course about page
parent
8e1e58a8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
lms/static/sass/_course_about.scss
+8
-8
lms/static/sass/_dashboard.scss
+1
-1
lms/static/sass/base/_base.scss
+1
-1
lms/templates/portal/course_about.html
+2
-2
No files found.
lms/static/sass/_course_about.scss
View file @
00e366e9
...
...
@@ -92,19 +92,19 @@
float
:
left
;
margin-right
:
flex-gutter
();
@include
transition
(
all
,
0
.15s
,
linear
);
width
:
flex-grid
(
6
);
width
:
flex-grid
(
12
);
>
a
.find-courses
,
a
.register
{
@include
button
(
shiny
,
$blue
);
@include
box-sizing
(
border-box
);
@include
border-radius
(
3px
);
display
:
block
;
font
:
normal
1
.2rem
/
1
.6rem
$sans-serif
;
//
font: normal 1.2rem/1.6rem $sans-serif;
letter-spacing
:
1px
;
padding
:
10px
0px
;
text-transform
:
uppercase
;
text-align
:
center
;
width
:
flex-grid
(
12
);
width
:
flex-grid
(
6
);
&
:hover
{
color
:
rgb
(
255
,
255
,
255
);
...
...
@@ -112,14 +112,14 @@
}
span
.register
{
@include
button
(
shiny
,
lighten
(
grayscale
(
$blue
)
,
50%
));
background
:
lighten
(
$blue
,
20%
);
border
:
1px
solid
$blue
;
@include
box-sizing
(
border-box
);
@include
border-radius
(
3px
);
color
:
#888
;
color
:
darken
(
$blue
,
20%
);
display
:
block
;
font
:
normal
1
.2rem
/
1
.6rem
$sans-serif
;
//
font: normal 1.2rem/1.6rem $sans-serif;
letter-spacing
:
1px
;
padding
:
10px
0px
;
padding
:
10px
0px
8px
;
text-transform
:
uppercase
;
text-align
:
center
;
width
:
flex-grid
(
12
);
...
...
lms/static/sass/_dashboard.scss
View file @
00e366e9
...
...
@@ -103,7 +103,7 @@
}
.empty-dashboard-message
{
padding
:
8
0px
0px
;
padding
:
6
0px
0px
;
text-align
:
center
;
p
{
...
...
lms/static/sass/base/_base.scss
View file @
00e366e9
...
...
@@ -3,7 +3,7 @@ html, body {
font-family
:
$sans-serif
;
font-size
:
1em
;
line-height
:
1em
;
-webkit-font-smoothing
:
antialiased
;
//
-webkit-font-smoothing: antialiased;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
...
...
lms/templates/portal/course_about.html
View file @
00e366e9
...
...
@@ -20,12 +20,12 @@
<div
class=
"main-cta"
>
%if user.is_authenticated():
%if registered:
<span
class=
"register disabled"
>
Registered for ${course.number}
</span>
<span
class=
"register disabled"
>
You are registered for this course (${course.number}).
</span>
%else:
<a
href=
"${reverse('enroll', args=[course.id])}"
class=
"register"
>
Register for ${course.number}
</a>
%endif
%else:
<a
href=
"#signup-modal"
class=
"register"
rel=
"leanModal"
data-notice=
"You must
sign up in order to regis
ter"
>
Register
</a>
<a
href=
"#signup-modal"
class=
"register"
rel=
"leanModal"
data-notice=
"You must
Sign Up in order to resig
ter"
>
Register
</a>
%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