generated from webtech-network/ti1-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8f5e1a9
commit e253af0
Showing
3 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
body { | ||
background-color: #BDB4B5; | ||
} | ||
.text-info { | ||
color: #817f7f !important; /* Cor do texto */ | ||
} | ||
.btn-info { | ||
background-color: #F3E7E7; | ||
border-color: #000000; | ||
margin-top: 10px; | ||
} | ||
.btn-info:hover { | ||
color: #656464; | ||
} | ||
.modal-header, .modal-footer { | ||
background-color: #817f7f /* Fundo do cabeçalho e rodapé do modal */ | ||
} | ||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css"> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script> | ||
<link rel="stylesheet" href="../assets/css/login.css"> | ||
</head> | ||
|
||
<body> | ||
|
@@ -98,7 +99,7 @@ <h3 class="text-center text-info">Novo usuário</h3> | |
// Valida login e se estiver ok, redireciona para tela inicial da aplicação | ||
resultadoLogin = loginUser (username, password); | ||
if (resultadoLogin) { | ||
window.location.href = './../home.html'; | ||
window.location.href = './../index.html'; | ||
} | ||
else { // Se login falhou, avisa ao usuário | ||
alert ('Usuário ou senha incorretos'); | ||
|