adjust layout of question db tool boxes, resorting to use of a table.
authorGreg Gay <info@atutor.ca>
Sun, 8 Aug 2010 14:02:17 +0000 (14:02 -0000)
committerGreg Gay <info@atutor.ca>
Sun, 8 Aug 2010 14:02:17 +0000 (14:02 -0000)
docs/themes/default/tests/question_db_top.tmpl.php

index ed60ba9..f4c6362 100644 (file)
 \r
 ?>\r
 <div class="input-form">\r
-       <fieldset class="group_form" style="width:46%;float:left;height:18em;min-width:15em;"><legend class="group_form"><?php echo _AT('create_new_question'); ?></legend>\r
+<table class="qdb_table">\r
+<tr>\r
+<td>\r
+       <fieldset class="group_form1" ><legend class="group_form1"><?php echo _AT('create_new_question'); ?></legend>\r
                <form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">\r
                        <input type="hidden" name="tid" value="<?php echo $this->tid; ?>" />\r
                        <input type="hidden" name="_course_id" value="<?php echo $this->course_id; ?>" />\r
@@ -27,8 +30,9 @@
                        </div>\r
                </form>\r
        </fieldset>\r
-\r
-       <fieldset class="group_form" style="width:46%;float:left;clear:right;height:18em;"><legend class="group_form"><?php echo _AT('import_question'); ?></legend>\r
+</td>\r
+<td>\r
+       <fieldset class="group_form1" ><legend class="group_form1"><?php echo _AT('import_question'); ?></legend>\r
                <form method="post" action="<?php echo 'tests/question_import.php?_course_id='.$this->course_id; ?>" enctype="multipart/form-data" >    <label for="to_file"><?php echo _AT('upload_question'); ?></label><br />\r
                        <input type="file" name="file" id="to_file" /><br /><br />\r
                        <div class="row buttons">\r
@@ -36,3 +40,4 @@
                        </div>\r
                </form>\r
        </fieldset>\r
+</td>
\ No newline at end of file