diff --git a/amadeus/urls.py b/amadeus/urls.py index 59e0380..ae45d93 100644 --- a/amadeus/urls.py +++ b/amadeus/urls.py @@ -24,8 +24,6 @@ from core import views urlpatterns = [ url(r'^$', auth_views.login, {'template_name': 'index.html'}, name='home'), url(r'^logout/$', auth_views.logout, {'next_page': 'home'}, name='logout'), - url(r'^nova_conta/$', views.nova_conta, name='nova_conta'), - url(r'^lembrar_senha/$', views.lembrar_senha, name='lembrar_senha'), url(r'^app/', include('app.urls', namespace = 'app')), url(r'^admin/', admin.site.urls), ] diff --git a/app/templates/admin_avaliacao_curso.html b/app/templates/admin_avaliacao_curso.html deleted file mode 100644 index 5d6e3a0..0000000 --- a/app/templates/admin_avaliacao_curso.html +++ /dev/null @@ -1,101 +0,0 @@ -{% extends "admin_index.html" %} - -{% block content %} - {% load static %} -
-

Avaliações do Curso

-
-
- -
-
- - - - - - - - -
- -
-
-
-
- - - - - - - - -
 
-
-
-
Aluno
- -
Questionário 01
- - - - -
- - - - - -
-
-{% endblock %} \ No newline at end of file diff --git a/app/templates/admin_colegas_curso.html b/app/templates/admin_colegas_curso.html deleted file mode 100644 index c0ea004..0000000 --- a/app/templates/admin_colegas_curso.html +++ /dev/null @@ -1,81 +0,0 @@ -{% extends "admin_index.html" %} - -{% block content %} - {% load static %} -
-

Colegas de Sala

-
-
- -
-
-
- -
-
-
- -
- -
- - - Nada encontrado para exibir. -
- -
- -
- - - Nada encontrado para exibir. -
- -
- -
- - - - - - -
- - -
- -
- - - - Julio Jose de Oliveira Ribeiro Toscano de Brito -

- jjortb@cin.ufpe.br - -
-
- -
-
-{% endblock %} \ No newline at end of file diff --git a/app/templates/admin_config.html b/app/templates/admin_config.html deleted file mode 100644 index 385745e..0000000 --- a/app/templates/admin_config.html +++ /dev/null @@ -1,189 +0,0 @@ -{% extends "admin_index.html" %} - -{% block content %} - {% load static %} -
-

Configurações do Sistema

-
-
- -
-
-
- -
-
-
- -
- -
- - - - - -
Geral
-
-
- - -
-
- - -
-
- - -
-
-
Temas
-
-
-
- - - - - - - - - - - -
-
Servidor de envio (SMTP)
-
-
- Configurações - - - - - - - - - - - - - -
  25
-
-
 
-
- Segurança e autenticação - - - - - - - - - - - - - - - -
Usar conexão segura:
- - Não   - TLS, se deisponível   - TLS   - SSL - - -
-
-
-
- -
-
-
-
- - - - - - - - - - -
-
- -  Permitir que os usuários se auto-cadastrem. -
-
- -  Colocar o sistema em modo de manutenção. -
-
-
- -
-
-
-
-
-{% endblock %} \ No newline at end of file diff --git a/app/templates/admin_dados_user.html b/app/templates/admin_dados_user.html deleted file mode 100644 index eded03b..0000000 --- a/app/templates/admin_dados_user.html +++ /dev/null @@ -1,66 +0,0 @@ -{% extends "admin_index.html" %} - -{% block content %} - {% load static %} -
-

Gerenciar Usuários

-
-
- -
-
-
- -
-
-
- - - - - - - - -
- -   - -
-
- -
-
- - - - - - - - - - - - - - - - - - - - -
Status:
 
Nome:Administrador
 
Login:admin
 
E-mail:admin@amadeus.org.br
-
-
-{% endblock %} \ No newline at end of file diff --git a/app/templates/admin_edit_user.html b/app/templates/admin_edit_user.html deleted file mode 100644 index fb5d5ea..0000000 --- a/app/templates/admin_edit_user.html +++ /dev/null @@ -1,329 +0,0 @@ -{% extends "admin_index.html" %} - -{% block content %} - {% load static %} -
-

Gerenciar Usuários

-
-
- -
-
-
- -
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -   - -
-
- -
-
- - - - - - - - - - - - - - - - - -
Status:
 
Login:admin
 
Tipo:ADMIN
 
O Tipo e o Login não podem ser editados.
-
 
*Nome Completo:
Seu nome completo
*Senha:
Sua senha (mínimo de 4 caracteres)
*E-mail:  - -
Seu endereço de e-mail (exemplo@mail.com)
CPF:
Seu número de CPF: 000.000.000-00
Número de telefone:
Seu número de telefone: (00)0000-0000
Sexo: - - Masculino - - Feminino -
 
Data de Nascimento:
Sua data de nascimento (dd/mm/aaaa)
Estado e Cidade: - - -
Seu estado e cidade
Titulação: - -
Sua Titulação
Ano: - -
Ano de obtenção da titulação
Instituição:
Instituição onde você obteve sua titulação
Currículo:
Descrição do Currículo
-
- - -
-
- -
-{% endblock %} \ No newline at end of file diff --git a/app/templates/admin_editar_perfil.html b/app/templates/admin_editar_perfil.html deleted file mode 100644 index 988807b..0000000 --- a/app/templates/admin_editar_perfil.html +++ /dev/null @@ -1,319 +0,0 @@ -{% extends "admin_index.html" %} - -{% block content %} - {% load static %} -
-

Editar Perfil

-
-
- -
-
-
- -
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
- - - - - -
-
 
*Nome Completo: - -
Seu nome completo
*CPF:
Seu número de CPF: 000.000.000-00
Número de telefone:
Seu número de telefone: (00)0000-0000
Sexo: - - Masculino - - Feminino -
 
Data de Nascimento:
Sua data de nascimento (dd/mm/aaaa)
*E-mail: -   - -
Seu endereço de e-mail (exemplo@mail.com)
Estado e Cidade: - - -
Seu estado e cidade
Titulação: - -
Sua Titulação
Ano: - -
Ano de obtenção da titulação
Instituição:
Instituição onde você obteve sua titulação
Currículo:
Descrição do Currículo
- - -
-
- - -
-
- -
-{% endblock %} \ No newline at end of file diff --git a/app/templates/admin_index.html b/app/templates/admin_index.html deleted file mode 100644 index bf8eb6b..0000000 --- a/app/templates/admin_index.html +++ /dev/null @@ -1,241 +0,0 @@ - - -{% load static %} - - - - Projeto Amadeus - - - - - - - - - - - - -
-
- - -
-
- - - - - - \ No newline at end of file diff --git a/app/templates/admin_modulos_curso.html b/app/templates/admin_modulos_curso.html deleted file mode 100644 index 7a89e63..0000000 --- a/app/templates/admin_modulos_curso.html +++ /dev/null @@ -1,397 +0,0 @@ -{% extends "admin_index.html" %} - -{% block content %} - {% load static %} -
-

Gestão de Conteúdo

-
-
- -
-
- - - - - - - - -
- -
-
-
- - - - - -
- -
- -
-
-
Curso01
-
- Professores:
-  Administrador. - -
-
- -
-
- Data de Início: 13/06/2016 -
-
- Data de Término: 12/08/2016 -
-
-
- - - - - - - - - - - - -
- - - - - - - - - - - - - - - - -
- - Atividade01 - - - - Invisível - - - 1 -
-
- Descrição do Módulo: -
-
-
Descrição do módulo 01
-
-
- - - - - - - - - -
MateriaisAtividades
- - - -
-
-
- - -
- -
- Editar -
- -
-
-
- - - - -
- - - - - - - - - - - - - - - - -
- - Nome do M�dulo - 2 - - - Visível - - - - 2 -
-
- Descrição do Módulo: -
-
-
Descri��o
-
-
- - - - - - - - - -
MateriaisAtividades
-
    - - -
-
-
    - - - - - - - -
-
-
-
- - -
- -
- Editar -
- -
-
-
- - - - - - - - - -
- - - - - - - -
- - Criar novo módulo - -
-
- -
-
-
-
-{% endblock %} \ No newline at end of file diff --git a/app/templates/admin_new_user.html b/app/templates/admin_new_user.html deleted file mode 100644 index 17aeab6..0000000 --- a/app/templates/admin_new_user.html +++ /dev/null @@ -1,318 +0,0 @@ -{% extends "admin_index.html" %} - -{% block content %} - {% load static %} -
-

Gerenciar Usuários

-
-
- -
-
-
- -
-
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*Nome Completo:
Seu nome completo
*Tipo de Perfil: - -
Tipo (Administrador, Aluno, Professor)
*Login: 
Seu login
*Senha:
Sua senha (mínimo de 4 caracteres)
*E-mail:  -
Seu endereço de e-mail (exemplo@mail.com)
CPF:
Seu número de CPF: 000.000.000-00
Número de telefone:
Seu número de telefone: (00)0000-0000
Sexo: - - Masculino - - Feminino -
Data de Nascimento:
Sua data de nascimento (dd/mm/aaaa)
Estado e Cidade: - - -
Seu estado e cidade
Foto:
Selecione uma imagem para ser sua foto
Titulação: - -
Sua Titulação
Ano: - -
Ano de obtenção da titulação
Instituição:
Instituição onde você obteve sua titulação
Currículo:
Descrição do Currículo
-
- - -
-
- -{% endblock %} \ No newline at end of file diff --git a/app/templates/admin_online.html b/app/templates/admin_online.html deleted file mode 100644 index 8f36cea..0000000 --- a/app/templates/admin_online.html +++ /dev/null @@ -1,70 +0,0 @@ -{% extends "admin_index.html" %} - -{% block content %} - {% load static %} -
-

Usuários Online

-
-
- -
-
-
- -
-
-
-
- - - - - - -
- -
- -
- - - - jailson -

- jailson.dias@citi.org.br - -
- -
- -
- - - - Administrador -

- admin@amadeus.org.br - -
2 itens encontrados, exibindo todos os itens.1 -
-
-
- -
-{% endblock %} \ No newline at end of file diff --git a/app/templates/admin_participantes_curso.html b/app/templates/admin_participantes_curso.html deleted file mode 100644 index cd9c36b..0000000 --- a/app/templates/admin_participantes_curso.html +++ /dev/null @@ -1,102 +0,0 @@ -{% extends "admin_index.html" %} - -{% block content %} - {% load static %} -
-

Participantes

-
-
- -
-
- - - - - - - - -
- -
-
-
- -
- -
- - - - -
- -
- -
- - - - Administrador -

- admin@amadeus.org.br - -
-
- - - - -
-
-{% endblock %} \ No newline at end of file diff --git a/app/templates/admin_profile.html b/app/templates/admin_profile.html deleted file mode 100644 index f8b2018..0000000 --- a/app/templates/admin_profile.html +++ /dev/null @@ -1,139 +0,0 @@ -{% extends "admin_index.html" %} - -{% block content %} - {% load static %} -
- -

Meu Perfil

- - -
-
- -
-
-
- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - -
Status:
 
Nome:Administrador
 
E-mail:admin@amadeus.org.br
 
CPF:
-
 
Número de telefone:
 
Sexo: - - -
 
Data de Nascimento:
 
Estado e Cidade: -
 
Titulação: - -
 
Ano:
 
Instituição:
 
Currículo:
-
-
- -
-{% endblock %} \ No newline at end of file diff --git a/app/templates/admin_reset_pass.html b/app/templates/admin_reset_pass.html deleted file mode 100644 index 9b20248..0000000 --- a/app/templates/admin_reset_pass.html +++ /dev/null @@ -1,79 +0,0 @@ -{% extends "admin_index.html" %} - -{% block content %} - {% load static %} -
-

Trocar Senha

-
-
- -
-
-
- -
-
-
- - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*Senha atual: - -
Sua senha atual
*Nova senha: - -
Sua nova senha. (Mínimo de 4 caracteres)
*Confirmação: - -
Confirme sua nova senha
-
- - -
-{% endblock %} \ No newline at end of file diff --git a/app/templates/admin_search.html b/app/templates/admin_search.html deleted file mode 100644 index dc11e03..0000000 --- a/app/templates/admin_search.html +++ /dev/null @@ -1,108 +0,0 @@ -{% extends "admin_index.html" %} - -{% block content %} - {% load static %} -
-

Resultado da Busca

-
- - -
-
- -
-
-
-
-
Existem 4 resultados para a busca por "python":
- -
Exibindo 1-4
- -
- - -
- - - -
- -
- -
-
Buscar um curso:
-
-
- -
Buscar
-
- - -
- -
-{% endblock %} \ No newline at end of file diff --git a/app/templates/admin_send_email.html b/app/templates/admin_send_email.html deleted file mode 100644 index 1b69ede..0000000 --- a/app/templates/admin_send_email.html +++ /dev/null @@ -1,97 +0,0 @@ -{% extends "admin_index.html" %} - -{% block content %} - {% load static %} -
-

Gerenciar Usuários

