From a7a1a67c0b132ea2a1349b01ddf41716661ab326 Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Thu, 7 Nov 2024 12:29:04 +0100 Subject: UI tweaks --- public/index.php | 136 +++++++++++++++++++++++++------------------- public/jquery-1.12.4.min.js | 5 ++ public/site.css | 106 +++++++++++++++++++++++++++++++++- 3 files changed, 189 insertions(+), 58 deletions(-) create mode 100644 public/jquery-1.12.4.min.js (limited to 'public') diff --git a/public/index.php b/public/index.php index dc421b9..1fb9479 100644 --- a/public/index.php +++ b/public/index.php @@ -47,6 +47,10 @@ if (isset($_POST["code"]) && strlen($_POST["code"]) <= 16383) { if (is_string($resultStr)) { $result = json_decode($resultStr, true); } + + header("Content-Type: application/json"); + echo json_encode($result); + exit; } ?> @@ -59,77 +63,95 @@ if (isset($_POST["code"]) && strlen($_POST["code"]) <= 16383) { +
+Powered by Eclipse Temurin
+