diff --git a/frontend/src/App.css b/frontend/src/App.css
index b4c8206..e339da3 100644
--- a/frontend/src/App.css
+++ b/frontend/src/App.css
@@ -15,51 +15,3 @@
text-align: center;
margin-bottom: 2rem;
}
-
-.form-sections {
- width: 100%;
- max-width: 480px;
- display: flex;
- flex-direction: column;
- gap: 2rem;
- margin: 0 auto;
-}
-
-.form-container {
- display: flex;
- flex-direction: column;
-}
-
-.form-group {
- margin-bottom: 16px;
- display: flex;
- flex-direction: column;
-}
-
-.form-group label {
- margin-bottom: 4px;
- font-weight: 500;
- color: #333;
-}
-
-input, select {
- padding: 8px;
- font-size: 1rem;
- border: 1px solid #ccc;
- border-radius: 4px;
-}
-
-.btn {
- padding: 10px;
- font-weight: bold;
- background: #1976d2;
- color: white;
- border: none;
- border-radius: 6px;
- cursor: pointer;
-}
-
-.btn:disabled {
- background: #ccc;
- cursor: not-allowed;
-}
diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx
index 3c0bc58..fa70715 100644
--- a/frontend/src/App.jsx
+++ b/frontend/src/App.jsx
@@ -1,4 +1,5 @@
import './App.css';
+import './style/global.css';
import BackupForm from './components/BackupForm';
import RestoreForm from './components/RestoreForm';
diff --git a/frontend/src/components/BackupForm.jsx b/frontend/src/components/BackupForm.jsx
index e145096..57f65d6 100644
--- a/frontend/src/components/BackupForm.jsx
+++ b/frontend/src/components/BackupForm.jsx
@@ -1,7 +1,7 @@
import { useState, useEffect } from 'react';
import { getNamespaces, getPVCs, createBackup } from '../service';
import '../style/BackupForm.css';
-import { Button } from '@mui/base/Button';
+import { Button, Input, Select, Option } from '@mui/base';
function BackupForm() {
const [namespaces, setNamespaces] = useState([]);
@@ -37,27 +37,27 @@ function BackupForm() {
📦 Create Backup
-
- setPvc(e.target.value)} disabled={!namespace}>
-
+ setPvc(e.target.value)} disabled={!namespace}>
+
{pvcs.map((p) => (
-
+
))}
-
+
- setBackupName(e.target.value)}
diff --git a/frontend/src/components/RestoreForm.jsx b/frontend/src/components/RestoreForm.jsx
index 7bf233d..25fd842 100644
--- a/frontend/src/components/RestoreForm.jsx
+++ b/frontend/src/components/RestoreForm.jsx
@@ -1,9 +1,7 @@
import { useState } from 'react';
import { restoreBackup } from '../service';
import '../style/RestoreForm.css';
-import { Button } from '@mui/base/Button';
-import { Input } from '@mui/base/Input';
-
+import { Button, Input } from '@mui/base';
function RestoreForm() {
const [namespace, setNamespace] = useState('');
diff --git a/frontend/src/style/global.css b/frontend/src/style/global.css
new file mode 100644
index 0000000..de303c9
--- /dev/null
+++ b/frontend/src/style/global.css
@@ -0,0 +1,58 @@
+/* Global button style */
+.btn {
+ padding: 10px;
+ font-weight: bold;
+ background: #1976d2;
+ color: white;
+ border: none;
+ border-radius: 6px;
+ cursor: pointer;
+}
+
+.btn:disabled {
+ background: #ccc;
+ cursor: not-allowed;
+}
+
+/* Inputs */
+input, select {
+ padding: 8px;
+ font-size: 1rem;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+}
+
+/* Shared spacing for forms */
+.form-group {
+ margin-bottom: 16px;
+ display: flex;
+ flex-direction: column;
+}
+
+.form-group label {
+ margin-bottom: 4px;
+ font-weight: 500;
+ color: #333;
+}
+
+.form-sections {
+ width: 100%;
+ max-width: 480px;
+ display: flex;
+ flex-direction: column;
+ gap: 2rem;
+ margin: 0 auto;
+}
+
+.form-container {
+ display: flex;
+ flex-direction: column;
+}
+
+/* .input {
+ padding: 8px;
+ font-size: 1rem;
+ border: 1px solid #ccc;
+ border-radius: 4px;
+ background-color: transparent;
+} */
\ No newline at end of file