Commit d07bf015 by Diana Huang Committed by Vik Paruchuri

UI updates to the Open Ended Problems page

parent 665fb707
...@@ -44,6 +44,8 @@ ...@@ -44,6 +44,8 @@
@import "course/gradebook"; @import "course/gradebook";
@import "course/tabs"; @import "course/tabs";
@import "course/staff_grading"; @import "course/staff_grading";
@import "course/open_ended_grading";
// instructor // instructor
@import "course/instructor/instructor"; @import "course/instructor/instructor";
......
.open-ended-problems,
.combined-notifications
{
padding: 40px;
.problem-list
{
table-layout: auto;
margin-top: 10px;
width:70%;
text-align: center;
td, th
{
padding: 7px;
}
}
}
...@@ -23,14 +23,27 @@ ...@@ -23,14 +23,27 @@
You have not attempted any open ended problems yet. You have not attempted any open ended problems yet.
</div> </div>
%else: %else:
<ul class="problem-list"> <table class="problem-list">
<tr>
<th>Problem Name</th>
<th>Status</th>
<th>Grader Type</th>
</tr>
%for problem in problem_list: %for problem in problem_list:
<li> <tr>
<a href="${problem['actual_url']}">${problem['problem_name']} (${problem['state']} , ${problem['grader_type']} )</a> <td>
</li> <a href="${problem['actual_url']}">${problem['problem_name']}</a>
</td>
<td>
${problem['state']}
</td>
<td>
${problem['grader_type']}
</td>
</tr>
%endfor %endfor
</ul> </table>
%endif %endif
%endif %endif
</div> </div>
</section> </section>
\ No newline at end of file
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