templates
This commit is contained in:
		
							
								
								
									
										20
									
								
								templates/search.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								templates/search.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
<head>
 | 
			
		||||
    <meta charset="UTF-8">
 | 
			
		||||
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
			
		||||
    <title>Search Tracking</title>
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
    <h2>Search Tracking Number</h2>
 | 
			
		||||
    <p><strong>Uploaded File:</strong> {{ uploaded_file_name }}</p>
 | 
			
		||||
    <form action="/search" method="post">
 | 
			
		||||
        <label for="tracking_no">Enter Tracking No:</label>
 | 
			
		||||
        <input type="text" name="tracking_no" id="tracking_no" required>
 | 
			
		||||
        <br><br>
 | 
			
		||||
        <button type="submit">Search</button>
 | 
			
		||||
    </form>
 | 
			
		||||
    <hr>
 | 
			
		||||
    {{ result_html|safe }}
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
							
								
								
									
										20
									
								
								templates/upload.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								templates/upload.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
<head>
 | 
			
		||||
    <meta charset="UTF-8">
 | 
			
		||||
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | 
			
		||||
    <title>Upload File</title>
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
    <h2>Upload Excel File</h2>
 | 
			
		||||
    <form action="/" method="post" enctype="multipart/form-data">
 | 
			
		||||
        <label for="file">Choose file:</label>
 | 
			
		||||
        <input type="file" name="file" id="file" required>
 | 
			
		||||
        <br><br>
 | 
			
		||||
        <button type="submit">Upload</button>
 | 
			
		||||
    </form>
 | 
			
		||||
    {% if error %}
 | 
			
		||||
    <p style="color: red;">{{ error }}</p>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
</body>
 | 
			
		||||
</html>
 | 
			
		||||
		Reference in New Issue
	
	Block a user