Skip to content

Commit ef9d75d

Browse files
committed
translated signin and fixed front end
1 parent b0faa7d commit ef9d75d

File tree

2 files changed

+28
-14
lines changed

2 files changed

+28
-14
lines changed

Youdemy/web/css/signin.css

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ body {
1818
margin: auto;
1919
}
2020

21+
.center {
22+
display: block;
23+
margin-left: auto;
24+
margin-right: auto;
25+
26+
}
27+
2128
.form-signin .checkbox {
2229
font-weight: 400;
2330
}
@@ -26,14 +33,25 @@ body {
2633
z-index: 2;
2734
}
2835

29-
.form-signin input[type="email"] {
36+
.form-signin input[type="first"] {
3037
margin-bottom: -1px;
3138
border-bottom-right-radius: 0;
3239
border-bottom-left-radius: 0;
3340
}
3441

35-
.form-signin input[type="password"] {
42+
.form-signin input[type="last"] {
3643
margin-bottom: 10px;
3744
border-top-left-radius: 0;
3845
border-top-right-radius: 0;
3946
}
47+
48+
.form-signin input[type="middle"] {
49+
margin-top: -1px;
50+
margin-bottom: -1px;
51+
border-top-left-radius: 0;
52+
border-top-right-radius: 0;
53+
border-bottom-right-radius: 0;
54+
border-bottom-left-radius: 0;
55+
}
56+
57+

Youdemy/web/login.html

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -66,26 +66,22 @@
6666
</header>
6767

6868
<main class="form-signin">
69-
<div class="container">
69+
<div class="container text-center">
7070
<form>
7171
<img class="mb-4" src="../assets/brand/bootstrap-logo.svg" alt="" width="72" height="57">
72-
<h1 class="h3 mb-3 fw-normal">Log in</h1>
72+
<h1 class="h3 mb-3 fw-normal">Sign in</h1>
7373

7474
<div class="form-floating">
7575
<input type="email" class="form-control" id="floatingInput" placeholder="[email protected]">
76-
<label for="floatingInput">Correo electrónico</label>
76+
<label for="floatingInput">e-mail</label>
7777
</div>
78-
<div class="form-floating">
78+
<div class="form-floating mb-4">
7979
<input type="password" class="form-control" id="floatingPassword" placeholder="Password">
80-
<label for="floatingPassword">Contraseña</label>
81-
</div>
82-
83-
<div class="checkbox mb-3">
84-
<label>
85-
<input type="checkbox" value="remember-me"> Recordarme
86-
</label>
80+
<label for="floatingPassword">Password</label>
8781
</div>
88-
<button class="w-100 btn btn-lg btn-primary" type="submit">Alta</button>
82+
<button class="w-100 btn btn-lg btn-primary mb-3" type="submit">Sign in</button>
83+
<p class="mb-0 ">Dont have an account?</p>
84+
<a href="/Users/emi/Documents/URJC/Web Dev/webapp10/Youdemy/web/register.html" style="margin-bottom:20px; display:block;">Register here!</a>
8985
</form>
9086

9187
</div>

0 commit comments

Comments
 (0)