diff options
author | hardythe1 | 2012-02-28 12:09:28 +0530 |
---|---|---|
committer | hardythe1 | 2012-02-28 12:09:28 +0530 |
commit | b7ad768a6cc4fe5c8a05e20b1968f13a678c22cc (patch) | |
tree | 8fc6855f0a16929b5ca42fd89daa458129d98ff9 /testapp/templates/exam/grade_user.html | |
parent | b1fbf5b02280de5b78b0249e777a179e34b50b98 (diff) | |
download | online_test-b7ad768a6cc4fe5c8a05e20b1968f13a678c22cc.tar.gz online_test-b7ad768a6cc4fe5c8a05e20b1968f13a678c22cc.tar.bz2 online_test-b7ad768a6cc4fe5c8a05e20b1968f13a678c22cc.zip |
changes to remove the inline css from every page
Diffstat (limited to 'testapp/templates/exam/grade_user.html')
-rw-r--r-- | testapp/templates/exam/grade_user.html | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/testapp/templates/exam/grade_user.html b/testapp/templates/exam/grade_user.html index 5b0e1a7..fccdaaa 100644 --- a/testapp/templates/exam/grade_user.html +++ b/testapp/templates/exam/grade_user.html @@ -3,6 +3,10 @@ {% block title %} Grading papers for {{ data.user.get_full_name.title }} {% endblock title %} {% block subtitle %}Grading papers for {{ data.user.get_full_name.title }}{% endblock %} + +{% block css %} + <link rel="stylesheet" href="{{ URL_ROOT }}/static/exam/css/gradeuser.css" type="text/css" /> +{% endblock %} {% block manage %} @@ -32,12 +36,13 @@ Start time: {{ paper.start_time }} <br/> {% if paper.answers.count %} <h3> Answers </h3><br> <form id="q{{ paper.quiz.id }}_form" - action="{{URL_ROOT}}/exam/manage/grade_user/{{data.user.username}}/" method="post"> + action="{{URL_ROOT}}/exam/manage/gradeuser/{{data.user.username}}/" method="post"> {% csrf_token %} {% for question, answers in paper.get_question_answers.items %} <p><strong> - <a href="{{URL_ROOT}}/admin/exam/question/{{question.id}}"> - Question: {{ question.id }}. {{ question.summary }} </a> + <!--a href="{{URL_ROOT}}/admin/exam/question/{{question.id}}"> + Question: {{ question.id }}. {{ question.summary }} </a--> + <a href="{{URL_ROOT}}/admin/exam/question/{{question.id}}" rel="floatbox" rev="width:468 height:255 scrolling:no" text="{{question}}" title="{{ question.description }} Correct Answer : {{ question.test }}"> Question: {{ question.id }}. {{ question.summary }} </a> (Points: {{ question.points }})</strong> </p> {% if question.type == "mcq" %} <p> Choices: |