Skip to content

Commit

Permalink
Issue #5432 Styling
Browse files Browse the repository at this point in the history
  • Loading branch information
CaMer0n committed Feb 7, 2025
1 parent ab58afd commit f772ab0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions e107_handlers/form_handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -5301,7 +5301,7 @@ private function renderOptions($parms, $id, $attributes)

$att = [
'href' => e_SELF . "?$query",
'class' => "btn btn-default btn-secondary$eModal",
'class' => "btn btn-default btn-primary$eModal",
'data-modal-caption' => $eModalCap,
'title' => LAN_EDIT,
// 'data-toggle' => 'tooltip',
Expand All @@ -5324,15 +5324,15 @@ private function renderOptions($parms, $id, $attributes)

if(check_class($cls))
{
$parms['class'] = 'action delete btn btn-default'.$delcls;
$parms['class'] = 'action delete btn btn-danger'.$delcls;
unset($parms['deleteClass']);
$parms['icon'] = $deleteIconDefault;
$text .= $this->submit_image('etrigger_delete['.$id.']', $id, 'delete', LAN_DELETE.' [ ID: '.$id.' ]', $parms);
}
}
else
{
$parms['class'] = 'action delete btn btn-default'.$delcls;
$parms['class'] = 'action delete btn btn-danger'.$delcls;
$parms['icon'] = $deleteIconDefault;
$text .= $this->submit_image('etrigger_delete['.$id.']', $id, 'delete', LAN_DELETE.' [ ID: '.$id.' ]', $parms);
}
Expand Down
2 changes: 1 addition & 1 deletion e107_themes/bootstrap3/admin_style.css
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ td .file.well { margin-bottom:0 }



td.options .btn-group { display: flex; }
td.options .btn-group { display: flex; justify-content: center; }


.table .nav-tabs a,
Expand Down

0 comments on commit f772ab0

Please sign in to comment.