iamironman4279 commited on
Commit
a17cccc
·
verified ·
1 Parent(s): a429aed

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +83 -18
index.html CHANGED
@@ -1,19 +1,84 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
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>Phishing Detection</title>
7
+ <style>
8
+ body {
9
+ font-family: Arial, sans-serif;
10
+ background: url('C:\Users\vtu24\Documents\phisning_dection\phisning\phisning\templates\index.html') center center fixed; /* Update the path to the image */
11
+ background-size: cover;
12
+ margin: 0;
13
+ padding: 0;
14
+ display: flex;
15
+ flex-direction: column;
16
+ align-items: center;
17
+ justify-content: center;
18
+ height: 100vh;
19
+ }
20
+
21
+ h1 {
22
+ color: #333;
23
+ }
24
+
25
+ form {
26
+ display: flex;
27
+ flex-direction: column;
28
+ align-items: center;
29
+ width: 80%;
30
+ max-width: 400px;
31
+ margin-top: 20px;
32
+ background-color: rgba(137, 208, 99, 0.8); /* Add a semi-transparent white background */
33
+ padding: 20px;
34
+ border-radius: 10px;
35
+ }
36
+
37
+ label {
38
+ margin-bottom: 10px;
39
+ }
40
+
41
+ input {
42
+ padding: 10px;
43
+ width: 100%;
44
+ box-sizing: border-box;
45
+ border: 1px solid #ccc;
46
+ border-radius: 5px;
47
+ margin-bottom: 15px;
48
+ }
49
+
50
+ button {
51
+ padding: 10px;
52
+ width: 100%;
53
+ box-sizing: border-box;
54
+ border: none;
55
+ border-radius: 10px;
56
+ background-color: #4CAF50;
57
+ color: #fff;
58
+ cursor: pointer;
59
+ }
60
+
61
+ button:hover {
62
+ background-color: #45a049;
63
+ }
64
+
65
+ p {
66
+ margin-top: 20px;
67
+ font-weight: bold;
68
+ color: #333;
69
+ }
70
+ </style>
71
+ </head>
72
+ <body>
73
+ <h1>Phishing Detection</h1>
74
+ <form method="post">
75
+ <label for="url">Enter URL:</label>
76
+ <input type="text" name="url" required>
77
+ <button type="submit">Detect Phishing</button>
78
+ </form>
79
+
80
+ {% if result is not none %}
81
+ <p>Result: This is a {{ result }} site</p>
82
+ {% endif %}
83
+ </body>
84
  </html>