forked from Alsan/Post_finder
final app with css
This commit is contained in:
7
templates/result.html
Normal file
7
templates/result.html
Normal file
@ -0,0 +1,7 @@
|
||||
<!-- result.html -->
|
||||
<div class="all">
|
||||
<div class="result-container">
|
||||
{{ result_html|safe }}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -4,17 +4,27 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Search Tracking</title>
|
||||
<link rel="stylesheet" href="../static/css/style.css">
|
||||
<link rel="icon" href="../static/icon.png">
|
||||
</head>
|
||||
<body>
|
||||
<div class="top-left-logo">
|
||||
<img src="../static/App.png" alt="Logo">
|
||||
<h5> <strong>SAR</strong> Link </h5>
|
||||
</div>
|
||||
<h1>📬 Mail Tracking Lookup System</h1>
|
||||
<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>
|
||||
<div class="con">
|
||||
<p class="up_file"><strong class="strong">Uploaded File:</strong> {{ uploaded_file_name }}</p>
|
||||
<form class="tracking_number" action="/search" method="post">
|
||||
<label class="search" for="tracking_no"> <strong>Enter Tracking No:</strong></label>
|
||||
<input type="text" name="tracking_no" id="tracking_no" required>
|
||||
<br><br>
|
||||
<button type="submit">Search</button>
|
||||
<button class="search_btn" type="submit">Search</button>
|
||||
</form>
|
||||
</div>
|
||||
<hr>
|
||||
{{ result_html|safe }}
|
||||
<!-- Include the result.html file -->
|
||||
{% include 'result.html' %}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -4,15 +4,24 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Upload File</title>
|
||||
<link rel="stylesheet" href="../static/css/style.css">
|
||||
<link rel="icon" href="../static/icon.png">
|
||||
</head>
|
||||
<body>
|
||||
<div class="top-left-logo">
|
||||
<img src="../static/App.png" alt="Logo">
|
||||
<h5> <strong>SAR</strong> Link </h5>
|
||||
</div>
|
||||
<h1>📬 Mail Tracking Lookup System</h1>
|
||||
<h2>Upload Excel File</h2>
|
||||
<form action="/" method="post" enctype="multipart/form-data">
|
||||
<label for="file">Choose file:</label>
|
||||
<div class="upload">
|
||||
<form class="container" action="/" method="post" enctype="multipart/form-data">
|
||||
|
||||
<input type="file" name="file" id="file" required>
|
||||
<br><br>
|
||||
<button type="submit">Upload</button>
|
||||
<button class="upload" type="submit">Upload</button>
|
||||
</form>
|
||||
</div>
|
||||
{% if error %}
|
||||
<p style="color: red;">{{ error }}</p>
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user