0
Votes

Omada UI

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
 
0
Votes

Omada UI

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Omada UI
Omada UI
2021-12-03 11:05:44 - last edited 2021-12-07 07:18:46
Model: OC200  
Hardware Version: V1
Firmware Version: 4.4.6

The UI of Omadas web portal leaves much to be desired primarially due to the lack of responsive design elements.

 

As far as I can tell the CSS cannot be edited nor are any scale options provided (unless I missed something?)

 

This is particularly painful when attempting to manage a switch or AP as the pop out side panel is hardcoded to 450px and has no responsive resize... (450px is less than 1/7th of my screen (and makes the window near useless))

 

I'd be happy with just being able to edit the CSS and upload it myself similarly to how we can for captive portal. (I can technically tweak it in the DOM but it does not persist changes).

 

 

 

#1
Options
4 Reply
Re:Omada UI
2021-12-03 17:19:43 - last edited 2021-12-07 07:18:46

@maz0r 

 

I have the zoom settings for Chrome set at 80% for the Omada Controller pages, this seems to help for me on most devices (PC and IOS Tablet)

#2
Options
Re:Omada UI
2021-12-04 00:09:55 - last edited 2021-12-07 07:18:46

@Philbert 

 

So to give some context (note It's not much better on 1080p, the columns are all invisible and utterly useless)

 

3440x1440 at 100%

3440x1440@80%

3440x1440@100% with a single css variable changed from 450px to "min-content" ( still has issues but at least the settings are visible)

 

change made (brute force fudge, not a true solution as the contents have arbirtary limits like adding elipsis to strings over a certain length  (i.e. MAC addresses are truncated in the render, and only fully visible in the mouseover)

 

Unfortunately as the css file is hosted on the OC200 I cannot make a permanent change, so will have to either write custom overwrite  styles and add them to an extension or tapermonkey :/

 

.drawer-container .drawer-wrap-outer .drawer-wrap {

    width: min-content; /*fit the damn content*/

    height: 100%;

    padding: 0 20px 30px;

}

#3
Options
Re:Omada UI
2021-12-04 23:58:09 - last edited 2021-12-07 07:18:46

I wrote some custom CSS overrides for chrome incase anyone cares, I'm using an open source extension to inject the CSS for now.
I have run through the tabs and it doesn't appear to adversely affect any other areas of the web-app (I am unable to check the gateway related sections as I use pfSense)

The stock images are posted above, modified view is below, I'm sure I'll tweak further but I'm happy that I can finally read and see info on my controller that was previously hidden by the fixed width: 

3440x1440

1080p


 

 

The css > 


.drawer-container .drawer-wrap-outer .drawer-wrap {
width: min-content  !important; /*force sidebar to content width*/
min-width: 450px !important; /* prevent sidebar being smaller than the current hard coded 450px setting */
}

.grid-content-td { /*overkill targeting but it fixes the padding so rows aren't miles apart */
padding: 0.5em 1em !important; /* changed to em units allowing them to be dynamic depending on font size as this element is used for other parts of the web-app */
white-space: normal !important; /* prevent pre-wrapping, instead allow normal wrap */
font-size: inherit !important; /* inherit the parent font size (14px) */
box-sizing: unset !important; /* disinherit the box-sizing falling back to the default*/
}
.drawer-content .grid-content-td {
padding: 0.5em 1em !important; /* fix padding in the sidebar content section */
}
.grid-content-td .content {
white-space: normal !important; /* disables pre-wrap, instead using normal wrap */
}

 

#4
Options
Re:Omada UI
2021-12-08 20:32:34 - last edited 2021-12-08 20:33:48

Added a slight tweak to fix some misalignment that cropped up on several pages.

 

.drawer-container .drawer-wrap-outer .drawer-wrap {

width: min-content !important;

min-width: 450px !important;

}

/**/

.grid-content-td {

padding: 0.5em 1em !important;

box-sizing: unset !important;

white-space: normal !important;

font-size: inherit !important;

}

.grid-header-tr {

padding: 0.5em 1em !important;

box-sizing: unset !important;

white-space: normal !important;

font-size: inherit !important;

}

.drawer-content .grid-content-td {

padding: 0.5em 1em !important;

}

.grid-content-td .content {

white-space: normal !important;

}

#5
Options

Information

Helpful: 0

Views: 1094

Replies: 4

Voters 0

No one has voted for it yet.