From 4ab85d09e244b1c7f089efe0e1cc0de74a1ba20b Mon Sep 17 00:00:00 2001 From: Bram Suurd <78373894+BramSuurdje@users.noreply.github.com> Date: Sun, 29 Jun 2025 23:05:29 +0200 Subject: [PATCH] Refactor weapon skin selection in index.php to use toggle functionality for better user experience; update CSS for improved layout and transitions in weapon display and skin options. --- website/index.php | 204 ++++++++++++++++++++++++++++------------------ website/style.css | 100 +++++++++++++++++++++-- 2 files changed, 215 insertions(+), 89 deletions(-) diff --git a/website/index.php b/website/index.php index adc9da6a..8bf23b54 100644 --- a/website/index.php +++ b/website/index.php @@ -135,20 +135,28 @@ if (isset($_SESSION['steamid'])) {
- $knife): ?> - -
- <?php echo $knife['paint_name']; ?> - -
- - +
+
+ Knives + Knives + +
+
+ +
+
-
- <?php echo $weapons[$weaponDefindex]['paint_name']; ?> - +
+
+ <?php echo $weapons[$weaponDefindex]['paint_name']; ?> + + +
+
+ +
@@ -228,18 +236,7 @@ if (isset($_SESSION['steamid'])) {
- - +