this.props.selectVehicle(vehicle.id)} key={`vehicleList-${index}`} className={`py-2 border-b pl-4 hover:cursor-pointer ${(this.props.selectedVehicle === vehicle.id) ? 'bg-gray-400 text-white': ''}`}>Vehicle {vehicle.name}
+ )
+ })
+
+ return (
+
+ {
+ (this.state.loading)
+ ?
+ : (this.state.editing)
+ ?
+ :
+ {this.state.vehicleName}
+
+
+ Edit vehicle name
+
+
+ }
+
+
+
+ )
+ }
+}
\ No newline at end of file
diff --git a/front-end/src/components/FleetManager.js b/front-end/src/components/FleetManager.js
index 8d9d1cc..7c889b7 100644
--- a/front-end/src/components/FleetManager.js
+++ b/front-end/src/components/FleetManager.js
@@ -1,5 +1,36 @@
-export default function FleetManager() {
- return (
-
+ {
+ (this.state.loading)
+ ?
+ : (this.state.edit)
+ ?
+
+
+
+
+ Save {this.props.label.toUpperCase()}
+
+
+ Cancel {this.props.label.toUpperCase()} Edit
+
+
+ :
+
{this.props.defaultValue}
+
+
+ Edit {this.props.label.toUpperCase()}
+
+
+
+ }
+
+ )
+ }
+}
\ No newline at end of file
diff --git a/front-end/src/components/Informational-Components/Loading.js b/front-end/src/components/Informational-Components/Loading.js
new file mode 100644
index 0000000..10bd3d4
--- /dev/null
+++ b/front-end/src/components/Informational-Components/Loading.js
@@ -0,0 +1,9 @@
+import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
+
+import { faSpinner } from '@fortawesome/free-solid-svg-icons'
+
+export default function Loading() {
+ return (
+