diff --git a/frontend/src/app/upload/upload.component.html b/frontend/src/app/upload/upload.component.html
index f3616be..9053a93 100644
--- a/frontend/src/app/upload/upload.component.html
+++ b/frontend/src/app/upload/upload.component.html
@@ -1,5 +1,5 @@
-
Upload Your File
+
Upload Your File
@@ -52,11 +52,54 @@
Uploading {{ fileToUpload.name }}...
-
-

-
File uploaded successfully!
-
+
+
+

+
+
+
File uploaded successfully!
+
+
+
+
+
File ID:
+
166554
+
+
Material:
+
Aluminum & Plastic
+
+
Color:
+
Black/Silver
+
+
Dimensions:
+
15 x 15 x 25 cm
+
+
Weight:
+
1.2 kg
+
+
Power:
+
10W LED (included)
+
+
Brightness:
+
700 lumens
+
+
Warranty:
+
2 years
+
+
+
+
+
+
+
Your file is now securely stored on our servers.
+
+
+
+
+
+
Manage your uploads
+
diff --git a/frontend/src/app/upload/upload.component.ts b/frontend/src/app/upload/upload.component.ts
index 316b99e..b4e9d00 100644
--- a/frontend/src/app/upload/upload.component.ts
+++ b/frontend/src/app/upload/upload.component.ts
@@ -1,5 +1,5 @@
import {Component, ElementRef, ViewChild} from '@angular/core';
-import {DecimalPipe, NgIf} from "@angular/common";
+import {DecimalPipe, NgClass, NgIf} from "@angular/common";
import {FormatFileSizePipePipe} from "../format-file-size-pipe.pipe";
import {FormsModule} from "@angular/forms";
import axios, {AxiosProgressEvent} from "axios";
@@ -12,7 +12,8 @@ import { DevelopmentStore } from '../../store/DevelopmentStore';
NgIf,
FormatFileSizePipePipe,
FormsModule,
- DecimalPipe
+ DecimalPipe,
+ NgClass
],
templateUrl: './upload.component.html',
styleUrl: './upload.component.scss'
@@ -96,6 +97,7 @@ export class UploadComponent {
axios.post(this.developmentStore.getBaseUrl() + 'api/v1/upload', formData, config)
.then(response => {
console.log('Upload completed successfully:', response.data);
+ console.log(response.data);
this.uploadFinished = true;
})
.catch(error => {