mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
css: Rename .actions class to .object-detail-actions
This commit is contained in:
parent
77fe209cd4
commit
3edebe0846
3 changed files with 5 additions and 5 deletions
|
|
@ -53,7 +53,7 @@ abstract class ObjectActionsHook
|
|||
);
|
||||
}
|
||||
|
||||
$list = new HtmlElement('ul', Attributes::create(['class' => 'actions']));
|
||||
$list = new HtmlElement('ul', Attributes::create(['class' => 'object-detail-actions']));
|
||||
foreach (Hook::all($hookName) as $hook) {
|
||||
try {
|
||||
foreach ($hook->getActionsForObject($object) as $link) {
|
||||
|
|
|
|||
|
|
@ -169,7 +169,7 @@ class ObjectDetail extends BaseHtmlElement
|
|||
|
||||
return [
|
||||
Html::tag('h2', t('Actions')),
|
||||
new HtmlString($navigation->getRenderer()->setCssClass('actions')->render()),
|
||||
new HtmlString($navigation->getRenderer()->setCssClass('object-detail-actions')->render()),
|
||||
$moduleActions->isEmpty() ? null : $moduleActions
|
||||
];
|
||||
}
|
||||
|
|
@ -331,7 +331,7 @@ class ObjectDetail extends BaseHtmlElement
|
|||
$content = [];
|
||||
|
||||
if (! $navigation->isEmpty() && $navigation->hasRenderableItems()) {
|
||||
$content[] = new HtmlString($navigation->getRenderer()->setCssClass('actions')->render());
|
||||
$content[] = new HtmlString($navigation->getRenderer()->setCssClass('object-detail-actions')->render());
|
||||
}
|
||||
|
||||
if ($notes !== '') {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
.actions a {
|
||||
.object-detail-actions a {
|
||||
border-bottom: 1px solid @gray-light;
|
||||
display: inline-block;
|
||||
margin-bottom: .25em;
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
ul.actions {
|
||||
ul.object-detail-actions {
|
||||
list-style-type: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue