feat: TDR starten Button in KÜ Chart

This commit is contained in:
ISA
2025-07-31 10:13:33 +02:00
parent 86b35e9925
commit b68eb10ad4
7 changed files with 57 additions and 8 deletions

View File

@@ -31,6 +31,12 @@ const UserManagementSettings: React.FC = () => {
);
};
const handleKeyDown = (e: React.KeyboardEvent) => {
if (e.key === "Enter") {
handleLogin();
}
};
return (
<div className="p-6 md:p-3 bg-gray-100 max-w-5xl mr-auto">
<h2 className="text-sm md:text-md font-bold mb-4">Login Admin-Bereich</h2>
@@ -54,6 +60,7 @@ const UserManagementSettings: React.FC = () => {
className="border border-gray-300 rounded h-8 p-1 w-full text-xs"
value={username}
onChange={(e) => setUsername(e.target.value)}
onKeyDown={handleKeyDown}
/>
<input
type="password"
@@ -61,6 +68,7 @@ const UserManagementSettings: React.FC = () => {
className="border border-gray-300 rounded h-8 p-1 w-full text-xs"
value={password}
onChange={(e) => setPassword(e.target.value)}
onKeyDown={handleKeyDown}
/>
<button
type="button"