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
0f84a520
Commit
0f84a520
authored
Jun 14, 2013
by
marco
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new post button using font-awesome
parent
98cd032a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
8 deletions
+21
-8
lms/static/sass/_discussion-old.scss
+4
-1
lms/static/sass/_discussion.scss
+9
-3
lms/static/sass/course/_discussions-inline.scss
+4
-1
lms/templates/discussion/_discussion_course_navigation.html
+2
-1
lms/templates/discussion/_discussion_module.html
+1
-1
lms/templates/discussion/index.html
+1
-1
No files found.
lms/static/sass/_discussion-old.scss
View file @
0f84a520
...
...
@@ -68,7 +68,10 @@
width
:
16px
;
height
:
17px
;
margin
:
7px
7px
0
0
;
background
:
url(../images/new-post-icon.png)
no-repeat
;
font-size
:
16px
;
padding-right
:
$baseline
/
2
;
vertical-align
:
middle
;
color
:
$white
;
}
.post-search
{
...
...
lms/static/sass/_discussion.scss
View file @
0f84a520
...
...
@@ -129,7 +129,10 @@ body.discussion {
width
:
16px
;
height
:
17px
;
margin
:
8px
7px
0
0
;
background
:
url(../images/new-post-icon.png)
no-repeat
;
font-size
:
16px
;
padding-right
:
$baseline
/
2
;
vertical-align
:
middle
;
color
:
$white
;
}
}
...
...
@@ -1417,7 +1420,7 @@ body.discussion {
}
.helpgrid-row-navigation
{
.icon-
sort-down
{
color
:
$light-gray
;}
.icon-
reorder
{
color
:
$light-gray
;}
.icon-search
{
color
:
$light-gray
;}
.icon-sort
{
color
:
$light-gray
;}
}
...
...
@@ -2308,7 +2311,10 @@ body.discussion {
width
:
16px
;
height
:
17px
;
margin
:
8px
7px
0
0
;
background
:
url(../images/new-post-icon.png)
no-repeat
;
font-size
:
16px
;
padding-right
:
$baseline
/
2
;
vertical-align
:
middle
;
color
:
$white
;
}
.moderator-actions
{
...
...
lms/static/sass/course/_discussions-inline.scss
View file @
0f84a520
...
...
@@ -335,7 +335,10 @@
width
:
16px
;
height
:
17px
;
margin
:
8px
7px
0
0
;
background
:
url(../images/new-post-icon.png)
no-repeat
;
font-size
:
16px
;
padding-right
:
$baseline
/
2
;
vertical-align
:
middle
;
color
:
$white
;
}
.moderator-actions
{
...
...
lms/templates/discussion/_discussion_course_navigation.html
View file @
0f84a520
...
...
@@ -3,6 +3,6 @@
<
%
block
name=
"extratabs"
>
% if has_permission(user, 'create_thread', course.id):
<li
class=
"right"
><a
href=
"#"
class=
"new-post-btn"
><span
class=
"
new-post-icon
"
></span>
New Post
</a></li>
<li
class=
"right"
><a
href=
"#"
class=
"new-post-btn"
><span
class=
"
icon icon-edit
"
></span>
New Post
</a></li>
% endif
</
%
block>
\ No newline at end of file
lms/templates/discussion/_discussion_module.html
View file @
0f84a520
...
...
@@ -2,7 +2,7 @@
<div
class=
"discussion-module"
data-discussion-id=
"${discussion_id | h}"
>
<a
class=
"discussion-show control-button"
href=
"javascript:void(0)"
data-discussion-id=
"${discussion_id | h}"
><span
class=
"show-hide-discussion-icon"
></span><span
class=
"button-text"
>
Show Discussion
</span></a>
<a
href=
"#"
class=
"new-post-btn"
><span
class=
"new-post-icon"
></span>
New Post
</a>
<a
href=
"#"
class=
"new-post-btn"
><span
class=
"
icon icon-edit
new-post-icon"
></span>
New Post
</a>
</div>
lms/templates/discussion/index.html
View file @
0f84a520
...
...
@@ -56,7 +56,7 @@
<li
class=
"helpgrid-row helpgrid-row-navigation"
>
<span
class=
"row-title"
>
Find discussions
</span>
<div
class=
"row-item"
>
<i
class=
"icon icon-
sort-down
"
></i>
<i
class=
"icon icon-
reorder
"
></i>
<span
class=
"row-description"
>
Focus in on specific topics
</span>
</div>
<div
class=
"row-item"
>
...
...
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