-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathenter_csv1.html
96 lines (83 loc) · 1.84 KB
/
enter_csv1.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
background: linear-gradient(to bottom, #001515, #000);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
#form-container {
max-width: 400px;
padding: 20px;
background: rgba(255, 255, 255, 0.1);
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
text-align: center;
}
h1 {
color: #00cccc;
}
label {
display: block;
margin: 10px 0;
text-align: left;
}
input {
width: 100%;
padding: 10px;
margin: 5px 0 15px 0;
box-sizing: border-box;
}
button {
background-color: #00cccc;
color: #fff;
padding: 10px;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #008080;
}
a {
display: block;
color: #fff;
text-decoration: none;
font-size: 15px;
}
a:hover {
text-decoration: underline;
}
.viewr
{
color:#fff
}
</style>
<title>Data Upload Form</title>
</head>
<body>
<div id="form-container">
<h1>Data Upload Form</h1>
<form method="post" enctype="multipart/form-data">
{% csrf_token %}
<label for="email">Email Address:</label>
<input type="email" id="email" name="email" required>
<label for="csvfile">Upload CSV File:</label>
<input type="file" id="csvfile" name="csvfile" required>
<button type="submit">Send</button>
<br>
<br>
<button id="viewr"><a href="{% url 'webpage4' %}">View Report</a></button>
</form>
</div>
</body>
</html>