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
49840933
Commit
49840933
authored
Aug 07, 2012
by
Brittany Cheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error handling
parent
dbb46736
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
2 deletions
+15
-2
lms/static/coffee/src/discussion/templates.coffee
+2
-1
lms/static/sass/_discussion.scss
+13
-1
No files found.
lms/static/coffee/src/discussion/templates.coffee
View file @
49840933
...
...
@@ -11,7 +11,8 @@ Discussion = @Discussion
<ul class="discussion-errors new-post-form-error"></ul>
<input type="text" class="new-post-title title-input" placeholder="Title"/>
<div class="new-post-similar-posts-wrapper" style="display: none">
Similar Posts: <a class="hide-similar-posts" href="javascript:void(0)">These are not what I want</a>
Similar Posts:
<a class="hide-similar-posts" href="javascript:void(0)">Hide</a>
<div class="new-post-similar-posts"></div>
</div>
<div class="new-post-body body-input"></div>
...
...
lms/static/sass/_discussion.scss
View file @
49840933
...
...
@@ -214,7 +214,9 @@ form label {
.discussion-errors
{
color
:
#8F0E0E
;
display
:
block
;
margin-left
:
-5%
;
font
:
inherit
;
font-size
:
$comment_body_size
;
margin-left
:
-3%
;
}
.new-post-similar-posts-wrapper
{
@include
border-radius
(
3px
);
...
...
@@ -224,6 +226,9 @@ form label {
margin-top
:
1%
;
padding
:
1%
1
.5%
;
}
.hide-similar-posts
{
float
:
right
;
}
.new-post-similar-posts
{
font
:
inherit
;
.similar-post
{
...
...
@@ -255,6 +260,13 @@ form label {
}
.discussion-content-edit
,
.discussion-reply-new
,
.new-post-form
{
margin
:
10px
0
10px
0
;
.discussion-errors
{
color
:
#8F0E0E
;
display
:
block
;
font
:
inherit
;
font-size
:
$comment_body_size
;
margin-left
:
-3%
;
}
a
:hover
{
color
:
#1C71DD
;
text-decoration
:
none
;
...
...
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