summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprathamesh2014-08-11 14:44:48 +0530
committerprathamesh2014-08-11 14:44:48 +0530
commit962cee1705509bb595cda51d104ef1ef7cf0b4fd (patch)
tree01a613d1ad250519d334420d1ee524d0cdac306b
parente44bd4577bf839148c0824a9d3cc84a789f25b95 (diff)
downloadonline_test-962cee1705509bb595cda51d104ef1ef7cf0b4fd.tar.gz
online_test-962cee1705509bb595cda51d104ef1ef7cf0b4fd.tar.bz2
online_test-962cee1705509bb595cda51d104ef1ef7cf0b4fd.zip
fixed minor issues in css.
-rw-r--r--testapp/exam/static/exam/css/question_quiz.css12
-rw-r--r--testapp/exam/static/exam/js/add_quiz.js4
2 files changed, 13 insertions, 3 deletions
diff --git a/testapp/exam/static/exam/css/question_quiz.css b/testapp/exam/static/exam/css/question_quiz.css
index b702bd4..ee249d4 100644
--- a/testapp/exam/static/exam/css/question_quiz.css
+++ b/testapp/exam/static/exam/css/question_quiz.css
@@ -5,14 +5,20 @@ table th, table td
.mini-text
{
- height : 9px;
- width : 30px;
+ height : 25px;
+ width : 70px;
}
.select-type
{
- width : 80px;
+ width : 225px;
}
.tag-text
{
+ height : 30px;
width : 290px;
}
+.date-text
+{
+ height : 30px;
+ width : 100px;
+}
diff --git a/testapp/exam/static/exam/js/add_quiz.js b/testapp/exam/static/exam/js/add_quiz.js
index d5688a8..184881c 100644
--- a/testapp/exam/static/exam/js/add_quiz.js
+++ b/testapp/exam/static/exam/js/add_quiz.js
@@ -1,5 +1,9 @@
function test()
{
+
+ document.getElementById('id_duration').setAttribute('class','mini-text');
+ document.getElementById('id_pass_criteria').setAttribute('class','mini-text');
+ document.getElementById('id_start_date').setAttribute('class','date-text');
if (document.getElementById("id_description").value != "")
{
document.getElementById("submit").innerHTML = "Save";