From 21bcdac9d7acff014ff6b25960d87c7f27f3e9d7 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sun, 3 May 2026 23:04:03 +0000
Subject: [PATCH] fix: address review feedback - move JS to script block, use
CSS classes
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/28b4019a-734d-418e-8002-8c1ff0c0f564
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
---
modules/billing/adminserverlist.php | 28 +++++++++++++++++++---------
1 file changed, 19 insertions(+), 9 deletions(-)
diff --git a/modules/billing/adminserverlist.php b/modules/billing/adminserverlist.php
index 46b73f49..5f44a28f 100644
--- a/modules/billing/adminserverlist.php
+++ b/modules/billing/adminserverlist.php
@@ -17,6 +17,7 @@
.img-input { width: 160px; }
.img-select { max-width: 180px; }
.img-fallback { display: none; max-width: 180px; margin-top: 4px; }
+ .img-fallback.img-fallback-visible { display: block; }
.muted { color: #999; font-size: 0.85em; }
.flash-ok { background: #d4edda; border: 1px solid #c3e6cb; padding: 8px 12px; margin-bottom: 10px; border-radius: 4px; color: #155724; }
.flash-err { background: #f8d7da; border: 1px solid #f5c6cb; padding: 8px 12px; margin-bottom: 10px; border-radius: 4px; color: #721c24; }
@@ -495,12 +496,8 @@ while ($svcRes && ($row = $svcRes->fetch_assoc())) {
$dropdownVal = (!$isExternal && $savedImg !== '') ? basename($savedImg) : '';
?>
@@ -576,5 +573,18 @@ while ($svcRes && ($row = $svcRes->fetch_assoc())) {
+
+