+
{tr_GmplTitle}
+
+ {/* File Upload */}
+
+
+
+
+ {fileName ? fileName : tr_fileName}
+
+
+
+ {isFileUploaded && (
+ <>
+
+
+
+ >
+ )}
+
+ {fileContent && (
+
+ {showFileContent && (
+
+
File Content
+ {/* Use a textarea for editable text */}
+
+ )}
+
+ )}
+
+ {/* Loading Spinner */}
+ {isLoading && (
+
Loading...
+ )}
+
+
+
{solverTime}
{/* Display Solver Time */}
+
+ {/* Syntax Errors
+ {syntaxErrors.length > 0 && (
+
+
Syntax Errors
+
+ {syntaxErrors.map((error, index) => (
+ - {error}
+ ))}
+
+
+ )}
+ */}
+
+ {/* Syntax Error Popup
+ {showErrorPopup && (
+
+
There are syntax errors in the file.
+
+ )}
+ */}
+
+ {/* Result Popup */}
+ {showPopup && (
+
+
+
Solver Results
+
+
+
+
+ )}
+