Widget:UserExamQuery: Difference between revisions
Jump to navigation
Jump to search
Matt Pijoan (talk | contribs) No edit summary |
Matt Pijoan (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<style type="text/css"> | |||
#metrics{ | |||
width:80%; | |||
} | |||
.cell{ | |||
width:20%; | |||
} | |||
</style> | |||
<script type="text/javascript"> | <script type="text/javascript"> | ||
function ensureLoggedIn() { | function ensureLoggedIn() { | ||
Line 34: | Line 42: | ||
scoreString = "N/A"; | scoreString = "N/A"; | ||
} | } | ||
outstring += "<ul><li>"+value.id+" | outstring += "<ul><li><span class='cell'>"+value.id+"</span><span class='cell'>"+timeBegin+"</span><span class='cell'>"+scoreString+"</span><span class='cell'>"+timeEnd+"</span><span class='cell'>"+value.type+"</span></li>"; | ||
if($(value.questions).length > 0){ | if($(value.questions).length > 0){ | ||
outstring += "<ul>"; | outstring += "<ul>"; |