Commit a082e45
authored
Add state badges (#169)
The whole box color is changed to the state color with the highest
precedence (the color of the badge in the center).
Clickable state badges were added to access the corresponding
prefiltered lists directly.
- Clicking on a state badge opens the host/service list filtered by the
**dimension and state**
- Clicking on the title now directly opens the host/service list
filtered **only be the dimension** (all states included)
Additionally the following has been done:
- The css has been reformatted
- Tho code has been modernized by adding types
- The complete html structure building process is changed from just
concatenating strings to using **IPL**
- **Pending state** has been added
This feature only supports **Icinga DB**, because we don't want to
support IDO anymore.1 parent 891b4f0 commit a082e45
19 files changed
Lines changed: 1034 additions & 565 deletions
File tree
- doc
- img
- library/Cube
- CubeRenderer
- IcingaDb
- Web/Widget
- public/css
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 34 | | |
60 | 35 | | |
61 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 28 | | |
54 | 29 | | |
55 | 30 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Binary file not shown.
Binary file not shown.
0 commit comments