update
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Memory Module Detector</title>
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Memory Module Detector</h1>
|
||||
|
||||
<div class="upload-section">
|
||||
<div class="upload-box" id="dropZone">
|
||||
<input type="file" id="fileInput" accept="image/*" hidden>
|
||||
<div class="upload-content">
|
||||
<img src="{{ url_for('static', filename='images/upload-icon.svg') }}" alt="Upload" class="upload-icon">
|
||||
<p>Drag and drop an image or <span class="browse-text">browse</span></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button id="detectButton" disabled>Detect Memory Modules</button>
|
||||
<button id="testButton">Run Test Detection</button>
|
||||
</div>
|
||||
|
||||
<div class="results-section">
|
||||
<div class="image-container">
|
||||
<div class="image-box">
|
||||
<h3>Original Image</h3>
|
||||
<img id="originalImage" src="" alt="Original image will appear here">
|
||||
</div>
|
||||
<div class="image-box">
|
||||
<h3>Detected Results</h3>
|
||||
<img id="resultImage" src="" alt="Detection results will appear here">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="loading" class="loading-spinner" style="display: none;">
|
||||
<div class="spinner"></div>
|
||||
<p>Processing...</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="{{ url_for('static', filename='js/main.js') }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user