-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(Host|Service) Detail view: Introduce parents and children tab (#1098)
- Loading branch information
Showing
11 changed files
with
697 additions
and
83 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
library/Icingadb/Widget/ItemList/RedundancyGroupListItemMinimal.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
/* Icinga DB Web | (c) 2024 Icinga GmbH | GPLv2 */ | ||
|
||
namespace Icinga\Module\Icingadb\Widget\ItemList; | ||
|
||
use Icinga\Module\Icingadb\Common\ListItemMinimalLayout; | ||
use ipl\Web\Widget\StateBall; | ||
|
||
class RedundancyGroupListItemMinimal extends RedundancyGroupListItem | ||
{ | ||
use ListItemMinimalLayout; | ||
|
||
protected function getStateBallSize(): string | ||
{ | ||
return StateBall::SIZE_BIG; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
.redundancy-group-list-item { | ||
.caption { | ||
display: flex; | ||
justify-content: end; | ||
.caption .object-statistics { | ||
justify-self: end; | ||
} | ||
} | ||
|
||
.item-list.minimal > .redundancy-group-list-item { | ||
.caption .object-statistics { | ||
font-size: 0.75em; | ||
} | ||
} | ||
|
||
.item-list.default-layout > .redundancy-group-list-item { | ||
.title > .subject { | ||
margin-right: .28125em; | ||
} | ||
} |