Created
May 30, 2021 20:16
-
-
Save ErikGMatos/b3bc8ce532b3e4300d48c38acc4af4c1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<!DOCTYPE html> | |
<html lang="pt-br"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" | |
integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"> | |
<!-- CDN do Bootstrap--> | |
<title>Agenda do Henrique</title> | |
</head> | |
<body> | |
<div class="jumbotron pt-2 pb-2"> | |
<h1 class="display-5 pagination justify-content-center">Agenda de contatos</h1> | |
<p class="lead pagination justify-content-center">Adicione, edite e remova quantos contatos quiser.</p> | |
</div> | |
<div class="container"> | |
<div class="card"> | |
<button type="button" class="btn btn-success btn h-100 p-3 m-2 " data-toggle="modal" | |
data-target="#modalRegistro"><i class="fas fa-plus"></i> | |
Clique aqui para adicionar um novo contato a agenda.</button> | |
</div> | |
<div class=container> | |
<table id="tabelaDados" class="table table-striped"> | |
<thead class="thead-dark"> | |
<tr> | |
<th scope="col" width="1%">#</th> | |
<th scope="col" width="7%">Nome</th> | |
<th scope="col" width="7%">E-mail</th> | |
<th scope="col" width="7%">Whatsapp</th> | |
<th scope="col" width="7%">Instagram</th> | |
<th scope="col" width="1%"></th> | |
<th scope="col" width="1%"></th> | |
</tr> | |
</thead> | |
<tbody></tbody> | |
</table> | |
</div> | |
</div> | |
<!-- Modal --> | |
<div class="modal fade" id="modalRegistro" tabindex="-1" role="dialog" aria-labelledby="modalRegristroLabel" | |
aria-hidden="true"> | |
<div class="modal-dialog modal-lg" role="document"> | |
<div class="modal-content"> | |
<div class="modal-header"> | |
<h5 class="modal-title" id="modalRegristroLabel">Cadastros</h5> | |
<button type="button" class="Fechar" data-dismiss="modal" aria-label="Fechar"> | |
<span aria-hidden="true">×</span> | |
</button> | |
</div> | |
<div class="modal-body"> | |
<input id="hideID" type="hidden"> | |
<div class="row"> | |
<div class="col-md-6"> | |
<div class="form-group"> | |
<label for="">Nome</label> | |
<input id="txtName" type="text" class="form-control" placeholder="Digite seu nome"> | |
</div> | |
</div> | |
<div class="col-md-6"> | |
<div class="form-group"> | |
<label for="">E-mail</label> | |
<input id="txtEmail" type="text" class="form-control" placeholder="Digite seu e-mail"> | |
</div> | |
</div> | |
<div class="col-md-6"> | |
<div class="form-group"> | |
<label for="">Whatsapp</label> | |
<input id="txtWhatsapp" type="number" class="form-control" placeholder="Digite seu número do whatsapp"> | |
</div> | |
</div> | |
<div class="col-md-6"> | |
<div class="form-group"> | |
<label for="">Instagram</label> | |
<input id="txtInstagram" type="text" class="form-control" | |
placeholder="Digite seu nome de usuário no instagram"> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="modal-footer"> | |
<button type="button" class="btn btn-secondary" data-dismiss="modal">Fechar</button> | |
<button id="buttonSave" type="button" class="btn btn-primary">Salvar</button> | |
</div> | |
</div> | |
</div> | |
</div> | |
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" | |
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" | |
crossorigin="anonymous"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" | |
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" | |
crossorigin="anonymous"></script> | |
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" | |
integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" | |
crossorigin="anonymous"></script> | |
<script src="js/index.js"></script> <!-- JQUERY baixado --> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment