Skip to content

Commit c58a3d7

Browse files
committed
digital double logic
1 parent 9262b5d commit c58a3d7

File tree

1 file changed

+32
-29
lines changed

1 file changed

+32
-29
lines changed

java-ai/src/main/resources/templates/digitaldoubleupload.html

Lines changed: 32 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Upload For Digital Doubles</title>
6+
<title>Player Form</title>
77
<style>
88
body {
99
font-family: Arial, sans-serif;
@@ -45,8 +45,7 @@
4545
border-radius: 5px;
4646
box-sizing: border-box;
4747
}
48-
input[type="submit"],
49-
.custom-file-upload {
48+
input[type="submit"] {
5049
background-color: #007BFF;
5150
color: white;
5251
border: none;
@@ -60,55 +59,59 @@
6059
cursor: pointer;
6160
transition: background-color 0.3s;
6261
}
63-
input[type="submit"]:hover,
64-
.custom-file-upload:hover {
62+
input[type="submit"]:hover {
6563
background-color: #0056b3;
6664
}
67-
input[type="file"] {
68-
display: none;
69-
}
70-
.custom-file-upload {
71-
display: inline-block;
72-
}
7365
</style>
7466
</head>
7567
<body>
7668
<div class="container">
77-
<h1>Upload Your Image and Video To Create Digital Doubles</h1>
78-
<form method="POST" action="/digitaldoubles/uploadimageandvideo" enctype="multipart/form-data">
69+
<h1>Which player are you?</h1>
70+
<form method="post" action="/digitaldoubles/uploadimageandvideo">
71+
72+
<label for="image">Select image:</label>
73+
<!-- <label for="image" class="custom-file-upload">-->
74+
<!-- Choose Image-->
75+
<!-- </label>-->
76+
<input type="file" id="image" name="image" accept="image/*" required>
77+
78+
<label for="video">Select video:</label>
79+
<!-- <label for="video" class="custom-file-upload">-->
80+
<!-- Choose Video-->
81+
<!-- </label>-->
82+
<input type="file" id="video" name="video" accept="video/*" required>
7983

80-
<div class="form-group">
81-
<label for="image">Select image:</label>
82-
<label for="image" class="custom-file-upload">
83-
Choose Image
84-
</label>
85-
<input type="file" id="image" name="image" accept="image/*" required>
86-
</div>
87-
<div class="form-group">
88-
<label for="video">Select video:</label>
89-
<label for="video" class="custom-file-upload">
90-
Choose Video
91-
</label>
92-
<input type="file" id="video" name="video" accept="video/*" required>
93-
</div>
9484
<div class="form-group">
9585
<label for="firstName">First Name:</label>
9686
<input type="text" id="firstName" name="firstName" autocomplete="given-name">
87+
</div>
88+
<div class="form-group">
9789
<label for="lastName">Last Name:</label>
9890
<input type="text" id="lastName" name="lastName" autocomplete="family-name">
91+
</div>
92+
<div class="form-group">
9993
<label for="email">Email:</label>
10094
<input type="email" id="email" name="email" autocomplete="email" required>
95+
</div>
96+
<div class="form-group">
10197
<label for="company">Company:</label>
10298
<input type="text" id="company" name="company" autocomplete="organization">
99+
</div>
100+
<div class="form-group">
103101
<label for="jobrole">Job Role:</label>
104102
<input type="text" id="jobrole" name="jobrole" autocomplete="organization-title">
103+
</div>
104+
<div class="form-group">
105105
<label for="tshirtsize">T-Shirt Size:</label>
106106
<input type="text" id="tshirtsize" name="tshirtsize" autocomplete="tshirt-size">
107+
</div>
108+
<div class="form-group">
107109
<label for="comments">Comments:</label>
108110
<input type="text" id="comments" name="comments" autocomplete="comments">
109-
<input type="submit" value="Upload">
110111
</div>
111-
112+
<div class="form-group">
113+
<input type="submit" value="Submit">
114+
</div>
112115
</form>
113116
</div>
114117
</body>

0 commit comments

Comments
 (0)