Browse Source

fix div groups CT#7539

aragonc 9 years ago
parent
commit
823b369d05
3 changed files with 8 additions and 2 deletions
  1. 3 0
      app/Resources/public/css/base.css
  2. 4 1
      main/dropbox/index.php
  3. 1 1
      main/group/group.php

+ 3 - 0
app/Resources/public/css/base.css

@@ -6226,6 +6226,9 @@ div#chat-remote-video video {
 .description-upload{
     margin-bottom: 10px;
 }
+.files-table{
+    padding-top: 20px;
+}
 #whoisonline .items-user{
   text-align: center;
   /*border:1px solid #dddddd; */

+ 4 - 1
main/dropbox/index.php

@@ -448,7 +448,7 @@ if ($action != 'add') {
 		if (api_get_session_id() != 0 && !api_is_allowed_to_session_edit(false, true)) {
 			$selectlist = array();
 		}
-
+        echo '<div class="files-table">';
         Display::display_sortable_config_table(
             'dropbox',
             $column_header,
@@ -460,6 +460,7 @@ if ($action != 'add') {
             $column_order,
             $selectlist
         );
+        echo '</div>';
 	}
 
 	/*	SENT FILES */
@@ -619,6 +620,7 @@ if ($action != 'add') {
 		if (api_get_session_id() != 0 && !api_is_allowed_to_session_edit(false, true)) {
 			$selectlist = array('download_received' => get_lang('Download'));
 		}
+                echo '<div class="files-table">';
 		Display::display_sortable_config_table(
             'dropbox',
             $column_header,
@@ -630,6 +632,7 @@ if ($action != 'add') {
             $column_order,
             $selectlist
         );
+                echo '</div>';
 	}
 }
 

+ 1 - 1
main/group/group.php

@@ -199,7 +199,7 @@ $actionsRight = GroupManager::getSearchForm();
 $toolbar = Display::toolbarAction('toolbar-groups', $content = array( 0 => $actionsLeft, 1 => $actionsRight ));
 
 $group_cats = GroupManager::get_categories(api_get_course_id());
-echo '</div>';
+
 
 echo $toolbar;