1
1
<!DOCTYPE html>
2
2
< html lang ="en ">
3
- < head >
4
- < title > Sign Up to the Fairfield Programming Association</ title >
5
- < include src ="./includes/head.html "> </ include >
6
- < link rel ="stylesheet " href ="../style.css " />
7
- </ head >
8
- < body class ="text-center ">
9
- < main class ="form-signin ">
10
- < form >
11
- < div class ="alert alert-primary " role ="alert ">
12
- As the website is under construction, this feature is temporarily
13
- unavailable.
14
- </ div >
15
- < a href ="/ ">
16
- < img class ="mb-4 " alt ="" width ="240 " src ="/resources/logo.svg " />
17
- </ a >
18
- < h1 class ="h3 mb-3 fw-normal "> Signup Below</ h1 >
19
3
20
- < div class ="form-floating ">
21
- < input
22
- type ="email "
23
- class ="form-control "
24
- id ="floatingInput "
25
-
26
- />
27
- < label for ="floatingInput "> Email address</ label >
28
- </ div >
29
- < div class ="form-floating ">
30
- < input
31
- type ="text "
32
- class ="form-control "
33
- id ="floatingInput "
34
- placeholder ="jane-smith "
35
- />
36
- < label for ="floatingInput "> Username</ label >
37
- </ div >
38
- < div class ="form-floating ">
39
- < input
40
- type ="password "
41
- class ="form-control "
42
- id ="floatingPassword "
43
- placeholder ="Password "
44
- />
45
- < label for ="floatingPassword "> Password</ label >
46
- </ div >
4
+ < head >
5
+ < title > Sign Up to the Fairfield Programming Association</ title >
6
+ < include src ="./includes/head.html "> </ include >
7
+ < link rel ="stylesheet " href ="../style.css " />
8
+ </ head >
47
9
48
- < button class ="w-100 btn btn-lg btn-primary " type ="submit ">
49
- Signup
50
- </ button >
51
- < a class ="w-100 text-muted p-4 " href ="/auth/login " type ="submit ">
52
- Go to Login
53
- </ a >
54
- < p class ="mt-5 mb-3 text-muted "> © 2021-2022</ p >
55
- </ form >
56
- </ main >
57
- </ body >
58
- </ html >
10
+ < body class ="text-center ">
11
+ < main class ="form-signin ">
12
+ <!-- For testing within my local machine -->
13
+ < form action ="http://localhost:8080/user/signup " method ="POST ">
14
+
15
+ <!-- you should probably use this version in production though -->
16
+ <!-- <form action="/user/signup" method="POST"> -->
17
+ <!-- <form action="https://fairfield-programming.herokuapp.com/user/signup" method="POST"> -->
18
+
19
+ < a href ="/ ">
20
+ < img class ="mb-4 " alt ="" width ="240 " src ="/resources/logo.svg " />
21
+ </ a >
22
+ < h1 class ="h3 mb-3 fw-normal "> Signup Below</ h1 >
23
+
24
+ < div class ="form-floating ">
25
+ < input type ="text " name ="username " class ="form-control " id ="floatingInput " placeholder ="Username " />
26
+ < label for ="floatingPassword "> Username</ label >
27
+ </ div >
28
+ < div class ="form-floating ">
29
+ < input type ="
email "
name ="
email "
class ="
form-control "
id ="
floatingInput "
placeholder ="
[email protected] "
/>
30
+ < label for ="floatingInput "> Email address</ label >
31
+ </ div >
32
+ < div class ="form-floating ">
33
+ < input type ="password " name ="password " class ="form-control " id ="floatingPassword " placeholder ="Password " />
34
+ < label for ="floatingPassword "> Password</ label >
35
+ </ div >
36
+ < button class ="w-100 btn btn-lg btn-primary " type ="submit ">
37
+ Signup
38
+ </ button >
39
+ < a class ="w-100 text-muted p-4 " href ="/auth/login " type ="submit ">
40
+ Go to Login
41
+ </ a >
42
+ < p class ="mt-5 mb-3 text-muted "> © 2021-2022</ p >
43
+ </ form >
44
+ </ main >
45
+ </ body >
46
+
47
+ </ html >
0 commit comments