Spaces:
Running
Running
File size: 2,111 Bytes
a17cccc 4448354 a17cccc 3ea74e8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Phishing Detection</title>
<style>
body {
font-family: Arial, sans-serif;
background: url('download (1).jpeg') center center fixed; /* Update the path to the image */
background-size: cover;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
}
h1 {
color: #333;
}
form {
display: flex;
flex-direction: column;
align-items: center;
width: 80%;
max-width: 400px;
margin-top: 20px;
background-color: rgba(137, 208, 99, 0.8); /* Add a semi-transparent white background */
padding: 20px;
border-radius: 10px;
}
label {
margin-bottom: 10px;
}
input {
padding: 10px;
width: 100%;
box-sizing: border-box;
border: 1px solid #ccc;
border-radius: 5px;
margin-bottom: 15px;
}
button {
padding: 10px;
width: 100%;
box-sizing: border-box;
border: none;
border-radius: 10px;
background-color: #4CAF50;
color: #fff;
cursor: pointer;
}
button:hover {
background-color: #45a049;
}
p {
margin-top: 20px;
font-weight: bold;
color: #333;
}
</style>
</head>
<body>
<h1>Phishing Detection</h1>
<form method="post">
<label for="url">Enter URL:</label>
<input type="text" name="url" required>
<button type="submit">Detect Phishing</button>
</form>
{% if result is not none %}
<p>Result: This is a {{ result }} site</p>
{% endif %}
</body>
</html>
|