-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUntitled-1.html
63 lines (61 loc) · 1.85 KB
/
Untitled-1.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Clock In/Out System</title>
<style>
body {
font-family: Arial, sans-serif;
max-width: 600px;
margin: 0 auto;
text-align: center;
}
h1 {
font-size: 2rem;
margin-bottom: 1rem;
}
form {
display: flex;
flex-direction: column;
align-items: center;
}
label {
margin-top: 1rem;
font-size: 1.2rem;
}
input[type="text"], input[type="file"] {
width: 100%;
padding: 0.5rem;
margin-bottom: 1rem;
font-size: 1.1rem;
border-radius: 4px;
border: 1px solid #ccc;
}
button {
padding: 0.5rem 2rem;
font-size: 1.2rem;
border-radius: 4px;
border: none;
background-color: #4CAF50;
color: white;
cursor: pointer;
transition: background-color 0.3s ease;
}
button:hover {
background-color: #3e8e41;
}
</style>
</head>
<body>
<h1>Clock In/Out System</h1>
<form id="clock-form">
<labelfor="worker-name">Worker Name:</label>
<input type="text" id="worker-name" name="worker-name" required>
<label for="picture">Submit Picture:</label>
<input type="file" id="picture" name="picture" accept="image/*" required>
<button type="submit" name="action" value="clock_in">Clock In</button>
<button type="submit" name="action" value="clock_out">Clock Out</buttonfor="worker-name">>
</formWorker Name:</label>>
</body>
</html>