-
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.
Atualizado cadastro de usuários e funções para vizualização das tafer…
…as dos cronograma por cliente
- Loading branch information
1 parent
1ba6b3e
commit 61b5a80
Showing
78 changed files
with
670 additions
and
603 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 |
---|---|---|
@@ -1 +1 @@ | ||
web: gunicorn confidence_chronogram.wsgi --log-file - | ||
web: gunicorn confidencechronogram.wsgi --log-file - |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from django import forms | ||
|
||
from apps.confidencechronograms.models import Cliente, Funcionario | ||
|
||
|
||
class ClienteForm(forms.ModelForm): | ||
class Meta: | ||
model = Cliente | ||
fields = ( | ||
'nome', 'endereco', 'razao_social', 'tipo_pessoa', 'cpf_cnpj', 'rg_ie', | ||
'cep', 'uf', 'email', 'fone1', 'usuario_cli' | ||
) | ||
|
||
class FuncionarioForm(forms.ModelForm): | ||
class Meta: | ||
model = Funcionario | ||
fields = ( | ||
'nome', 'endereco', 'cpf', 'rg', 'fone1', 'bloqueado', 'usuario_fun' | ||
) |
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<html lang="pt-br"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Alterar senha</title> | ||
</head> | ||
<body> | ||
<div class="container" style="padding-top: 15px;"> | ||
<form method="post"> | ||
{% csrf_token %} | ||
|
||
<div class="form-group"> | ||
{{form_senha.old_password.errors}} | ||
<label>Senha antiga: </label> | ||
{{form_senha.old_password}} | ||
</div> | ||
|
||
<div class="form-group"> | ||
{{form_senha.new_password1.errors}} | ||
<label>Nova senha: </label> | ||
{{form_senha.new_password1}} | ||
</div> | ||
|
||
<div class="form-group"> | ||
{{form_senha.new_password2.errors}} | ||
<label>Confirmação de senha: </label> | ||
{{form_senha.new_password2}} | ||
</div> | ||
|
||
<div class="form-group"> | ||
<input type="submit" value="Alterar" class="btn btn-primary"> | ||
</div> | ||
</form> | ||
</div> | ||
</body> | ||
</html> |
21 changes: 9 additions & 12 deletions
21
account/templates/account/register_clie.html → apps/account/templates/cadastro_cliente.html
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
Oops, something went wrong.