Created
March 21, 2023 11:13
-
-
Save machkouroke/eaf9114b35465d99d2acb2fea60b641b to your computer and use it in GitHub Desktop.
Formulaire d'enrégistrement
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> | |
<head> | |
<title>Title</title> | |
<meta charset="UTF-8"> | |
<style> | |
* { | |
margin: 0; | |
padding: 0; | |
box-sizing: border-box; | |
} | |
body { | |
font-family: "Inter", sans-serif; | |
} | |
.formbold-mb-5 { | |
margin-bottom: 20px; | |
} | |
.formbold-pt-3 { | |
padding-top: 12px; | |
} | |
.formbold-main-wrapper { | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
padding: 48px; | |
} | |
.formbold-form-wrapper { | |
margin: 0 auto; | |
max-width: 550px; | |
width: 100%; | |
background: white; | |
} | |
.formbold-form-label { | |
display: block; | |
font-weight: 500; | |
font-size: 16px; | |
color: #07074d; | |
margin-bottom: 12px; | |
} | |
.formbold-form-label-2 { | |
font-weight: 600; | |
font-size: 20px; | |
margin-bottom: 20px; | |
} | |
.formbold-form-input { | |
width: 100%; | |
padding: 12px 24px; | |
border-radius: 6px; | |
border: 1px solid #e0e0e0; | |
background: white; | |
font-weight: 500; | |
font-size: 16px; | |
color: #6b7280; | |
outline: none; | |
resize: none; | |
} | |
.formbold-form-input:focus { | |
border-color: #6a64f1; | |
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05); | |
} | |
.formbold-btn { | |
text-align: center; | |
font-size: 16px; | |
border-radius: 6px; | |
padding: 14px 32px; | |
border: none; | |
font-weight: 600; | |
background-color: #6a64f1; | |
color: white; | |
cursor: pointer; | |
} | |
.formbold-btn:hover { | |
box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05); | |
} | |
.formbold--mx-3 { | |
margin-left: -12px; | |
margin-right: -12px; | |
} | |
.formbold-px-3 { | |
padding-left: 12px; | |
padding-right: 12px; | |
} | |
.flex { | |
display: flex; | |
} | |
.flex-wrap { | |
flex-wrap: wrap; | |
} | |
.w-full { | |
width: 100%; | |
} | |
.formbold-radio { | |
width: 20px; | |
height: 20px; | |
} | |
.formbold-radio-label { | |
font-weight: 500; | |
font-size: 16px; | |
padding-left: 12px; | |
color: #070707; | |
padding-right: 20px; | |
} | |
@media (min-width: 540px) { | |
.sm\:w-half { | |
width: 50%; | |
} | |
} | |
</style> | |
</head> | |
<html> | |
<body> | |
<div class="formbold-main-wrapper"> | |
<!-- Author: FormBold Team --> | |
<!-- Learn More: https://formbold.com --> | |
<div class="formbold-form-wrapper"> | |
<form action="hello-servlet" method="POST"> | |
<div class="flex flex-wrap formbold--mx-3"> | |
<div class="w-full sm:w-half formbold-px-3"> | |
<div class="formbold-mb-5"> | |
<label for="name" class="formbold-form-label"> Nom </label> | |
<input | |
type="text" | |
name="name" | |
id="name" | |
class="formbold-form-input" | |
required | |
/> | |
</div> | |
</div> | |
<div class="w-full sm:w-half formbold-px-3"> | |
<div class="formbold-mb-5"> | |
<label for="surname" class="formbold-form-label"> Prénom </label> | |
<input | |
type="text" | |
name="surname" | |
id="surname" | |
class="formbold-form-input" | |
required | |
/> | |
</div> | |
</div> | |
</div> | |
<div class="flex flex-wrap formbold--mx-3"> | |
<div class="w-full sm:w-half formbold-px-3"> | |
<div class="formbold-mb-5 w-full"> | |
<label for="email" class="formbold-form-label"> | |
Adresse mail | |
</label> | |
<input | |
type="email" | |
name="email" | |
id="email" | |
placeholder="xyz@domain.org" | |
class="formbold-form-input" | |
required | |
/> | |
</div> | |
</div> | |
<div class="w-full sm:w-half formbold-px-3"> | |
<div class="formbold-mb-5 w-full"> | |
<label for="cin" class="formbold-form-label"> | |
CIN | |
</label> | |
<input | |
type="text" | |
name="cin" | |
id="cin" | |
class="formbold-form-input" | |
required | |
/> | |
</div> | |
</div> | |
</div> | |
<div class="flex flex-wrap formbold--mx-3"> | |
<div class="w-full sm:w-half formbold-px-3"> | |
<div class="formbold-mb-5 w-full"> | |
<label for="birthDate" class="formbold-form-label"> Date de naissance </label> | |
<input | |
type="date" | |
name="birthDate" | |
id="birthDate" | |
class="formbold-form-input" | |
required | |
/> | |
</div> | |
</div> | |
<div class="w-full sm:w-half formbold-px-3"> | |
<div class="formbold-mb-5"> | |
<label for="phoneNumber" class="formbold-form-label"> Numéro de téléphone </label> | |
<input | |
type="tel" | |
name="phoneNumber" | |
id="phoneNumber" | |
class="formbold-form-input" | |
required | |
/> | |
</div> | |
</div> | |
</div> | |
<div> | |
<button class="formbold-btn">Enregistrer</button> | |
</div> | |
</form> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment