darpanaswal commited on
Commit
15ba691
·
verified ·
1 Parent(s): 35a61ec

Upload 3 files

Browse files
__pycache__/run.cpython-38.pyc ADDED
Binary file (1.23 kB). View file
 
templates/c.jpg ADDED
templates/index.html ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <title>Attendance Portal</title>
8
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap">
9
+ <style>
10
+ body {
11
+ background-image: url('https://yt3.googleusercontent.com/-c8E0ldHKzC46ZWkyHWfnKNXJC5IYXi1MY-MVnn5gLGUlhwYTvALbh3Jdi7_MDBPa60ncf1h0A=s900-c-k-c0x00ffffff-no-rj'); /* Replace 'your-background-image-url.jpg' with the actual URL of your background image */
12
+ background-size: cover;
13
+ background-position: center;
14
+ font-family: 'Roboto', sans-serif; /* Applying the Roboto font */
15
+ text-align: center; /* Center aligning the text */
16
+ color: #000; /* Setting text color to white for better visibility on the background */
17
+ }
18
+
19
+ h1 {
20
+ margin-top: 50px; /* Adding some top margin for better spacing */
21
+ }
22
+
23
+ form {
24
+ margin-top: 20px; /* Adding top margin to the form */
25
+ }
26
+
27
+ input[type="file"],
28
+ button {
29
+ padding: 10px;
30
+ margin: 10px;
31
+ font-size: 16px;
32
+ background-color: #4CAF50; /* Setting a green background color for better visibility */
33
+ color: #fff; /* Setting text color to white for better visibility on the buttons */
34
+ border: none;
35
+ border-radius: 5px;
36
+ cursor: pointer;
37
+ }
38
+ </style>
39
+ </head>
40
+
41
+ <body>
42
+ <h1>Attendance Portal</h1>
43
+ <form action="/upload" method="post" enctype="multipart/form-data">
44
+ <input type="file" name="file" accept=".jpg, .jpeg, .png" required>
45
+ <button type="submit">Upload</button>
46
+ </form>
47
+ </body>
48
+
49
+ </html>