]> git.mjollnir.org Git - moodle.git/commitdiff
Fixing some alignment of categry boxes on front page
authormoodler <moodler>
Fri, 2 Feb 2007 07:39:40 +0000 (07:39 +0000)
committermoodler <moodler>
Fri, 2 Feb 2007 07:39:40 +0000 (07:39 +0000)
index.php
theme/standard/styles_layout.css

index 43b66187446020bf0a9001366888062d671fe398..760522be15430a71c4fb7ec7829a14a31362e1f6 100644 (file)
--- a/index.php
+++ b/index.php
             case FRONTPAGECATEGORYNAMES:
 
                 print_heading_block(get_string('categories'));
-                print_simple_box_start('center', '100%', '', 5, 'categorybox');
+                print_box_start('generalbox categorybox');
                 print_whole_category_list(NULL, NULL, NULL, -1, false);
-                print_simple_box_end();
+                print_box_end();
                 print_course_search('', false, 'short');
             break;
 
             case FRONTPAGECATEGORYCOMBO:
 
                 print_heading_block(get_string('categories'));
-                print_simple_box_start('center', '100%', '', 5, 'categorybox');
+                print_box_start('generalbox categorybox');
                 print_whole_category_list(NULL, NULL, NULL, -1, true);
-                print_simple_box_end();
+                print_box_end();
                 print_course_search('', false, 'short');
             break;
 
index 530636f796cc0832c49045c0347cf28489b8e121..1b850e71879a90c6433899d4bf332aac3d094b85 100644 (file)
@@ -235,6 +235,11 @@ img.grouppicture {
   margin-left:3em;
 }
 
+#help .closewindow,
+#help .helpindex {
+  text-align: center;
+}
+
 .tabledivider {
   border-width:1px;
   border-style:solid;
@@ -328,6 +333,10 @@ form.popupform {
   vertical-align: top;
 }
 
+.groupmanagementtable p {
+  text-align: center;
+}
+
 .groupmanagementtable select {
   width:200px;
 }
@@ -1558,6 +1567,10 @@ body#course-index .singlebutton {
   padding-bottom:10px;
 }
 
+#coursesearch {
+  text-align:center;
+}
+
 .addcoursebutton {
   text-align:center;
 }