-
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.
Adiciona HTML nas páginas de usuários
- Loading branch information
Showing
6 changed files
with
128 additions
and
4 deletions.
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,17 @@ | ||
{% extends '_base.html' %} | ||
{% load static %} | ||
{% block content %} | ||
|
||
<!-- Preloader --> | ||
<div id="preloader"> | ||
<i class="circle-preloader"></i> | ||
<img src="{% static 'img/core-img/pizza.png' %}" alt=""> | ||
</div> | ||
|
||
{% include 'partials/_header.html' %} | ||
|
||
|
||
<!-- coloque seu código HTML aqui --> | ||
|
||
|
||
{% endblock %} |
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
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,53 @@ | ||
{% extends '_base.html' %} | ||
{% load static %} | ||
{% block content %} | ||
|
||
<!-- Preloader --> | ||
<div id="preloader"> | ||
<i class="circle-preloader"></i> | ||
<img src="{% static 'img/core-img/pizza.png' %}" alt=""> | ||
</div> | ||
|
||
{% include 'partials/_header.html' %} | ||
|
||
<div class="contact-area section-padding-0-80"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<div class="section-heading"> | ||
<h2>Criar conta</h2> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<div class="contact-form-area"> | ||
<form action="" method=""> | ||
<div class="row"> | ||
<div class="col-12 col-lg-12"> | ||
<label for="nome_receita"><b>Nome completo</b></label> | ||
<input type="text" class="form-control" name="nome" placeholder="Ex.: Fulaninho da Silva" required> | ||
</div> | ||
<div class="col-12 col-lg-12"> | ||
<label for="email"><b>Email</b></label> | ||
<input type="email" class="form-control" name="email" placeholder="Ex.: fulaninho@batatinha.com" required> | ||
</div> | ||
<div class="col-12 col-lg-6"> | ||
<label for="password"><b>Senha</b></label> | ||
<input type="password" class="form-control" name="password" placeholder="Digite sua senha" required> | ||
</div> | ||
<div class="col-12 col-lg-6"> | ||
<label for="password2"><b>Confirmação de senha</b></label> | ||
<input type="password" class="form-control" name="password2" placeholder="Digite sua senha mais uma vez" required> | ||
</div> | ||
<div class="col-12 text-center mt-4"> | ||
<button class="btn btn-success" type="submit">Criar sua conta</button> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |
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,53 @@ | ||
{% extends '_base.html' %} | ||
{% load static %} | ||
{% block content %} | ||
|
||
<!-- Preloader --> | ||
<div id="preloader"> | ||
<i class="circle-preloader"></i> | ||
<img src="{% static 'img/core-img/pizza.png' %}" alt=""> | ||
</div> | ||
|
||
{% include 'partials/_header.html' %} | ||
|
||
<div class="contact-area section-padding-0-80"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<div class="section-heading"> | ||
<h2>Login</h2> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<div class="contact-form-area"> | ||
<form action="" method=""> | ||
<div class="row"> | ||
<div class="col-12 col-lg-12"> | ||
<label for="email"><b>Email</b></label> | ||
<input type="text" id="email" class="form-control" name="email" placeholder="Entre com o email cadastrado"> | ||
</div> | ||
<div class="col-12 col-lg-12"> | ||
<label for="senha"><b>Senha</b></label> | ||
<input id="senha" type="password" class="form-control" name="senha" placeholder="Digite aqui sua senha"> | ||
</div> | ||
<div class="col-12 text-center mt-5"> | ||
<button class="btn btn-success" type="submit">Acessar sua conta</button> | ||
<button type="button" class="btn btn-primary ml-2" onclick="exibirCriarConta()">Ainda não tem conta? Clique aqui</button> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script> | ||
function exibirCriarConta() { | ||
location.href = "{% url 'cadastro' %}"; | ||
} | ||
</script> | ||
|
||
{% endblock %} |
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
from django.shortcuts import render | ||
|
||
def login(request): | ||
pass | ||
return render(request, 'usuarios/login.html') | ||
|
||
def logout(request): | ||
pass | ||
|
||
def cadastro(request): | ||
pass | ||
return render(request, 'usuarios/cadastro.html') | ||
|
||
def dashboard(request): | ||
pass |
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