mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Styling tweak to admin 'tabbed' layout.
This commit is contained in:
@@ -56,7 +56,7 @@ class tabbed
|
|||||||
foreach ($admin_cat['id'] as $id => $cat_id)
|
foreach ($admin_cat['id'] as $id => $cat_id)
|
||||||
{
|
{
|
||||||
$cls = ($id == 1) ? "active" : "";
|
$cls = ($id == 1) ? "active" : "";
|
||||||
$text .= "<div class='tab-pane {$cls} adminform' style='width:95%' id='core-main-{$id}'>".$this->renderCat($id)."</div>";
|
$text .= "<div class='tab-pane {$cls} adminform' style='padding-top:10px' id='core-main-{$id}'>".$this->renderCat($id)."</div>";
|
||||||
}
|
}
|
||||||
$text .= "</div>";
|
$text .= "</div>";
|
||||||
$text .= "</div>";
|
$text .= "</div>";
|
||||||
@@ -171,4 +171,3 @@ class tabbed
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
|
@@ -1468,7 +1468,7 @@ i.e-cat_users-32{ background-position: -555px 0; width: 32px; height: 32px; }
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 'div':
|
case 'div':
|
||||||
$text .= "<div class='core-mainpanel-block '><a data-toggle='tooltip' class='core-mainpanel-link-icon btn btn-default btn-secondary muted' href='".$link."' title='{$description}'>".$icon."
|
$text .= "<div class='core-mainpanel-block col-md-2'><a data-toggle='tooltip' class='core-mainpanel-link-icon btn btn-default btn-secondary muted' href='".$link."' title='{$description}'>".$icon."
|
||||||
<small class='core-mainpanel-link-text'>".$tp->toHTML($title,FALSE,"defs, emotes_off")."</small></a>
|
<small class='core-mainpanel-link-text'>".$tp->toHTML($title,FALSE,"defs, emotes_off")."</small></a>
|
||||||
</div>";
|
</div>";
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user