Commit 6a6962df by Vik Paruchuri

Alter rubric list, restyle rubric

parent 83608fd9
......@@ -478,6 +478,13 @@ section.open-ended-child {
margin-left: .75rem;
}
ul.rubric-list
{
list-style-type: none;
padding:0;
margin:0;
}
ol {
list-style: decimal outside none;
margin-bottom: lh();
......
......@@ -239,7 +239,7 @@ class @PeerGradingProblem
# finds the scores for each rubric category
get_score_list: () =>
# find the number of categories:
num_categories = $('table.rubric tr').length
num_categories = $('ul.rubric-list li').length
score_lst = []
# get the score for each one
......
......@@ -46,11 +46,11 @@
position: relative;
font-size: 16px;
}
ul
ul.rubric-list
{
list-style-type: none;
padding:0;
margin:0;
}
}
......@@ -11,7 +11,7 @@
% for i in range(len(categories)):
<% category = categories[i] %>
<b>${category['description']}</b><br/>
<ul>
<ul class="rubric-list">
% for j in range(len(category['options'])):
<% option = category['options'][j] %>
%if option['selected']:
......@@ -27,7 +27,7 @@
% else:
<label class="rubric-label" for="score-${i}-${j}">
<input type="radio" class="score-selection" name="score-selection-${i}" id="score-${i}-${j}" value="${option['points']}"/>
<span class="wrappable">${option['points']} points : ${option['text']}</span>
<span class="wrappable"> ${option['points']} points : ${option['text']}</span>
</label>
% endif
</li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment