Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tutorat
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ZHANG David
tutorat
Commits
4cd9b8a8
Commit
4cd9b8a8
authored
4 months ago
by
ZHANG David
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
25296b24
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/register.html
+119
-0
119 additions, 0 deletions
code/register.html
with
119 additions
and
0 deletions
code/register.html
0 → 100644
+
119
−
0
View file @
4cd9b8a8
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
Inscription
</title>
<link
rel=
"stylesheet"
href=
"style.css"
>
<style>
body
{
font-family
:
Arial
,
sans-serif
;
background-color
:
#f9f9f9
;
margin
:
0
;
padding
:
0
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
height
:
100vh
;
}
.container
{
width
:
100%
;
max-width
:
400px
;
background
:
#fff
;
padding
:
20px
;
box-shadow
:
0
4px
8px
rgba
(
0
,
0
,
0
,
0.1
);
border-radius
:
8px
;
}
h1
{
text-align
:
center
;
color
:
#333
;
}
form
{
display
:
flex
;
flex-direction
:
column
;
}
label
{
margin-top
:
10px
;
font-weight
:
bold
;
}
input
,
select
,
button
{
padding
:
10px
;
margin-top
:
5px
;
border
:
1px
solid
#ddd
;
border-radius
:
5px
;
font-size
:
14px
;
}
input
:focus
,
select
:focus
{
border-color
:
#007BFF
;
outline
:
none
;
}
button
{
background-color
:
#007BFF
;
color
:
white
;
border
:
none
;
padding
:
10px
;
margin-top
:
20px
;
cursor
:
pointer
;
font-size
:
16px
;
}
button
:hover
{
background-color
:
#0056b3
;
}
.links
{
text-align
:
center
;
margin-top
:
15px
;
}
.links
a
{
text-decoration
:
none
;
color
:
#007BFF
;
}
.links
a
:hover
{
text-decoration
:
underline
;
}
</style>
</head>
<body>
<div
class=
"container"
>
<h1>
Register
</h1>
<form
action=
"register.php"
method=
"POST"
>
<label
for=
"first_name"
>
First Name:
</label>
<input
type=
"text"
id=
"first_name"
name=
"first_name"
required
>
<label
for=
"last_name"
>
Last Name:
</label>
<input
type=
"text"
id=
"last_name"
name=
"last_name"
required
>
<label
for=
"email"
>
Email:
</label>
<input
type=
"email"
id=
"email"
name=
"email"
required
>
<label
for=
"password"
>
Password:
</label>
<input
type=
"password"
id=
"password"
name=
"password"
required
>
<label
for=
"role"
>
Role:
</label>
<select
id=
"role"
name=
"role"
required
>
<option
value=
"student"
>
Student
</option>
<option
value=
"tutor"
>
Tutor
</option>
</select>
<label
for=
"specialty"
>
Specialty (for Tutors):
</label>
<input
type=
"text"
id=
"specialty"
name=
"specialty"
placeholder=
"Optional for tutors"
>
<button
class=
"animated infinite pulse button btn btn-info"
type=
"submit"
>
Register
</button>
<button
class=
"animated infinite pulse button btn btn-info"
onclick=
"window.location.href='index.php'"
>
Retour
</button>
</form>
<div
class=
"links"
>
</div>
</div>
</body>
</html>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment