diff options
author | jayparikh111 | 2012-03-13 18:44:01 +0530 |
---|---|---|
committer | jayparikh111 | 2012-03-13 18:44:01 +0530 |
commit | a7c84a478789e9e835dcbb3ea41b1d519ba69b4d (patch) | |
tree | fc879bdd0b0eb58817275c0837126a06be81f96e /testapp/templates/exam/edit_quiz.html | |
parent | 87862b8c8d7822a4578b5cb5f413bedb37454bd2 (diff) | |
download | online_test-a7c84a478789e9e835dcbb3ea41b1d519ba69b4d.tar.gz online_test-a7c84a478789e9e835dcbb3ea41b1d519ba69b4d.tar.bz2 online_test-a7c84a478789e9e835dcbb3ea41b1d519ba69b4d.zip |
minor changes for UI
Diffstat (limited to 'testapp/templates/exam/edit_quiz.html')
-rw-r--r-- | testapp/templates/exam/edit_quiz.html | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/testapp/templates/exam/edit_quiz.html b/testapp/templates/exam/edit_quiz.html index 56eb0c0..d513e7a 100644 --- a/testapp/templates/exam/edit_quiz.html +++ b/testapp/templates/exam/edit_quiz.html @@ -5,19 +5,30 @@ {% block css %} <link rel="stylesheet" href="{{ URL_ROOT }}/static/exam/css/question_quiz.css" type="text/css" /> +<style type='text/css'> +table th, table td + { + text-align: center; + } +</style> {% endblock %} {% block manage %} <form name=frm action="{{URL_ROOT}}/exam/manage/editquiz/" method="post"> {% csrf_token %} - {% for form in forms %} <center> - <table class=span1> - {{ form.as_table }} + <table> + <tr> + <td><strong> Start Date <td><strong> Duration <td> <strong>Active <td> <strong>Description </strong> + </tr> + {% for form in forms %} + + <tr> + <td> {{ form.start_date}} <td> {{ form.duration }} <td> {{ form.active }} <td> {{ form.description }} + </tr> + {% endfor %} </table> </center> - <hr> - {% endfor %} <center><button class="btn" type="submit" name="save">Save</button> <button class="btn" type="button" name="button" onClick='location.replace("{{URL_ROOT}}/exam/manage/showquiz/");'>Cancel</button> </center> </form> |