-
-
- -
-
-
- -
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - -
 
Para: - -
  -  Usuários:  - -  Cursos:  - -
Assunto:
  - -
 
-
-
-
-
- -
-{% endblock %} \ No newline at end of file diff --git a/app/templates/admin_tarefas.html b/app/templates/admin_tarefas.html deleted file mode 100644 index e7969f3..0000000 --- a/app/templates/admin_tarefas.html +++ /dev/null @@ -1,111 +0,0 @@ -{% extends "admin_index.html" %} - -{% block content %} - {% load static %} -
-

Tarefas Pendentes

-
- -
-
- -
-
-
-
Aprovar Docência
- - -
- - Nome: Jailson Dias
- - - -
- -
- - Nome: kjhkjlkb
- - - -
- -
- - Nome: joao
- - - -
- -
- - Nome:
- - - -
- - - -
-{% endblock %} \ No newline at end of file diff --git a/app/templates/admin_users.html b/app/templates/admin_users.html deleted file mode 100644 index fa94bab..0000000 --- a/app/templates/admin_users.html +++ /dev/null @@ -1,930 +0,0 @@ -{% extends "admin_index.html" %} - -{% block content %} - {% load static %} -
-

Gerenciar Usuários

-
-
- -
-
-
- -
-
-
-
-
- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- Administrador - -   -
- admin@amadeus.org.br - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- Ailson aluno - -   -
- ailson@gmail.com - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- aluno01 - -   -
- aluno01@gmail.com - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- Erik - -   -
- erikzambom@gmail.com - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- estudante0101 - -   -
- estudante0101@aaaaaaaaasssssssssss.com - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- felipe henrique de almeida bormann - -   -
- fhab@cin.ufpe.br - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- felipe henrique de almeida bormann - -   -
- felipe.bormann@gmail.com - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- Francisco Neto - -   -
- fsouzant@gmail.com - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- jailson - -   -
- jailson.dias@citi.org.br - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- jailson d - -   -
- jailsonsossegopb@hotmail.com - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- Jailson Dias - -   -
- jailsonsossegopb@gmail.com - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- joao - -   -
- dias.jailson4@gmail.com - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- João Carlos Sedraz Silva - -   -
- jsedraz@gmail.com - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- João Vasconcelos - -   -
- jvsn_naoexiste@gmail.com - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- João Vasconcelos - -   -
- jvsn@cin.ufpe.br - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- Julio Jose de Oliveira Ribeiro Toscano de Brito - -   -
- jjortb@cin.ufpe.br - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- karla vidal - -   -
- karlagvidal@gmail.com - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- kjhkjlkb - -   -
- kjn@hgfjh.hjgj - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- Matheus de Souza Lins (Aluno) - -   -
- matheuslins9@gmail.com - - -   -
-
- - - - - - - - - - - - - - -
-
- -
-
- - - - -   - -   - - - - -
- Matheus de Souza Lins (Professor) - -   -
- msl@cin.ufpe.br - - -   -
-
25 itens encontrados, exibindo 1 de 20.[Primeira/Anterior] 1, 2 [Próxima/Última] -
-
- -
-{% endblock %} \ No newline at end of file diff --git a/app/templates/app/index.html b/app/templates/app/index.html index 55f614d..645f51d 100644 --- a/app/templates/app/index.html +++ b/app/templates/app/index.html @@ -5,11 +5,11 @@ {% block sidebar %}

{% trans 'You have:' %}

- + 4 {% trans 'Pending Tasks' %} - + 0 {% trans 'Users Online' %} diff --git a/app/templates/index.html b/app/templates/index.html deleted file mode 100644 index 9952ed1..0000000 --- a/app/templates/index.html +++ /dev/null @@ -1,212 +0,0 @@ - - -{% load static %} - - - - - - - - - - - Projeto Amadeus - - - - - - - - - - - - - - - - - - - - -
-
- - - - - - -
- Olá Administrador.
- Visualizar Perfil - (Sair) -
-
- - - - - - - - -
- - - -  Configurações - -  |  - - O Projeto -  |  - Grupo CCTE -
-
-
-
-
Você tem:
- - - - - -
- -
-
Você pode:
- - - - - -
- -
-
Seu(s) curso(s):
- -
- Curso01 -
- -
- Python -
- - - -
-
-
-
-
-
- Buscar um curso: -
-
- - -
-
- - -
- Palavras-chave mais populares: -
- -
-
- - - - - - -
-
Copyright Amadeus. Todos os direitos reservados
-
- -
- - \ No newline at end of file diff --git a/app/templates/mobile.html b/app/templates/mobile.html deleted file mode 100644 index 98bfde3..0000000 --- a/app/templates/mobile.html +++ /dev/null @@ -1,28 +0,0 @@ - -{% load static %} - - - - Amadeus Mobile - - - - - -
- logo -

Você está sendo direcionado para a página do Amadeus Mobile.

-
- - \ No newline at end of file diff --git a/app/urls.py b/app/urls.py index 0096d36..3f8c8fd 100644 --- a/app/urls.py +++ b/app/urls.py @@ -5,17 +5,5 @@ from . import views urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^', include('courses.urls', namespace = 'course')), - url(r'^cursos/participantes/$', views.participantes_curso, name='participantes_curso'), - url(r'^cursos/avaliacoes/$', views.avaliacao_curso, name='avaliacao_curso'), - url(r'^usuarios/', include('users.urls', namespace = 'users')), - url(r'^enviar_email/$', views.email, name='send_mail'), - url(r'^perfil/$', views.profile, name='profile'), - url(r'^perfil/editar/$', views.edit_profile, name='editar_profile'), - url(r'^perfil/alterar_senha/$', views.reset_pass, name='alterar_senha'), - url(r'^perfil/colegas/$', views.colegas, name='colegas'), - url(r'^configuracoes/$', views.configuracoes, name='config'), - url(r'^mobile/$', views.mobile, name='mobile'), - url(r'^tarefas/$', views.tarefas, name='tarefas'), - url(r'^online/$', views.users_online, name='online'), - url(r'^busca/$', views.search, name='search'), + url(r'^', include('users.urls', namespace = 'users')), ] \ No newline at end of file diff --git a/app/views.py b/app/views.py index 643dcb8..e1932f8 100644 --- a/app/views.py +++ b/app/views.py @@ -3,56 +3,4 @@ from django.contrib.auth.decorators import login_required @login_required def index(request): - return render(request, "app/index.html") - -@login_required -def test(request): - return render(request, "admin_index.html") - -@login_required -def participantes_curso(request): - return render(request, "admin_participantes_curso.html") - -@login_required -def avaliacao_curso(request): - return render(request, "admin_avaliacao_curso.html") - -@login_required -def email(request): - return render(request, "admin_send_email.html") - -@login_required -def profile(request): - return render(request, "admin_profile.html") - -@login_required -def edit_profile(request): - return render(request, "admin_editar_perfil.html") - -@login_required -def reset_pass(request): - return render(request, "admin_reset_pass.html") - -@login_required -def colegas(request): - return render(request, "admin_colegas_curso.html") - -@login_required -def configuracoes(request): - return render(request, "admin_config.html") - -@login_required -def mobile(request): - return render(request, "mobile.html") - -@login_required -def tarefas(request): - return render(request, "admin_tarefas.html") - -@login_required -def users_online(request): - return render(request, "admin_online.html") - -@login_required -def search(request): - return render(request, "admin_search.html") \ No newline at end of file + return render(request, "app/index.html") \ No newline at end of file diff --git a/core/templates/lembrar_senha.html b/core/templates/lembrar_senha.html deleted file mode 100644 index eee1874..0000000 --- a/core/templates/lembrar_senha.html +++ /dev/null @@ -1,169 +0,0 @@ - -{% load static %} - - - - - - - - - - - - - - - - Projeto Amadeus - - - - - - - - - - - - - - - - - - -
-
-
-
-
-
-
  -
Entrar
-
- - -
-
-
- - - - - - - - -
- - O Projeto -  |  - Grupo CCTE -
-
-

Lembrar senha

-
-
- -
-
-
- -
-
-
-
- - -
-
Endereço de e-mail
-
-
Seu endereço de e-mail (exemplo@mail.com)
-
-
- - -
-
-
-
- - - - - - -
-
Copyright Amadeus. Todos os direitos reservados
-
- -
- - \ No newline at end of file diff --git a/core/templates/nova_conta.html b/core/templates/nova_conta.html deleted file mode 100644 index cac89f1..0000000 --- a/core/templates/nova_conta.html +++ /dev/null @@ -1,181 +0,0 @@ - -{% load static %} - - - - - - - - - - - - - - - - Projeto Amadeus - - - - - - - - - - - - - - - - - - -
-
-
-
-
-
-
 
Entrar
-
- - -
-
-
- - - - - - - - -
- - O Projeto -  |  - Grupo CCTE -
-
-

Nova conta

-
-
- -
-
-
- -
-
-
-
-
- -
Nome completo
-
-
Seu nome completo
-
E-mail
-
-
Seu endereço de e-mail (exemplo@mail.com)
-
Login
-
-
Seu login
-
Senha
-
-
Sua senha (mínimo de 4 caracteres)
-
Confirmação de senha
-
-
Confirme sua senha
-
-

  • Todos os campos são de preenchimento obrigatório
-
- - -
-
-
- -
- - - - - - -
-
Copyright Amadeus. Todos os direitos reservados
-
- -
- - \ No newline at end of file diff --git a/core/views.py b/core/views.py index 58651fe..cd60fb2 100644 --- a/core/views.py +++ b/core/views.py @@ -5,10 +5,4 @@ def index(request): context = { 'subscribed_courses': 'testando' } - return render(request, "index.html", context) - -def nova_conta(request): - return render(request, "nova_conta.html") - -def lembrar_senha(request): - return render(request, "lembrar_senha.html") \ No newline at end of file + return render(request, "index.html", context) \ No newline at end of file diff --git a/courses/templates/course/filtered.html b/courses/templates/course/filtered.html index 3700955..91fb81b 100644 --- a/courses/templates/course/filtered.html +++ b/courses/templates/course/filtered.html @@ -1,6 +1,8 @@ {% extends 'course/index.html' %} -{% block sidebar i18n %} +{% load i18n %} + +{% block sidebar %}
{% trans 'Courses' %} diff --git a/courses/templates/course/index.html b/courses/templates/course/index.html index 5f5d972..ca42817 100644 --- a/courses/templates/course/index.html +++ b/courses/templates/course/index.html @@ -1,6 +1,6 @@ {% extends 'app/base.html' %} -{% load static i18n permission_tags custom_filters %} +{% load static i18n permission_tags %} {% block breadcrumbs %}
- {% if user|has_role:'student' and course|show_subscribe:request.user %} -
-
- {% csrf_token %} - - - -
-
- {% endif %}
diff --git a/users/templates/users/create.html b/users/templates/users/create.html index 7fcb59a..35286c4 100644 --- a/users/templates/users/create.html +++ b/users/templates/users/create.html @@ -18,7 +18,7 @@ {% trans 'New Account' %} - + {% trans 'Send Mail' %} diff --git a/users/templates/users/index.html b/users/templates/users/index.html index 088a3de..7517ac6 100644 --- a/users/templates/users/index.html +++ b/users/templates/users/index.html @@ -17,7 +17,7 @@ {% trans 'New Account' %} - + {% trans 'Send Mail' %} diff --git a/users/templates/users/update.html b/users/templates/users/update.html index cd37ce1..d1b2183 100644 --- a/users/templates/users/update.html +++ b/users/templates/users/update.html @@ -18,7 +18,7 @@ {% trans 'New Account' %} - + {% trans 'Send Mail' %} diff --git a/users/templates/users/view.html b/users/templates/users/view.html index 59ab167..845e4b4 100644 --- a/users/templates/users/view.html +++ b/users/templates/users/view.html @@ -23,7 +23,7 @@ {% trans 'Edit User Account' %} - + {% trans 'Send Mail' %} diff --git a/users/urls.py b/users/urls.py index ca8114e..7d35500 100644 --- a/users/urls.py +++ b/users/urls.py @@ -3,10 +3,10 @@ from django.conf.urls import url from . import views urlpatterns = [ - url(r'^$', views.Index.as_view(), name='manage'), - url(r'^criar/$', views.Create.as_view(), name='create'), - url(r'^editar/(?P[\w_-]+)/$', views.Update.as_view(), name='update'), - url(r'^dados/(?P[\w_-]+)/$', views.View.as_view(), name='view'), + url(r'^usuarios/$', views.Index.as_view(), name='manage'), + url(r'^usuarios/criar/$', views.Create.as_view(), name='create'), + url(r'^usuario/editar/(?P[\w_-]+)/$', views.Update.as_view(), name='update'), + url(r'^usuario/dados/(?P[\w_-]+)/$', views.View.as_view(), name='view'), url(r'^perfil/$', views.Profile.as_view(), name='profile'), url(r'^perfil/editar/$', views.EditProfile.as_view(), name='edit_profile'), ] \ No newline at end of file -- libgit2 0.21.2