Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
projet-cdaw
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thibaut Felten
projet-cdaw
Commits
5629522d
Commit
5629522d
authored
Nov 25, 2020
by
thibaut-felten
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Inscription form
parent
27ef0fd4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
104 additions
and
2 deletions
+104
-2
LoginNavbar.vue
frontend/src/components/LoginNavbar.vue
+0
-1
index.js
frontend/src/router/index.js
+6
-1
Inscription.vue
frontend/src/views/Inscription.vue
+98
-0
No files found.
frontend/src/components/LoginNavbar.vue
View file @
5629522d
...
@@ -29,7 +29,6 @@ import Icon from 'vue-awesome/components/Icon'
...
@@ -29,7 +29,6 @@ import Icon from 'vue-awesome/components/Icon'
border
:
4px
solid
#403d39
;
border
:
4px
solid
#403d39
;
cursor
:
pointer
;
cursor
:
pointer
;
color
:
#403d39
;
color
:
#403d39
;
font-family
:
Arial
;
font-size
:
28px
;
font-size
:
28px
;
padding
:
16px
31px
;
padding
:
16px
31px
;
font-weight
:
bold
;
font-weight
:
bold
;
...
...
frontend/src/router/index.js
View file @
5629522d
...
@@ -25,7 +25,12 @@ const routes = [
...
@@ -25,7 +25,12 @@ const routes = [
// this generates a separate chunk (about.[hash].js) for this route
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
// which is lazy-loaded when the route is visited.
component
:
()
=>
import
(
/* webpackChunkName: "accueil" */
'../views/Accueil.vue'
)
component
:
()
=>
import
(
/* webpackChunkName: "accueil" */
'../views/Accueil.vue'
)
}
},
{
path
:
'/inscription'
,
name
:
'Inscription'
,
component
:
()
=>
import
(
/* webpackChunkName: "inscription" */
'../views/Inscription.vue'
)
},
]
]
const
router
=
new
VueRouter
({
const
router
=
new
VueRouter
({
...
...
frontend/src/views/Inscription.vue
0 → 100644
View file @
5629522d
<
template
>
<div
class=
"inscription"
>
<div
class=
"row _centered"
>
<div
class=
"column _600"
>
<h1>
Inscription
</h1>
<form
action=
"post"
class=
"form"
>
<div
class=
"row lmargin"
>
<label
for=
"FirstName"
>
Prénom
</label>
<input
type=
"text"
name=
"FirstName"
>
</div>
<div
class=
"row lmargin"
>
<label
for=
"LastName"
>
Nom
</label>
<input
type=
"text"
name=
"LastName"
>
</div>
<div
class=
"row lmargin"
>
<label
for=
"Login"
>
Login
</label>
<input
type=
"text"
name=
"Login"
>
</div>
<div
class=
"row lmargin"
>
<label
for=
"Email"
>
Email
</label>
<input
type=
"email"
name=
"Email"
>
</div>
<div
class=
"row lmargin"
>
<label
for=
"Password"
>
Mot de passe
</label>
<input
type=
"password"
name=
"Password"
>
</div>
<div
class=
"row lmargin"
>
<label
for=
"ConfirmPassword"
>
Confirmer MdP
</label>
<input
type=
"password"
name=
"ConfirmPassword"
>
</div>
<div
class=
"row lmargin"
>
<button
type=
"submit"
class=
"btn"
>
Valider
</button>
</div>
</form>
</div>
</div>
</div>
</
template
>
<
style
scoped
>
._600
{
max-width
:
600px
;
}
.lmargin
{
padding
:
1%
;
justify-content
:
center
;
}
label
{
margin-right
:
1%
;
}
.btn
{
background-color
:
transparent
;
border-radius
:
10px
;
border
:
4px
solid
#403d39
;
color
:
#403d39
;
font-family
:
Arial
;
font-size
:
28px
;
padding
:
16px
31px
;
font-weight
:
bold
;
margin
:
1%
;
}
.form
{
background-color
:
transparent
;
border-radius
:
10px
;
border
:
4px
solid
#403d39
;
color
:
#403d39
;
font-family
:
Arial
;
font-size
:
28px
;
padding
:
16px
31px
;
font-weight
:
bold
;
margin
:
1%
;
justify-content
:
center
;
}
._centered
{
justify-content
:
center
;
}
.inscription
{
height
:
100%
;
margin
:
0
auto
;
max-width
:
1200px
;
}
</
style
>
<
script
>
export
default
{
name
:
'Inscription'
}
</
script
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment