fix css table responsive plataform CT#8150

ofaj
Alex Aragon 9 years ago
parent 2b57ae6b73
commit 0ef7fe298d
  1. 3
      app/Resources/public/css/base.css
  2. 9
      main/inc/lib/sortable_table.class.php

@ -4719,6 +4719,9 @@ div#chat-remote-video video {
#children .parent .big-icon .sequence-deleted{ #children .parent .big-icon .sequence-deleted{
font-size: 12px; font-size: 12px;
} }
.form-search{
padding-bottom: 50px;
}
/* INSTALL CHAMILO */ /* INSTALL CHAMILO */
#page-install .logo{ #page-install .logo{
text-align: center; text-align: center;

@ -126,7 +126,7 @@ class SortableTable extends HTML_Table
$table_id = $table_name.uniqid(); $table_id = $table_name.uniqid();
} }
$this->table_id = $table_id; $this->table_id = $table_id;
parent::__construct(array('class' => 'table table-bordered', 'id' => $table_id)); parent::__construct(array('class' => 'data_table table', 'id' => $table_id));
$this->table_name = $table_name; $this->table_name = $table_name;
$this->additional_parameters = array(); $this->additional_parameters = array();
$this->param_prefix = $table_name.'_'; $this->param_prefix = $table_name.'_';
@ -231,9 +231,9 @@ class SortableTable extends HTML_Table
*/ */
public function display() public function display()
{ {
echo '<div class="table-responsive">';
echo $this->return_table(); echo $this->return_table();
echo '</div>';
} }
/** /**
@ -337,7 +337,8 @@ class SortableTable extends HTML_Table
$html .= '</form>'; $html .= '</form>';
} }
} }
return $html;
return '<div class="table-responsive">' . $html . '</div>';
} }
/** /**

Loading…
Cancel
Save