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
d2cc8696
Commit
d2cc8696
authored
Nov 20, 2012
by
Victor Shnayder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some initial css.
parent
d1b433db
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
2 deletions
+32
-2
lms/static/coffee/src/staff_grading/staff_grading.coffee
+2
-2
lms/static/sass/course.scss
+1
-0
lms/static/sass/course/_staff_grading.scss
+29
-0
No files found.
lms/static/coffee/src/staff_grading/staff_grading.coffee
View file @
d2cc8696
...
...
@@ -96,7 +96,7 @@ class StaffGrading
setup_score_selection
:
=>
# first, get rid of all the old inputs, if any.
@
score_selection_container
.
html
(
''
)
@
score_selection_container
.
html
(
'
Choose score:
'
)
# Now create new labels and inputs for each possible score.
for
score
in
[
1
..
@
max_score
]
...
...
@@ -106,7 +106,7 @@ class StaffGrading
input
=
"""
<input type="radio" name="score-selection" id="
#{
id
}
" value="
#{
score
}
"/>
"""
# " fix broken parsing in emacs
@
score_selection_container
.
append
(
label
+
input
)
@
score_selection_container
.
append
(
input
+
label
)
# And now hook up an event handler again
$
(
"input[name='score-selection']"
).
change
@
graded_callback
...
...
lms/static/sass/course.scss
View file @
d2cc8696
...
...
@@ -43,6 +43,7 @@
@import
"course/profile"
;
@import
"course/gradebook"
;
@import
"course/tabs"
;
@import
"course/staff_grading"
;
// instructor
@import
"course/instructor/instructor"
;
...
...
lms/static/sass/course/_staff_grading.scss
0 → 100644
View file @
d2cc8696
div
.staff-grading
{
textarea
.feedback-area
{
height
:
100px
;
margin
:
20px
;
}
div
{
margin
:
10px
;
}
label
{
margin
:
10px
;
padding
:
5px
;
display
:
inline-block
;
min-width
:
50px
;
background-color
:
#CCC
;
text-size
:
1
.5em
;
}
/* Toggled State */
input
[
type
=
radio
]
:checked
+
label
{
background
:
#666
;
color
:
white
;
}
input
[
name
=
'score-selection'
]
{
display
:
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