Compare commits

...

2 Commits

Author SHA1 Message Date
Logan Cusano
faf7358d1b Fix for #1
All checks were successful
release-image / release-image (push) Successful in 10m21s
2025-05-28 22:55:57 -04:00
Logan Cusano
71c56110f9 Added footer to the app with submit issues button 2025-05-28 22:42:15 -04:00
2 changed files with 11 additions and 1 deletions

View File

@@ -45,6 +45,16 @@ export default function RootLayout({
</div>
{children}
<footer>
<div className="max-w-7xl mx-auto py-8 px-4 sm:px-6 lg:px-8 flex flex-col sm:flex-row justify-between items-center text-sm text-gray-500">
<div className="mb-4 sm:mb-0 text-center sm:text-left">
&copy; 2025 Logan Cusano. All rights reserved.
</div>
<div className="flex space-x-6">
<a href="https://git.vpn.cusano.net/logan/drb-frontend/issues" target="_blank" rel="noopener noreferrer" className="hover:text-gray-700">Submit Issues</a>
</div>
</div>
</footer>
</AuthProvider>
<Toaster />
</ThemeProvider>

View File

@@ -114,7 +114,7 @@ const SystemsManagement: React.FC<SystemsManagementProps> = ({ token, logoutUser
type: newSystemData.type,
location: newSystemData.location,
description: newSystemData.description || undefined,
frequencies: newSystemData.frequencies.split(',').map(f => parseInt(f.trim())).filter(f => !isNaN(f)),
frequencies: newSystemData.frequencies.split(',').map(f => parseFloat(f.trim())).filter(f => !isNaN(f)),
avail_on_nodes: newSystemData.avail_on_nodes.split(',').map(node => node.trim()).filter(node => node),
tags: parsedTags,
whitelist: newSystemData.whitelist.split(',').map(w => parseInt(w.trim())).filter(w => !isNaN(w)),