add icons bug in data fills BT#7683

1.10.x
aragonc 9 years ago
parent 7afaa2d341
commit f8cbe951cc
  1. 43
      app/Resources/public/css/base.css
  2. 12
      main/admin/filler.php
  3. BIN
      main/img/icons/32/bug.png
  4. BIN
      main/img/icons/48/bug.png
  5. 2
      main/inc/lib/display.lib.php
  6. 4
      main/inc/lib/sortable_table.class.php

@ -3020,7 +3020,7 @@ form .formw .freeze {
.data_table th {
padding: 8px 10px;
font-weight: bold;
font-weight: normal;
background-color: #F2F2F2;
border-bottom: 1px solid #DDDDDD;
}
@ -3059,10 +3059,25 @@ form .formw .freeze {
}
.data_table_pagination {
width:100%;
margin-top: 8px;
width:100%;
margin-top: 5px;
margin-bottom: 5px;
}
.table-well{
background:#ffffff;
border:1px solid #dddddd;
padding: 10px 20px;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
box-shadow: 0 1px 1px rgba(0,0,0,0.05);
margin-bottom: 20px;
margin-top: 10px;
}
.tabs-margin, .btn-toolbar{
margin-bottom: 15px;
margin-top: 15px;
}
.form-stacked .label {
display: block;
float: none;
@ -6282,6 +6297,26 @@ div#chat-remote-video video {
padding-top: 5px;
padding-bottom: 5px;
}
#datafiller .fillers{
list-style: none;
padding: 0;
margin: 0;
}
#datafiller .description{
padding: 10px;
margin-bottom: 10px;
}
#datafiller .fillers li{
padding-top: 5px;
padding-bottom: 5px;
margin-left: 10px;
}
.filler-report h3{
margin-top: 10px;
}
.filler-report .filler-report-data-init{
width: 60%;
}
/* CSS NEW TOP ******************************************************************************/
/* CSS Responsive */
@media (min-width: 1025px) and (max-width: 1200px) {

@ -61,12 +61,12 @@ if (count($output)>0) {
Display::display_normal_message($result,false);
}
?>
<div class="well_border">
<h4><?php Display::display_icon('bug.gif', 'DataFiller'); echo ' '.api_ucfirst(get_lang('DataFiller'));?></h4>
<div><?php echo get_lang('ThisSectionIsOnlyVisibleOnSourceInstalls');?></div>
<ul>
<li><a href="filler.php?fill=users"><?php echo get_lang('FillUsers');?></a></li>
<li><a href="filler.php?fill=courses"><?php echo get_lang('FillCourses');?></a></li>
<div id="datafiller" class="actions">
<h4><?php echo Display::return_icon('bug.png',get_lang('DataFiller'),null,ICON_SIZE_MEDIUM).' '.get_lang('DataFiller')?></h4>
<div class="description"><?php echo get_lang('ThisSectionIsOnlyVisibleOnSourceInstalls');?></div>
<ul class="fillers">
<li><a href="filler.php?fill=users"><?php echo Display::return_icon('user.png',get_lang('FillUsers'),null,ICON_SIZE_SMALL).' '.get_lang('FillUsers');?></a></li>
<li><a href="filler.php?fill=courses"><?php echo Display::return_icon('new-course.png',get_lang('FillCourses'),null,ICON_SIZE_SMALL).' '.get_lang('FillCourses');?></a></li>
</ul>
</div>
<?php

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

@ -1040,7 +1040,7 @@ class Display
$lis .= self::tag('li', $item, array('class' => $class));
$i++;
}
return self::tag('ul', $lis, array('class' => 'nav nav-tabs'));
return self::tag('ul', $lis, array('class' => 'nav nav-tabs tabs-margin'));
}
/**

@ -260,7 +260,8 @@ class SortableTable extends HTML_Table
// Only show pagination info when there are items to paginate
if ($this->get_total_number_of_items() > $this->default_items_per_page) {
$html = '<table class="data_table_pagination">';
$html = '<div class="table-well">';
$html .= '<table class="data_table_pagination">';
$html .= '<tr>';
$html .= '<td style="width:25%;">';
$html .= $form;
@ -273,6 +274,7 @@ class SortableTable extends HTML_Table
$html .= '</td>';
$html .= '</tr>';
$html .= '</table>';
$html .= '</div>';
}
if (count($this->form_actions) > 0) {

Loading…
Cancel
Save