From 729e7aa5382d20b538c24a1a818c96e7140f67eb Mon Sep 17 00:00:00 2001 From: Calum Murphy Date: Thu, 9 Jul 2026 16:53:05 +0100 Subject: [PATCH 1/3] Saving local changes --- frontend/app/components/Form.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/app/components/Form.jsx b/frontend/app/components/Form.jsx index 16f853d..4135faf 100644 --- a/frontend/app/components/Form.jsx +++ b/frontend/app/components/Form.jsx @@ -891,7 +891,7 @@ export default function Form() { type="button" onClick={() => checkHpcAnswer(optionIndex)} disabled={Boolean(hpcQuestionResult)} - className={`rounded-xl border px-4 py-3 text-left text-sm font-medium transition ${ + className={`rounded-xl border cursor-pointer px-4 py-3 text-left text-sm font-medium transition ${ isSelected ? 'border-cyan-300 bg-cyan-400/20 text-white' : 'border-white/10 bg-slate-900/40 text-slate-200 hover:border-cyan-300/40 hover:bg-cyan-400/10' @@ -923,8 +923,8 @@ export default function Form() { }`} > {hpcQuestionResult.correct - ? 'Correct ✅' - : 'Not quite ❌'} + ? 'Correct' + : 'Not quite'}

From 498a5df6cd04d426cc41c5b1d7d5229f05882579 Mon Sep 17 00:00:00 2001 From: Calum Murphy Date: Fri, 10 Jul 2026 09:46:22 +0100 Subject: [PATCH 2/3] Adding styling tweaks and loading icon --- frontend/app/animation/page.tsx | 16 +++++++ frontend/app/components/ClusterSettings.jsx | 9 ++-- frontend/app/components/Form.jsx | 9 ++-- frontend/app/components/Header.jsx | 2 +- frontend/app/components/Loading.jsx | 17 +++++++ frontend/app/components/Name.jsx | 47 +------------------ frontend/app/components/Options.jsx | 2 +- frontend/app/components/Overview.jsx | 7 ++- frontend/app/components/PersonalSchedule.jsx | 9 ++-- frontend/app/components/PoolSettingsPage.jsx | 9 ++-- frontend/app/components/Report.jsx | 2 +- frontend/app/components/Results.jsx | 7 ++- frontend/app/components/Schedule.jsx | 9 ++-- frontend/app/components/TeamsSettingsPage.jsx | 11 ++--- frontend/app/globals.css | 41 ++++++++++++++++ 15 files changed, 106 insertions(+), 91 deletions(-) create mode 100644 frontend/app/animation/page.tsx create mode 100644 frontend/app/components/Loading.jsx diff --git a/frontend/app/animation/page.tsx b/frontend/app/animation/page.tsx new file mode 100644 index 0000000..31732b2 --- /dev/null +++ b/frontend/app/animation/page.tsx @@ -0,0 +1,16 @@ +import Loading from "../components/Loading" + +export const metadata = { + title: 'Cluster Options' +}; + +export default async function AnimationPage() { + return ( +

+ + + + +
+ ); +} diff --git a/frontend/app/components/ClusterSettings.jsx b/frontend/app/components/ClusterSettings.jsx index d4e1787..985eb7b 100644 --- a/frontend/app/components/ClusterSettings.jsx +++ b/frontend/app/components/ClusterSettings.jsx @@ -7,6 +7,7 @@ import { useState, useEffect, useMemo, useCallback } from 'react'; import { useRouter, useSearchParams } from 'next/navigation'; import { FaDatabase, FaUser } from 'react-icons/fa'; import { IoIosArrowForward } from 'react-icons/io'; +import Loading from "../components/Loading.jsx" export default function ClusterSettingsPage() { const searchParams = useSearchParams(); @@ -351,9 +352,7 @@ export default function ClusterSettingsPage() { if (loadingClusters) { return ( -
-

Loading cluster...

-
+ ); } @@ -362,8 +361,8 @@ export default function ClusterSettingsPage() {
{/* Header */} -
-

{cluster.name}

+
+

{cluster.name}

Cluster settings and overview

diff --git a/frontend/app/components/Form.jsx b/frontend/app/components/Form.jsx index 4135faf..0a994be 100644 --- a/frontend/app/components/Form.jsx +++ b/frontend/app/components/Form.jsx @@ -5,6 +5,7 @@ import Cookies from 'js-cookie'; import { useRouter } from 'next/navigation'; import ReactMarkdown from 'react-markdown'; import { FaClipboardList, FaRegCopy, FaCheck, FaLightbulb } from 'react-icons/fa'; +import Loading from "../components/Loading" function getTodayTimeMs(value) { const numericValue = Number(value); @@ -449,11 +450,7 @@ export default function Form() { if (!clusterId || !nameID) { return ( -
-
- Loading report... -
-
+ ); } @@ -545,7 +542,7 @@ export default function Form() {
{/* Header */} -
+

Process Documentation

diff --git a/frontend/app/components/Header.jsx b/frontend/app/components/Header.jsx index 87ac385..d821c07 100644 --- a/frontend/app/components/Header.jsx +++ b/frontend/app/components/Header.jsx @@ -124,7 +124,7 @@ export default function Header() { aria-label={mobileMenuOpen ? 'Close menu' : 'Open menu'} aria-expanded={mobileMenuOpen} onClick={() => setMobileMenuOpen((isOpen) => !isOpen)} - className="flex h-10 w-10 cursor-pointer items-center justify-center rounded-xl border border-white/10 bg-white/10 text-2xl text-slate-100 transition hover:border-blue-300/35 hover:bg-blue-500/15 lg:hidden" + className="flex h-10 w-10 cursor-pointer items-center justify-center rounded-xl text-2xl text-slate-100 transition hover:border-blue-300/35 hover:bg-blue-500/15 lg:hidden" > {mobileMenuOpen ?