Spaces:
Paused
Paused
Create templates/index.html
Browse files- templates/index.html +21 -0
templates/index.html
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Instagram Profile Info</title>
|
| 7 |
+
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
| 8 |
+
</head>
|
| 9 |
+
<body>
|
| 10 |
+
<div class="container">
|
| 11 |
+
<h1>Instagram Profile Info</h1>
|
| 12 |
+
<form method="POST">
|
| 13 |
+
<input type="text" name="username" placeholder="Enter Instagram Username" required>
|
| 14 |
+
<button type="submit">Get Info</button>
|
| 15 |
+
</form>
|
| 16 |
+
{% if error %}
|
| 17 |
+
<p class="error">{{ error }}</p>
|
| 18 |
+
{% elif profile_info %}
|
| 19 |
+
<div class="profile-info">
|
| 20 |
+
<img src="{{ profile_info.profile_pic_url }}" alt="Profile Picture" class="profile-pic">
|
| 21 |
+
<p><strong>Username:</strong> {{
|