css
This commit is contained in:
parent
f94e20c8ce
commit
1bb2fc0db4
@ -698,15 +698,18 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
|
||||
// Show the span for the total of record
|
||||
if (!empty($groupElement['globalStats'])) {
|
||||
$globalStatInTopOpenedDashBoard[] = $globalStatsKey;
|
||||
$openedDashBoard .= ' <span class="info-box-icon-text" title="'.$groupElement['globalStats']['text'].'">'.$nbTotal.'</span>'."\n";
|
||||
$openedDashBoard .= '<span class="info-box-icon-text" title="'.$groupElement['globalStats']['text'].'">'.$nbTotal.'</span>';
|
||||
}
|
||||
|
||||
$openedDashBoard .= ' </span>'."\n";
|
||||
$openedDashBoard .= ' <div class="info-box-content">'."\n";
|
||||
$openedDashBoard .= '</span>'."\n";
|
||||
$openedDashBoard .= '<div class="info-box-content">'."\n";
|
||||
|
||||
$openedDashBoard .= ' <span class="info-box-title" title="'.strip_tags($groupName).'">'.$groupName.'</span>'."\n";
|
||||
$openedDashBoard .= '<div class="info-box-title" title="'.strip_tags($groupName).'">'.$groupName.'</div>'."\n";
|
||||
$openedDashBoard .= '<div class="info-box-lines">'."\n";
|
||||
|
||||
foreach ($boards as $board) {
|
||||
$openedDashBoard .= '<div class="info-box-line">';
|
||||
|
||||
if (!empty($board->labelShort)) {
|
||||
$infoName = '<span title="'.$board->label.'">'.$board->labelShort.'</span>';
|
||||
} else {
|
||||
@ -723,8 +726,6 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
|
||||
$textLate .= '</span>';
|
||||
}
|
||||
|
||||
$openedDashBoard .= '<div class="info-box-line">';
|
||||
|
||||
$nbtodClass = '';
|
||||
if ($board->nbtodo > 0) {
|
||||
$nbtodClass = 'badge badge-info';
|
||||
@ -745,11 +746,12 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
|
||||
if ($board->total > 0 && !empty($conf->global->MAIN_WORKBOARD_SHOW_TOTAL_WO_TAX)) {
|
||||
$openedDashBoard .= '<a href="'.$board->url.'" class="info-box-text">'.$langs->trans('Total').' : '.price($board->total).'</a>';
|
||||
}
|
||||
|
||||
$openedDashBoard .= '</div>';
|
||||
$openedDashBoard .= '</div>'."\n";
|
||||
}
|
||||
|
||||
$openedDashBoard .= ' </div><!-- /.info-box-content -->'."\n";
|
||||
// TODO Add hook here to add more "info-box-line"
|
||||
|
||||
$openedDashBoard .= ' </div><!-- /.info-box-lines --></div><!-- /.info-box-content -->'."\n";
|
||||
$openedDashBoard .= ' </div><!-- /.info-box -->'."\n";
|
||||
$openedDashBoard .= '</div><!-- /.box-flex-item-with-margin -->'."\n";
|
||||
$openedDashBoard .= '</div><!-- /.box-flex-item -->'."\n";
|
||||
@ -776,7 +778,7 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) {
|
||||
$weatherDashBoard .= img_weather('', $weather->level, '', 0, 'valignmiddle width50');
|
||||
$weatherDashBoard .= ' </span>'."\n";
|
||||
$weatherDashBoard .= ' <div class="info-box-content">'."\n";
|
||||
$weatherDashBoard .= ' <span class="info-box-title">'.$langs->trans('GlobalOpenedElemView').'</span>'."\n";
|
||||
$weatherDashBoard .= ' <div class="info-box-title">'.$langs->trans('GlobalOpenedElemView').'</div>'."\n";
|
||||
|
||||
if ($totallatePercentage > 0 && !empty($conf->global->MAIN_USE_METEO_WITH_PERCENTAGE)) {
|
||||
$weatherDashBoard .= ' <span class="info-box-number">'.$langs->transnoentitiesnoconv("NActionsLate",
|
||||
|
||||
@ -87,12 +87,12 @@ if (!defined('ISLOADEDBYSTEELSHEET')) die('Must be call by steelsheet'); ?>
|
||||
}
|
||||
.info-box-sm .info-box-icon {
|
||||
height: 80px;
|
||||
width: 80px;
|
||||
width: 78px;
|
||||
font-size: 25px;
|
||||
line-height: 92px;
|
||||
}
|
||||
.opened-dash-board-wrap .info-box-sm .info-box-icon {
|
||||
border-radius: 0 20px 0 20px;
|
||||
border-radius: 0 0 0 20px;
|
||||
}
|
||||
.opened-dash-board-wrap .info-box-sm .info-box-icon {
|
||||
line-height: 80px;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user