OpenGamePanel / OGP-Website

GNU General Public License v2.0
127 stars 104 forks source link

Fix for Browser <form> closes and small Cleanups #588

Closed oNdsen closed 2 years ago

oNdsen commented 2 years ago

Since modern Browser render HTML realtime, a single

Tag will be closed automaticaly when not a close Tag will be written to Dom at the same Time. Also it needs to have the Tag within instead of single , because there are additional Input Fields outside the Tag - thats why i put the Content into an additional Table since there is the whole Default Theme styled with Tables. In Cleanups i replaced .failure classes with Red Colors to avoid Error handling instead of colorizing and beautified a little the PHP Code. No Errors with Revolution and Modern Themes like SBS and AdminLTE. Reference: https://www.opengamepanel.org/forum/viewthread.php?thread_id=7898&rowstart=120#post_41080

Zorrototo commented 2 years ago

While you're at it there is too much spaces before IPs in "Allowed local IPs" https://github.com/OpenGamePanel/OGP-Website/pull/588/files#diff-0a643c40a028e5e4a14496a525266ac43f61a0f0ddfd9c93408cbbed991d1089R248 Not sure the implication of modifying that though.

oNdsen commented 2 years ago

Same as before and it works