OpenGamePanel / Theme-SimpleBootstrap

Simple bootstrap framework based theme for OGP
GNU General Public License v3.0
9 stars 11 forks source link

Old Dashboard behavior #22

Closed The-Wolfi closed 5 years ago

The-Wolfi commented 5 years ago

Will the Theme support that in the future? The layout is broken if i activate that feature on the panel. I would like to wait a bit longer but have more infos at the Dashboard.

oNdsen commented 5 years ago

@The-Wolfi Can you please update the Theme and check if it fits your needs? Here is the Change: 277346cf3e2e55eb583127a7f36ae514641ec6b3

The-Wolfi commented 5 years ago

Looks better... but 2 problems:

You can see a screenshot of the lastest version here: dashboard - dash

oNdsen commented 5 years ago

is it possible to send me a viewer account in your dashboard? all my gameservers are not online anymore and i only have a teamspeak server left.

The-Wolfi commented 5 years ago

its possible to add a "viewer" account at OGP ?? I dont see any solution for it...

oNdsen commented 5 years ago

maybe you can add an account with 2 or 3 small servers with 1 slot only. doesnt matter what, i also dont need any access on it. only an account for the dashboard view with some servers in it.

The-Wolfi commented 5 years ago

This is possible, but there you can't see the CPU display problem ;)

Zorrototo commented 5 years ago

I see another issue in your screenshot @The-Wolfi , it is the background what is going on in your Panel?

I'll try on my side to see if I got the same as you but that seems weird. Did you force refresh of the browser cache?


Edit: I don't have the background problem with 'old dashboard behavior' in Panel setting, but yeah it is all messed up even after CTRL-F5 the page. The offline servers do not show for me but this is expected as it only shows 'started servers', but the TS server which has one player connected shows properly too so I suggest to force refresh your browser cache @The-Wolfi before going further because it doesn't do that for me you probably have a local issue there (web server configure to not force download of CSS or JS file or whatever). For sure all the counters are broken on my side (each CPU core on new line when they should all be next to each other), and even more when page auto refreshes it adds many counter as duplicate on each lines in memory/cpu/disk usage sections https://www.dropbox.com/s/tkdc9udtzvjefpa/Capture%20d%27%C3%A9cran%202019-01-14%2007.58.41.png?dl=0

Also the color of players listed (with old dashboard behavior it adds a section with list of connected players under the list of started servers) is the default one, which is for the clear default theme and not readable with SBS. I see it sets a random color in html directly in on the text so maybe you can override it to force white or grayish color I don't know

Trying with default theme, the issue is not there for the counters so I think it is only with SBS only when old dashboard behavior is selected.

I think it is better if you can make yourself an Admin account with a few servers on your side because a simple user account will not show the issues. If you have a TS server it should be enough, set your Panel with old dashboard behavior, enable auto refresh of page (all that in Panel settings) and see if you have the same issues.

Zorrototo commented 5 years ago

Also another issue spotted, in default theme when you collapse or expand the top sections they keep their collapsed or expanded states (it saves it in the DB and probably is transmitted back to the page when you load it in the HTML/CSS), SBS does not do that, it always expands all sections.

oNdsen commented 5 years ago

Sorry for the late answer, my second Daughter was born last Week. Im just updating the Theme. Will upload soon.

oNdsen commented 5 years ago

I just uploaded the Fixes: a8d98a8b2abd9905cbb6a3da03aa63d430f0b95b

Zorrototo commented 5 years ago

I updated and got the fixes for the 'currently online' players list color (now white), the expand state is properly used, and I don't have any duplicate counter when it refreshes now but the counters still do not behave like on the 'new/normal behavior' they are each on one new line when they should be all together:

Old behavior still bugged https://www.dropbox.com/s/16uo35qzk70qrl8/Capture%20d%27%C3%A9cran%202019-01-24%2016.32.47.png?dl=0 How it should be (without 'old behavior' setting) https://www.dropbox.com/s/g1i93f1ocib75wv/Capture%20d%27%C3%A9cran%202019-01-24%2016.33.42.png?dl=0

The-Wolfi commented 5 years ago

Hmm. I dont see any changes with "old behavior". Server with players are still not displayed at the overview, only servers with no players. The CPU is now displayed one time but wrong direction ;-)

Question: what does "Currently online" means? I never saw anything at this block...

Screenshot: (background is confussed because of the screenshot tool. In org. it looks fine!) http://destinationunreal.com/wolf/sbl.jpg

btw... congratulations "double daddy" ;-)

Zorrototo commented 5 years ago

What browser and system do you use? I see servers fine on my side Firefox Win 7.

yeah congrats by the way :congratulations:

here servers with players on them properly show, and you see the player names in the currently online block (redacted the server and people's names) https://www.dropbox.com/s/zukio561ejqeyaa/Capture%20d%27%C3%A9cran%202019-01-24%2018.31.49.png?dl=0

The-Wolfi commented 5 years ago

Hmmm... I tryed different browsers... IE, Firefox, Chrome.. all latest version under Win10 Pro. Possible its the game which we are played? We play UntrealTournament 99. Works fine under OGP.

I think the bug "Server with players" is the same bug that are not shown players at "Currently online"...

very sad :(

btw... Teamspeak users are displayed

The-Wolfi commented 5 years ago

I have to say sorry. The display bug with the Players is a OGP bug. I tryed differend themes and all themes dosen't shows the players or Servers with players online. Hope they can help me....

But the bug with the outlook of the CPU cores is still avaible ;-)

Zorrototo commented 5 years ago

The CPU fix seems to work but on the auto refresh I got like many invisible counters adding up (I see the CPU counter list expand https://gifmaker.me/PlayFrameAnimation.php?folder=2019012516cNmVxI9RqoCpDbmRh6awCo all the other additional counters are invisible)

oNdsen commented 5 years ago

The CPU fix seems to work but on the auto refresh I got like many invisible counters adding up (I see the CPU counter list expand https://gifmaker.me/PlayFrameAnimation.php?folder=2019012516cNmVxI9RqoCpDbmRh6awCo all the other additional counters are invisible)

can you please reupload the image?

Zorrototo commented 5 years ago

https://www.dropbox.com/s/9ic3i5ynin6th4w/output_ruGX71.gif?dl=0