-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
109 lines (95 loc) · 2.53 KB
/
index.php
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
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head>
<title>Genesis</title>
<style>
.file {
position: relative;
width:225px;
}
.file label {
background: #39D2B4;
padding: 5px 20px;
color: #fff;
font-weight: bold;
font-size: .9em;
transition: all .4s;
}
.file input:hover + label,
.file input:focus + label {
background: #77a22f;
color: #fff;
}
/* Useless styles, just for demo styles */
body {
font-family: "Open sans", "Segoe UI", "Segoe WP", Helvetica, Arial, sans-serif;
color: #77a22f;
background: #FCFDFD;
}
h1, h2 {
margin-bottom: 5px;
font-weight: normal;
text-align: center;
color:#aaa;
}
h2 {
margin: 5px 0 2em;
color: #77a22f;
}
form {
width: 225px;
margin: 0 auto;
text-align:center;
}
h2 + P {
text-align: center;
}
.txtcenter {
margin-top: 4em;
font-size: .9em;
text-align: center;
color: #aaa;
}
.copy {
margin-top: 2em;
}
.copy a {
text-decoration: none;
color: #1ABC9C;
}
.logo{
width:500px;
margin-right:auto;
margin-left:auto;
}
.submit{
background: #77a22f;
width: 100%;
border: none;
font-weight: bold;
color: #fff;
height: 30px;
font-size: larger;
margin-top:25px;
}
.upload{
width:100%;
height:25px;
}
</style>
</head>
<body>
<div class="logo"><img src="logo.png"/>></div>
<h1>Welcome to Genesis</h1>
<h2>Please upload your CSV file</br> containing one column of names</h2>
<form action="genders.php" method="post" enctype="multipart/form-data">
<div class="file">
<input type="file" name="file" id="file" class="upload" size="100"/>
<input type="submit" name="submit" class="submit">
</div>
</form>
<p class="txtcenter">When Genesis is done processing </br> A list of male or female values will be </br>displayed in the order of your CSV</p>
<p class="txtcenter copy">by <a href="https://github.com/Anthonipples">Anthony Lombard</a><br /></p>
</body>
</html>