Skip to content

Views not working correctly #39

Open
@phlphil

Description

@phlphil

Hey!
This is a really awesome plugin which I installed on our netbox instance.
We are currently running Netbox 4.1.3 and the latest version of Device View.

On some devices, like 24 port patchpanels, its all working fine! But eg on these switches I dont get the layout to work correctly

.deviceview.area {
   grid-auto-rows: auto;
   grid-auto-columns: auto;
   grid-template-areas: "g1 g2 g3 g4 g5 g6 g7 g8 s0 g9 s1 g10";
}

Shows up as:

Image

The one thing showing up is g10. The ports on the device type are named accordingly!

Another example with a kind of the same issue:

.deviceview.area {
grid-auto-rows: auto;
grid-auto-columns: auto;
grid-template-areas: "p1 p3 p5 p7 p9 p11 s0 p13 p15 p17 p19 p21 p23 s1 p25 p27 p29 p31 p33 p35 s2 p37 p39 p41 p43 p45 p47 s3 p49 p51"
     "p2 p4 p6 p8 p10 p12 s4 p14 p16 p18 p20 p22 p24 s5 p26 p28 p30 p32 p34 p36 s6 p38 p40 p42 p44 p46 p48 s7 p50 p52";
}

Displays this:

Image

The red X is the Console port which I did not even listen in my template.

I am not totally sure if this is a bug or just some wrong configuration, but I couldn't find any differences to the examples provided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions