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
cb381a7c
Commit
cb381a7c
authored
Aug 21, 2017
by
Diana Huang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use an X icon instead of text.
parent
ff54a771
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
4 deletions
+19
-4
lms/static/sass/features/_course-experience.scss
+3
-0
openedx/features/course_experience/static/course_experience/fixtures/latest-update-fragment.html
+4
-1
openedx/features/course_experience/static/course_experience/fixtures/welcome-message-fragment.html
+4
-1
openedx/features/course_experience/templates/course_experience/latest-update-fragment.html
+4
-1
openedx/features/course_experience/templates/course_experience/welcome-message-fragment.html
+4
-1
No files found.
lms/static/sass/features/_course-experience.scss
View file @
cb381a7c
...
...
@@ -86,6 +86,9 @@
.dismiss-message
{
@include
float
(
right
);
.btn-link
{
color
:
palette
(
grayscale
,
base
);
}
}
}
...
...
openedx/features/course_experience/static/course_experience/fixtures/latest-update-fragment.html
View file @
cb381a7c
<div
class=
"update-message"
>
<h3>
Latest Update
</h3>
<div
class=
"dismiss-message"
>
<button
type=
"button"
class=
"btn-link"
>
Dismiss
</button>
<button
type=
"button"
class=
"btn-link"
>
<span
class=
"sr"
>
Dismiss
</span>
<span
class=
"icon fa fa-times"
aria-hidden=
"true"
></span>
</button>
</div>
This is an update.
</div>
openedx/features/course_experience/static/course_experience/fixtures/welcome-message-fragment.html
View file @
cb381a7c
<div
class=
"welcome-message"
>
<div
class=
"dismiss-message"
>
<button
type=
"button"
class=
"btn-link"
>
${_("Dismiss")}
</button>
<button
type=
"button"
class=
"btn-link"
>
<span
class=
"sr"
>
Dismiss
</span>
<span
class=
"icon fa fa-times"
aria-hidden=
"true"
></span>
</button>
</div>
This is a useful welcome message!
</div>
openedx/features/course_experience/templates/course_experience/latest-update-fragment.html
View file @
cb381a7c
...
...
@@ -11,7 +11,10 @@ from openedx.core.djangolib.markup import HTML
<
%
block
name=
"content"
>
<div
class=
"update-message"
>
<div
class=
"dismiss-message"
>
<button
type=
"button"
class=
"btn-link"
>
${_("Dismiss")}
</button>
<button
type=
"button"
class=
"btn-link"
>
<span
class=
"sr"
>
${_("Dismiss")}
</span>
<span
class=
"icon fa fa-times"
aria-hidden=
"true"
></span>
</button>
</div>
<h3>
${_("Latest Update")}
</h3>
...
...
openedx/features/course_experience/templates/course_experience/welcome-message-fragment.html
View file @
cb381a7c
...
...
@@ -12,7 +12,10 @@ from openedx.core.djangolib.markup import HTML
<
%
block
name=
"content"
>
<div
class=
"welcome-message"
>
<div
class=
"dismiss-message"
>
<button
type=
"button"
class=
"btn-link"
>
${_("Dismiss")}
</button>
<button
type=
"button"
class=
"btn-link"
>
<span
class=
"sr"
>
${_("Dismiss")}
</span>
<span
class=
"icon fa fa-times"
aria-hidden=
"true"
></span>
</button>
</div>
${HTML(welcome_message_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