Fixing some alignment of categry boxes on front page

This commit is contained in:
moodler
2007-02-02 07:39:40 +00:00
parent 8cef951707
commit 986f093fef
2 changed files with 17 additions and 4 deletions
+4 -4
View File
@@ -229,18 +229,18 @@
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;
+13
View 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;
}