-
Notifications
You must be signed in to change notification settings - Fork 0
/
entrar.html
121 lines (112 loc) · 4.97 KB
/
entrar.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<html>
<head>
<title>Opportunity</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#79b6a6">
<link rel="stylesheet" href="css/custom-mobile.css" />
<link rel="stylesheet" href="css/custom.css" />
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css" />
<link rel="stylesheet" href="OwlCarousel/dist/assets/owl.carousel.min.css" />
<link rel="stylesheet" href="OwlCarousel/dist/assets/owl.theme.default.min.css" />
<link href="https://fonts.googleapis.com/css?family=Ubuntu&display=swap" rel="stylesheet">
</head>
<body>
<section class="user">
<div class="container">
<div class="columns is-mobile is-centered">
<div class="column is-12 is-half">
<div class="image-opportunity">
<figure class="image is-128x128">
<img src="images/opportunity-logo-verde.png" alt="">
</figure>
</div>
</div>
</div>
<div class="columns is-mobile is-centered">
<div class="column is-12 is-half">
<div class="text-criar-conta">
<div class="paragraph-login level-left">
<a href="index.html">
<i class="fas fa-sign-in-alt"></i>
<span> Ir para Opportunity</span>
</a>
</div>
</div>
</div>
</div>
<div class="columns is-mobile">
<div class="column is-12 is-half">
<div class="text-criar-conta">
<h2 class="title">
Entrar
</h2>
<p class="paragraph-login">Ou
<a href="criar_conta.html">criar sua conta</a>
</p>
</div>
</div>
</div>
<div class="form-content">
<div class="columns is-mobile is-centered">
<div class="column is-12 is-half">
<form action="">
<div class="field">
<input class="input input-nome borda-cinza" type="text" placeholder="E-mail"
tabindex="1" />
</div>
<div class="field message-error disabled">
<span style="color: #ff0000; font-size: 12px;">O campo é obrigatório</span>
</div>
<div class="field">
<input class="input input-sobrenome borda-cinza" type="password" placeholder="Senha"
tabindex="2" />
</div>
<div class="field message-error-2 disabled">
<span style="color: #ff0000; font-size: 12px;">O campo é obrigatório</span>
</div>
</form>
</div>
</div>
<div class="columns is-mobile">
<div class="column">
<a class="button is-medium btn-proximo" style="width: 100%; cursor: auto;" tabindex="4"
disabled>
<span class="button-text-small">Entrar</span>
</a>
</div>
</div>
</div>
</div>
</section>
<script src="https://kit.fontawesome.com/7dff0295f2.js"></script>
<script src="js/index.js"></script>
<script src="js/jquery.js"></script>
<script src="OwlCarousel/dist/owl.carousel.min.js"></script>
<script>
$(document).keyup(function () {
if ($('.input-nome').val().length > 0 && $('.input-sobrenome').val().length > 0) {
$(document).ready(function () {
$('.btn-proximo').removeAttr('disabled')
})
} else {
$(document).ready(function () {
$('.btn-proximo').attr('disabled', '')
$('.btn-proximo').attr('readonly', '')
})
}
if ($('.input-nome').val().length <= 0) {
$('.message-error').removeClass('disabled')
} else {
$('.message-error').addClass('disabled')
}
if ($('.input-sobrenome').val().length <= 0) {
$('.message-error-2').removeClass('disabled')
} else {
$('.message-error-2').addClass('disabled')
}
})
</script>
</body>
</html>