diff --git a/cope2n-fe/src/locales/en/messages.json b/cope2n-fe/src/locales/en/messages.json
index 7718262..3e23b83 100644
--- a/cope2n-fe/src/locales/en/messages.json
+++ b/cope2n-fe/src/locales/en/messages.json
@@ -12,6 +12,7 @@
"English": "English",
"Go to Reports": "Go to Reports",
"Handwritten": "Handwritten",
+ "Improve OCR": "Improve OCR",
"Inference": "Inference",
"Invalid image": "Invalid image",
"Is Test": "Is Test",
@@ -20,7 +21,9 @@
"Logout": "Logout",
"Missing information": "Missing information",
"New Report": "New Report",
+ "Ocr cannot extract": "Ocr cannot extract",
"Only characters (a-z), (A-Z), (0-9), @, ., +, -, _ are available": "Only characters (a-z), (A-Z), (0-9), @, ., +, -, _ are available",
+ "Other": "Other",
"Password": "Password",
"Password must have at least 1 lowercase alphabetical character": "Password must have at least 1 lowercase alphabetical character",
"Password must have at least 1 numeric characters": "Password must have at least 1 numeric characters",
@@ -33,6 +36,7 @@
"Please specify a username": "Please specify a username",
"Reason for bad quality:": "Reason for bad quality:",
"Recheck": "Recheck",
+ "Remove this image from the evaluation report": "Remove this image from the evaluation report",
"Report Details": "Report Details",
"Report Filters": "Report Filters",
"Report Type": "Report Type",
@@ -41,6 +45,7 @@
"Review": "Review",
"Reviewed": "Reviewed",
"Service temporarily unavailable.": "Service temporarily unavailable.",
+ "Solution:": "Solution:",
"Something went wrong.": "Something went wrong.",
"Sorry, something went wrong.": "Sorry, something went wrong.",
"Sorry, the page you visited does not exist.": "Sorry, the page you visited does not exist.",
@@ -51,15 +56,18 @@
"This field must not have more than {MAX_USERNAME_LENGTH} characters": "This field must not have more than {MAX_USERNAME_LENGTH} characters",
"Too blurry text": "Too blurry text",
"Too small text": "Too small text",
+ "Update revised result and re-calculate accuracy": "Update revised result and re-calculate accuracy",
"User log in successfully": "User log in successfully",
"Username": "Username",
"Username must not have more than {MAX_USERNAME_LENGTH} characters": "Username must not have more than {MAX_USERNAME_LENGTH} characters",
"Vietnamese": "Vietnamese",
+ "Wrong Feedback": "Wrong Feedback",
"You are not allowed to upload file bigger than {0}MB.": "You are not allowed to upload file bigger than {0}MB.",
"You are not allowed to upload image bigger than {0}MB.": "You are not allowed to upload image bigger than {0}MB.",
"You are only allowed to upload .zip file.": "You are only allowed to upload .zip file.",
"You are only allowed to upload image or .zip files.": "You are only allowed to upload image or .zip files.",
"You are only allowed to upload {0} file.": "You are only allowed to upload {0} file.",
"You have unsaved changes!": "You have unsaved changes!",
- "Your current password has expired. Please change your password to continue.": "Your current password has expired. Please change your password to continue."
+ "Your current password has expired. Please change your password to continue.": "Your current password has expired. Please change your password to continue.",
+ "max_accuracy": "Max accuracy"
}
diff --git a/cope2n-fe/src/locales/vi/messages.json b/cope2n-fe/src/locales/vi/messages.json
index 3ca8f0b..62f6947 100644
--- a/cope2n-fe/src/locales/vi/messages.json
+++ b/cope2n-fe/src/locales/vi/messages.json
@@ -12,6 +12,7 @@
"English": "Tiếng Anh",
"Go to Reports": "",
"Handwritten": "",
+ "Improve OCR": "",
"Inference": "",
"Invalid image": "",
"Is Test": "",
@@ -20,7 +21,9 @@
"Logout": "Đăng xuất",
"Missing information": "",
"New Report": "",
+ "Ocr cannot extract": "",
"Only characters (a-z), (A-Z), (0-9), @, ., +, -, _ are available": "Chỉ cho phép các ký tự (a-z), (A-Z), (0-9), @, ., +, -, _",
+ "Other": "",
"Password": "Mật khẩu",
"Password must have at least 1 lowercase alphabetical character": "Mật khẩu phải chứa ít nhất một chữ cái in thường",
"Password must have at least 1 numeric characters": "Mật khẩu phải chứa ít nhất một chữ số",
@@ -33,6 +36,7 @@
"Please specify a username": "Vui lòng nhập một tên tài khoản",
"Reason for bad quality:": "",
"Recheck": "",
+ "Remove this image from the evaluation report": "",
"Report Details": "",
"Report Filters": "",
"Report Type": "",
@@ -41,6 +45,7 @@
"Review": "",
"Reviewed": "",
"Service temporarily unavailable.": "Dịch vụ máy chủ hiện tại không sẵn sàng.",
+ "Solution:": "",
"Something went wrong.": "Có lỗi xảy ra",
"Sorry, something went wrong.": "Hệ thống gặp lỗi",
"Sorry, the page you visited does not exist.": "Trang bạn muốn truy cập không tồn tại",
@@ -51,15 +56,18 @@
"This field must not have more than {MAX_USERNAME_LENGTH} characters": "Độ dài chuỗi không được vượt quá {MAX_USERNAME_LENGTH} kí tự",
"Too blurry text": "",
"Too small text": "",
+ "Update revised result and re-calculate accuracy": "",
"User log in successfully": "Đăng nhập thành công",
"Username": "Tên tài khoản",
"Username must not have more than {MAX_USERNAME_LENGTH} characters": "Tên tài khoản không được chứa nhiều hơn {MAX_USERNAME_LENGTH} kí tự",
"Vietnamese": "Tiếng Việt",
+ "Wrong Feedback": "",
"You are not allowed to upload file bigger than {0}MB.": "Bạn không được phép tải lên tệp lớn hơn {0} MB.",
"You are not allowed to upload image bigger than {0}MB.": "Bạn không được phép tải lên hình ảnh lớn hơn {0} MB.",
"You are only allowed to upload .zip file.": "Bạn chỉ được phép tải lên tập tin .zip.",
"You are only allowed to upload image or .zip files.": "Bạn chỉ được phép tải lên hình ảnh hoặc .zip.",
"You are only allowed to upload {0} file.": "Bạn chỉ được phép tải lên {0}.",
"You have unsaved changes!": "Bạn có những thay đổi chưa được lưu!",
- "Your current password has expired. Please change your password to continue.": ""
+ "Your current password has expired. Please change your password to continue.": "",
+ "max_accuracy": "Độ chính xác tối đa"
}
diff --git a/cope2n-fe/src/pages/reviews/FileCard.tsx b/cope2n-fe/src/pages/reviews/FileCard.tsx
new file mode 100644
index 0000000..363e5c6
--- /dev/null
+++ b/cope2n-fe/src/pages/reviews/FileCard.tsx
@@ -0,0 +1,83 @@
+import { DownloadOutlined } from "@ant-design/icons";
+import { Button } from "antd";
+
+const FileCard = ({ file, isSelected, onClick, setIsReasonModalOpen }) => {
+ const fileName = file['File Name'];
+
+ return (
+