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
4e071d08
Commit
4e071d08
authored
Feb 11, 2013
by
Vik Paruchuri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix staff grading ML error info a bit
parent
920acffd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
17 deletions
+6
-17
lms/static/coffee/src/staff_grading/staff_grading.coffee
+4
-4
lms/static/sass/course/_staff_grading.scss
+2
-11
lms/templates/instructor/staff_grading.html
+0
-2
No files found.
lms/static/coffee/src/staff_grading/staff_grading.coffee
View file @
4e071d08
...
@@ -392,10 +392,10 @@ class @StaffGrading
...
@@ -392,10 +392,10 @@ class @StaffGrading
else
if
@
state
==
state_grading
else
if
@
state
==
state_grading
@
ml_error_info_container
.
html
(
@
ml_error_info
)
@
ml_error_info_container
.
html
(
@
ml_error_info
)
meta_list
=
$
(
"<
ul
>"
)
meta_list
=
$
(
"<
div
>"
)
meta_list
.
append
(
"<
li><span class='meta-info'>Available - </span>
#{
@
num_pending
}
</li
>"
)
meta_list
.
append
(
"<
div class='meta-info'>
#{
@
num_pending
}
available | </div
>"
)
meta_list
.
append
(
"<
li><span class='meta-info'>Graded - </span>
#{
@
num_graded
}
</li
>"
)
meta_list
.
append
(
"<
div class='meta-info'>
#{
@
num_graded
}
graded | </div
>"
)
meta_list
.
append
(
"<
li><span class='meta-info'>Needed for ML - </span>
#{
Math
.
max
(
@
min_for_ml
-
@
num_graded
,
0
)
}
</li
>"
)
meta_list
.
append
(
"<
div class='meta-info'>
#{
Math
.
max
(
@
min_for_ml
-
@
num_graded
,
0
)
}
more needed to start ML </div><br/
>"
)
@
problem_meta_info
.
html
(
meta_list
)
@
problem_meta_info
.
html
(
meta_list
)
@
prompt_container
.
html
(
@
prompt
)
@
prompt_container
.
html
(
@
prompt
)
...
...
lms/static/sass/course/_staff_grading.scss
View file @
4e071d08
...
@@ -113,18 +113,9 @@ div.peer-grading{
...
@@ -113,18 +113,9 @@ div.peer-grading{
{
{
background-color
:
#eee
;
background-color
:
#eee
;
padding
:
2px
;
padding
:
2px
;
h3
div
{
font-size
:
1em
;
}
ul
{
{
list-style-type
:
none
;
display
:
inline
;
font-size
:
.85em
;
li
{
margin
:
1px
0px
;
}
}
}
}
}
.message-container
,
.message-container
,
...
...
lms/templates/instructor/staff_grading.html
View file @
4e071d08
...
@@ -42,10 +42,8 @@
...
@@ -42,10 +42,8 @@
<section
class=
"prompt-wrapper"
>
<section
class=
"prompt-wrapper"
>
<h2
class=
"prompt-name"
></h2>
<h2
class=
"prompt-name"
></h2>
<div
class=
"meta-info-wrapper"
>
<div
class=
"meta-info-wrapper"
>
<h3>
Problem Information
</h3>
<div
class=
"problem-meta-info-container"
>
<div
class=
"problem-meta-info-container"
>
</div>
</div>
<h3>
Maching Learning Information
</h3>
<div
class=
"ml-error-info-container"
>
<div
class=
"ml-error-info-container"
>
</div>
</div>
</div>
</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