Alter rubric list, restyle rubric
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user