Commit 3444d41f9dff2ab3153b81f60c31ee85e57b59d5

Authored by KabuVerdi
2 parents 9dbacbb7 c78598d3

Merge branch 'master' of https://github.com/amadeusproject/amadeuslms

amadeus/urls.py
... ... @@ -24,8 +24,6 @@ from core import views
24 24 urlpatterns = [
25 25 url(r'^$', auth_views.login, {'template_name': 'index.html'}, name='home'),
26 26 url(r'^logout/$', auth_views.logout, {'next_page': 'home'}, name='logout'),
27   - url(r'^nova_conta/$', views.nova_conta, name='nova_conta'),
28   - url(r'^lembrar_senha/$', views.lembrar_senha, name='lembrar_senha'),
29 27 url(r'^app/', include('app.urls', namespace = 'app')),
30 28 url(r'^admin/', admin.site.urls),
31 29 ]
... ...
app/templates/admin_avaliacao_curso.html
... ... @@ -1,101 +0,0 @@
1   -{% extends "admin_index.html" %}
2   -
3   -{% block content %}
4   - {% load static %}
5   - <div id="pTitle" class="pTitle">
6   - <h2>Avaliações do Curso</h2>
7   - </div>
8   - <div id="pBreadCrumbs" class="pBreadCrumbs">
9   - <ul id="breadcrumb">
10   - <li><a href="{% url 'index' %}">Página Inicial</a></li>
11   - <li><a href="{% url 'dados_curso' %}">Curso01</a></li>
12   - <li>Avaliações do Curso</li>
13   - </ul>
14   - </div>
15   - <div id="pLeftMenu" class="pLeftMenu">
16   -
17   - <!--
18   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
19   -
20   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
21   -
22   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
23   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
24   -
25   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
26   -
27   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
28   --->
29   -
30   -
31   -
32   -
33   -
34   -
35   -<div id="side_menu_1">
36   - <ul id="menu_sessoes">
37   -
38   - <li><a href="{% url 'dados_curso' %}">Dados do Curso</a></li>
39   -
40   -
41   -
42   - <li><a href="{% url 'modulos_curso' %}">Visualizar Módulos</a></li>
43   -
44   -
45   -
46   - <li><a href="{% url 'participantes_curso' %}">Participantes</a></li>
47   -
48   -
49   - <li><b>Avaliações do Curso</b></li>
50   -
51   -
52   -
53   -
54   - <li><a href="#" onclick="replicateCourse(14);">Replicar Curso</a></li>
55   -
56   -
57   -
58   - <li><a href="{% url 'criar_curso' %}">Criar Curso</a></li>
59   -
60   -
61   -
62   - <li><a href="{% url 'editar_curso' %}">Editar Curso</a></li>
63   -
64   -
65   -
66   - <li><a href="#" onclick="deleteCourse(14);">Remover Curso</a></li>
67   -
68   -
69   -
70   - </ul>
71   -</div>
72   - </div>
73   - <div id="pContent" class="pContent2">
74   - <div style="overflow-x: scroll; min-height: 400px;">
75   -
76   -
77   -
78   -
79   -
80   -
81   -
82   -
83   - <div style="width: 250px; float: left;">&nbsp;</div>
84   - <div style="width: 250px; padding: 5px 5px 5px 5px; background-color: #fbfbfb; border-color: #f0f0f0; border-style: solid; border-width: 1px 1px 1px 1px; float: left;"><label class="labelAttribute">Atividade01</label></div>
85   - <div style="width: 250px;">
86   - <div style="padding-left: 10px; width: 140px; float: left;">Aluno</div>
87   -
88   - <div style="width: 100px; float: left; text-align: center; overflow: hidden;">Questionário 01</div>
89   -
90   -
91   - <!-- <div style="width: 100px; float: left; text-align: center; overflow: hidden;">Média</div> -->
92   -
93   - </div>
94   -
95   -
96   -
97   -
98   -
99   - </div>
100   - </div>
101   -{% endblock %}
102 0 \ No newline at end of file
app/templates/admin_colegas_curso.html
... ... @@ -1,81 +0,0 @@
1   -{% extends "admin_index.html" %}
2   -
3   -{% block content %}
4   - {% load static %}
5   - <div id="pTitle" class="pTitle">
6   - <h2>Colegas de Sala</h2>
7   - </div>
8   - <div id="pBreadCrumbs" class="pBreadCrumbs">
9   - <ul id="breadcrumb">
10   - <li><a href="{% url 'index' %}">Página Inicial</a></li>
11   - <li>Colegas de Sala</li>
12   - </ul>
13   - </div>
14   - <div id="pLeftMenu" class="pLeftMenu">
15   - <div id="side_menu_1">
16   - <ul id="menu_sessoes">
17   - <li>
18   - <a href="{% url 'profile' %}"><img src="{% static 'imgs/menu/user-info-16x16.png' %}" border="0" title="Meu Perfil" />&nbsp;Meu Perfil</a>
19   - </li>
20   - <li>
21   - <a href="{% url 'editar_profile' %}">
22   - <img src="{% static 'imgs/menu/user-edit-16x16.png' %}" border="0" title="Editar Perfil" />&nbsp;Editar Perfil
23   - </a>
24   - </li>
25   - <li>
26   - <a href="{% url 'alterar_senha' %}"><img src="{% static 'imgs/menu/user-password-16x16.png' %}" border="0" title="Trocar Senha" />&nbsp;Trocar Senha</a>
27   - </li>
28   -
29   - <li><img src="{% static 'imgs/menu/user-group-16x16.png' %}" border="0" title="Colegas de Sala" />&nbsp;<b>Colegas de Sala</b></li>
30   - <li>
31   - <a href="/amadeuslms/openIDActions.do?method=showViewManagerOpenIDs"><img src="{% static 'imgs/menu/openid.png' %}" border="0" title="Google Account"/>&nbsp;Google Account</a>
32   - </li>
33   - </ul>
34   - </div>
35   - </div>
36   - <div id="pContent" class="pContent">
37   -
38   - <div class="containerTitle">
39   - <label class="labelAttribute"><a href="{% url 'dados_curso' %}">Curso01</a></label>
40   - </div>
41   -
42   -
43   - Nada encontrado para exibir.
44   - <br />
45   -
46   - <div class="containerTitle">
47   - <label class="labelAttribute"><a href="{% url 'dados_curso' %}">Python</a></label>
48   - </div>
49   -
50   -
51   - Nada encontrado para exibir.
52   - <br />
53   -
54   - <div class="containerTitle">
55   - <label class="labelAttribute"><a href="{% url 'dados_curso' %}">Curso Amadeus - Toscano</a></label>
56   - </div>
57   -
58   -
59   -
60   -<table class="displaytag" id="participant">
61   -<tbody>
62   -<tr class="odd">
63   -<td>
64   -
65   -
66   - <a href="{% url 'profile' %}"><div class="smallPicture">
67   - <img class="smallPhoto" src="user.do?method=showPhoto&id=107" />
68   - </div></a>
69   -
70   -
71   - <label id="userStatus107" class="offlineUser" title="">&nbsp;</label>
72   - Julio Jose de Oliveira Ribeiro Toscano de Brito
73   - <br /><br />
74   - <font class="smallPictureEmail">jjortb@cin.ufpe.br</font>
75   - <script type="text/javascript">userStatus(107);</script>
76   - </td></tr></tbody></table>
77   - <br />
78   -
79   - </div>
80   - <div id="pRightMenu" class="pRightMenu"></div>
81   -{% endblock %}
82 0 \ No newline at end of file
app/templates/admin_config.html
... ... @@ -1,189 +0,0 @@
1   -{% extends "admin_index.html" %}
2   -
3   -{% block content %}
4   - {% load static %}
5   - <div id="pTitle" class="pTitle">
6   - <h2>Configurações do Sistema</h2>
7   - </div>
8   - <div id="pBreadCrumbs" class="pBreadCrumbs">
9   - <ul id="breadcrumb">
10   - <li><a href="{% url 'index' %}">Página Inicial</a></li>
11   - <li>Configurações do Sistema</li>
12   - </ul>
13   - </div>
14   - <div id="pLeftMenu" class="pLeftMenu">
15   - <div id="side_menu_1">
16   - <ul id="menu_sessoes">
17   - <li>
18   - <a href="{% url 'mobile' %}"><img border="0" src="{% static 'imgs/menu/mobile.png' %}" />&nbsp;Mobile</a>
19   - </li>
20   - <li>
21   - <img src="{% static 'imgs/menu/web.png' %}"/>&nbsp;<b>Web</b>
22   - </li>
23   - </ul>
24   - </div>
25   - </div>
26   - <div id="pContent" class="pContent2">
27   - <div id="infoMessage" class="msgBoxSuccess" style="display: none;"></div>
28   - <div id="tabs">
29   - <ul>
30   - <li><a href="#system">Sistema</a></li>
31   - <li><a href="#mailSender">Mail Sender</a></li>
32   - <li><a href="#security">Segurança</a></li>
33   - </ul>
34   - <div id="system">
35   - <!--
36   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
37   -
38   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
39   -
40   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
41   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
42   -
43   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
44   -
45   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
46   --->
47   -
48   -
49   -
50   -
51   -<div class="lineSettings"><strong>Geral</strong></div>
52   -<div class="hrDiv"></div>
53   -<div class="lineSettings">
54   - <label class="labelAttribute">Versão:</label>
55   - <label class="labelValue">00.95.00</label>
56   -</div>
57   -<div class="lineSettings">
58   - <label class="labelAttribute">Língua:</label>
59   - <label class="labelValue">Português-Brasil</label>
60   -</div>
61   -<div class="lineSettings">
62   - <label class="labelAttribute">Encoding:</label>
63   - <label class="labelValue">UTF-8</label>
64   -</div>
65   -<div class="line"></div>
66   -<div class="lineSettings"><strong>Temas</strong></div>
67   -<div class="hrDiv"></div>
68   - </div>
69   - <div id="mailSender">
70   - <!--
71   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
72   -
73   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
74   -
75   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
76   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
77   -
78   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
79   -
80   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
81   --->
82   -
83   -
84   -
85   -
86   -
87   -
88   -
89   -
90   -<script type="text/javascript">
91   -
92   -</script>
93   -
94   -<form id="formWebSettingMailSender">
95   -<div class="lineSettings"><strong>Servidor de envio (SMTP)</strong></div>
96   -<div class="hrDiv"></div>
97   -<fieldset>
98   - <legend><b>Configurações</b></legend>
99   - <table>
100   - <tr>
101   - <td align="right"><label class="labelAttribute">Descrição:</label></td>
102   - <td><input type="text" name="description" value="Conta de e-mail padrão" style="width: 250px;" /></td>
103   - </tr>
104   - <tr>
105   - <td align="right"><label class="labelAttribute">Servidor:</label></td>
106   - <td><input type="text" name="server" style="width: 250px;" value="smtp.gmail.com" /></td>
107   - </tr>
108   - <tr>
109   - <td align="right"><label class="labelAttribute">Porta:</label></td>
110   - <td><input type="text" name="port" style="width: 30px;" value="465" />&nbsp;&nbsp;<label class="labelAttribute">Padão:</label>25</td>
111   - </tr>
112   - </table>
113   -</fieldset>
114   -<div class="lineSettings">&nbsp;</div>
115   -<fieldset>
116   - <legend><b>Segurança e autenticação</b></legend>
117   - <table>
118   - <tr>
119   - <td style="text-align: right;"><label class="labelAttribute">Nome do usuário:</label></td>
120   - <td><input type="text" name="userName" value="projetoamadeus@gmail.com" style="width: 250px;"/></td>
121   - </tr>
122   - <tr>
123   - <td style="padding-left: 25px; text-align: right;"><label class="labelAttribute">Senha:</label></td>
124   - <td><input type="password" name="password" value="" /></td>
125   - </tr>
126   - <tr>
127   - <td colspan="2"><b>Usar conexão segura:</b></td>
128   - </tr>
129   - <tr>
130   - <td colspan="2" style="padding-left: 25px;">
131   -
132   - <input type="radio" class="radio" name="securityConnection" value="withoutSecurityConnection" />Não&nbsp;&nbsp;
133   - <input type="radio" class="radio" name="securityConnection" value="startTLSEnable" />TLS, se deisponível&nbsp;&nbsp;
134   - <input type="radio" class="radio" name="securityConnection" value="startTLSRequired" />TLS&nbsp;&nbsp;
135   - <input type="radio" class="radio" name="securityConnection" value="SSLEnable" checked="checked" />SSL
136   -
137   -
138   - </td>
139   - </tr>
140   - </table>
141   -</fieldset>
142   -<div class="lineBlank"></div>
143   -<div class="lineSettings">
144   - <input type="button" value="Salvar Modificações" onclick="saveWebMailSenderSettings();" />
145   -</div>
146   -</form>
147   - </div>
148   - <div id="security">
149   - <!--
150   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
151   -
152   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
153   -
154   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
155   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
156   -
157   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
158   -
159   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
160   --->
161   -
162   -
163   -
164   -
165   -
166   -
167   -
168   -
169   -
170   -<form id="formWebSecurity">
171   - <div class="lineSettings">
172   - <input type="checkbox" id="autoSigning" name="autoSigning"
173   - checked="checked"
174   - />
175   - &nbsp;<font color="#a30800"><b>Permitir que os usuários se auto-cadastrem.</b></font>
176   - </div>
177   - <div class="lineSettings">
178   - <input type="checkbox" id="" name="" />
179   - &nbsp;<font color="#a30800"><b>Colocar o sistema em modo de manutenção.</b></font>
180   - </div>
181   - <div class="lineBlank"></div>
182   - <div class="lineSettings">
183   - <input type="button" value="Salvar Modificações" onclick="saveWebSecuritySettings();" />
184   - </div>
185   -</form>
186   - </div>
187   - </div>
188   - </div>
189   -{% endblock %}
190 0 \ No newline at end of file
app/templates/admin_dados_user.html
... ... @@ -1,66 +0,0 @@
1   -{% extends "admin_index.html" %}
2   -
3   -{% block content %}
4   - {% load static %}
5   - <div id="pTitle" class="pTitle">
6   - <h2>Gerenciar Usuários</h2>
7   - </div>
8   - <div id="pBreadCrumbs" class="pBreadCrumbs">
9   - <ul id="breadcrumb">
10   - <li><a href="{% url 'index' %}">Página Inicial</a></li>
11   - <li><a href="{% url 'usuarios' %}">Gerenciar Usuários</a></li>
12   - <li>Perfil do Usuário</li>
13   - </ul>
14   - </div>
15   - <div id="pLeftMenu" class="pLeftMenu">
16   - <div id="side_menu_1">
17   - <ul id="menu_sessoes">
18   - <li><a href="{% url 'usuarios' %}"><img src="{% static 'imgs/menu/users-16x16.png' %}" border="0" title="Usuários do Sitema" />&nbsp;Usuários do Sistema</a></li>
19   - <li><b><img src="{% static 'imgs/menu/user-info-16x16.png' %}" title="Perfil do Usuário" />&nbsp;Perfil do Usuário</b></li>
20   - <li><a href="{% url 'criar_usuario' %}"><img src="{% static 'imgs/menu/user-16x16.png' %}" title="Nova Conta" />&nbsp;Nova Conta</a></li>
21   - <li><a href="{% url 'send_mail' %}"><img src="{% static 'imgs/menu/email-16x16.png' %}" border="0" title="Enviar E-mail" />&nbsp;Enviar Email</a></li>
22   - </ul>
23   - </div>
24   - </div>
25   - <div id="pContent" class="pContent">
26   - <table border="0" cellpadding="0" cellspacing="0" width="100%;">
27   - <tr align="right">
28   - <td colspan="2">
29   - <a href="{% url 'editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
30   - &nbsp;
31   - <a href="/amadeuslms/user.do?method=showViewSendMailInManagerUsers&to=admin@amadeus.org.br"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
32   - </td>
33   - </tr>
34   - <tr>
35   - <td style="width: 125px;">
36   - <div class="normalPicture">
37   - <img class="normalPhoto" src="user.do?method=showPhoto&id=5" />
38   - </div>
39   - </td>
40   - <td valign="top">
41   - <table border="0" cellpadding="0" cellspacing="0" width="100%;">
42   - <tr>
43   - <td style="width: 35px;" class="formAttribute">Status:</td>
44   - <td><label id="userStatus5" class="offlineUser" title="">&nbsp;</label></td>
45   - </tr>
46   - <tr><td colspan="2">&nbsp;</td></tr>
47   - <tr>
48   - <td class="formAttribute">Nome:</td>
49   - <td>Administrador</td>
50   - </tr>
51   - <tr><td colspan="2">&nbsp;</td></tr>
52   - <tr>
53   - <td class="formAttribute">Login:</td>
54   - <td>admin</td>
55   - </tr>
56   - <tr><td colspan="2">&nbsp;</td></tr>
57   - <tr>
58   - <td class="formAttribute">E-mail:</td>
59   - <td>admin@amadeus.org.br</td>
60   - </tr>
61   - </table>
62   - </td>
63   - </tr>
64   - </table>
65   - </div>
66   -{% endblock %}
67 0 \ No newline at end of file
app/templates/admin_edit_user.html
... ... @@ -1,329 +0,0 @@
1   -{% extends "admin_index.html" %}
2   -
3   -{% block content %}
4   - {% load static %}
5   - <div id="pTitle" class="pTitle">
6   - <h2>Gerenciar Usuários</h2>
7   - </div>
8   - <div id="pBreadCrumbs" class="pBreadCrumbs">
9   - <ul id="breadcrumb">
10   - <li><a href="{% url 'index' %}">Página Inicial</a></li>
11   - <li><a href="{% url 'usuarios' %}">Gerenciar Usuários</a></li>
12   - <li>Editar Perfil</li>
13   - </ul>
14   - </div>
15   - <div id="pLeftMenu" class="pLeftMenu">
16   - <div id="side_menu_1">
17   - <ul id="menu_sessoes">
18   - <li><a href="{% url 'usuarios' %}"><img src="{% static 'imgs/menu/users-16x16.png' %}" border="0" title="Usuários do Sistema" />&nbsp;Usuários do Sistema</a></li>
19   - <li><a href="{% url 'criar_usuario' %}"><img src="{% static 'imgs/menu/user-16x16.png' %}" title="Nova Conta" border="0" />&nbsp;Nova Conta</a></li>
20   - <li><b><img src="{% static 'imgs/menu/user-edit-16x16.png' %}" title="Editar Perfil" />&nbsp;Editar Perfil</b></li>
21   - <li><a href="{% url 'send_mail' %}"><img src="{% static 'imgs/menu/email-16x16.png' %}" border="0" title="Enviar E-mail" />&nbsp;Enviar E-mail</a></li>
22   - </ul>
23   - </div>
24   - </div>
25   - <div id="pContent" class="pContent">
26   -
27   - <form name="editUserFormInManagerUsers" method="post" action="/amadeuslms/editUserFormInManagerUsers.do" enctype="multipart/form-data">
28   - <input type="hidden" name="method" value="userNewInManagerUsers">
29   - <table border="0" cellpadding="0" cellspacing="0">
30   - <tr align="right">
31   - <td colspan="2">
32   - <a href="{% url 'dados_usuario' %}"><img border="0" src="{% static 'imgs/menu/user-info-16x16.png' %}" title="Perfil do Usuário" /></a>
33   - &nbsp;
34   - <a href="{% url 'send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
35   - </td>
36   - </tr>
37   - <tr>
38   - <td width="125px;">
39   - <div class="normalPicture">
40   - <img class="normalPhoto" src="user.do?method=showPhoto&id=5" />
41   - </div>
42   - </td>
43   - <td valign="top">
44   - <table border="0" cellpadding="0" cellspacing="0" width="100%;">
45   - <tr>
46   - <td style="width: 35px;" class="formAttribute">Status:</td>
47   - <td style="width: 100%;"><label id="userStatus5" class="offlineUser" title="">&nbsp;</label></td>
48   - </tr>
49   - <tr><td colspan="2">&nbsp;</td></tr>
50   - <tr>
51   - <td class="formAttribute">Login:</td>
52   - <td>admin</td>
53   - </tr>
54   - <tr><td colspan="2">&nbsp;</td></tr>
55   - <tr>
56   - <td class="formAttribute">Tipo:</td>
57   - <td>ADMIN</td>
58   - </tr>
59   - <tr><td colspan="2">&nbsp;</td></tr>
60   - <tr><td colspan="2">O Tipo e o Login não podem ser editados.</td></tr>
61   - </table>
62   - </td>
63   - </tr>
64   - <tr><td colspan="2"><input type="file" name="image" value=""></td></tr>
65   -
66   - <tr><td colspan="2">&nbsp;</td></tr>
67   - <tr>
68   - <td class="formAttribute">*Nome Completo:</td>
69   - <td><input type="text" name="name" value="Administrador" style="width: 100%;"></td>
70   - </tr>
71   - <tr>
72   - <td></td><td class="formDescription">Seu nome completo</td>
73   - </tr>
74   -
75   - <tr>
76   - <td class="formAttribute">*Senha:</td>
77   - <td><input type="password" name="password" value=""></td>
78   - </tr>
79   - <tr>
80   - <td></td><td class="formDescription">Sua senha (mínimo de 4 caracteres)</td>
81   - </tr>
82   -
83   - <tr>
84   - <td class="formAttribute">*E-mail:</td>
85   - <td><input type="text" name="email" value="admin@amadeus.org.br" style="width: 88%;">&nbsp;<img src="{% static 'imgs/menu/refresh-16x16.png' %}" style="cursor: pointer;" title="Verificar se o e-mail está disponível." onclick="verifyEmail(4, document.editUserFormInManagerUsers.email.value);" />
86   - <span id="emailResponse" class="emailResponseOK"></span>
87   - </td>
88   - </tr>
89   - <tr>
90   - <td></td><td class="formDescription">Seu endereço de e-mail (exemplo@mail.com)</td>
91   - </tr>
92   -
93   - <tr>
94   - <td class="formAttribute">CPF:</td>
95   - <td><input type="text" name="cpf" value="" style="width: 100px;" id="cpf"></td>
96   - </tr>
97   - <tr>
98   - <td></td><td class="formDescription">Seu número de CPF: 000.000.000-00</td>
99   - </tr>
100   -
101   - <tr>
102   - <td class="formAttribute" align="right">Número de telefone:</td>
103   - <td><input type="text" name="phoneNumber" value="" style="width: 95px;" id="phoneNumber"></td>
104   - </tr>
105   - <tr>
106   - <td></td><td class="formDescription">Seu número de telefone: (00)0000-0000</td>
107   - </tr>
108   -
109   - <tr>
110   - <td class="formAttribute">Sexo:</td>
111   - <td>
112   - <input type="radio" name="gender" value="M">
113   - Masculino
114   - <input type="radio" name="gender" value="F">
115   - Feminino
116   - </td>
117   - </tr>
118   - <tr>
119   - <td></td><td class="formDescription">&nbsp;</td>
120   - </tr>
121   -
122   - <tr>
123   - <td class="formAttribute">Data de Nascimento:</td>
124   - <td><input type="text" name="birthDate" value="" style="width: 80px;" class="birthDate" id="birthDate"></td>
125   - </tr>
126   - <tr>
127   - <td></td><td class="formDescription">Sua data de nascimento (dd/mm/aaaa)</td>
128   - </tr>
129   -
130   - <tr>
131   - <td class="formAttribute">Estado e Cidade:</td>
132   - <td>
133   - <select name="state"><option value=""></option>
134   - <option value="AC">AC</option>
135   - <option value="AL">AL</option>
136   - <option value="AM">AM</option>
137   - <option value="AP">AP</option>
138   - <option value="BA">BA</option>
139   - <option value="CE">CE</option>
140   - <option value="DF">DF</option>
141   - <option value="ES">ES</option>
142   - <option value="GO">GO</option>
143   - <option value="MA">MA</option>
144   - <option value="MG">MG</option>
145   - <option value="MS">MS</option>
146   - <option value="MT">MT</option>
147   - <option value="PA">PA</option>
148   - <option value="PB">PB</option>
149   - <option value="PE">PE</option>
150   - <option value="PI">PI</option>
151   - <option value="PR">PR</option>
152   - <option value="RJ">RJ</option>
153   - <option value="RN">RN</option>
154   - <option value="RO">RO</option>
155   - <option value="RR">RR</option>
156   - <option value="RS">RS</option>
157   - <option value="SC">SC</option>
158   - <option value="SE">SE</option>
159   - <option value="SP">SP</option>
160   - <option value="TO">TO</option></select> - <input type="text" name="city" value="">
161   - </td>
162   - </tr>
163   - <tr>
164   - <td></td><td class="formDescription">Seu estado e cidade</td>
165   - </tr>
166   -
167   - <tr>
168   - <td class="formAttribute">Titulação:</td>
169   - <td>
170   - <select name="degree"><option value="">Selecione sua titulação</option>
171   - <option value="degree1">1º grau</option>
172   - <option value="degree2">2º grau</option>
173   - <option value="degree3">3º grau</option>
174   - <option value="specialization">Especialização</option>
175   - <option value="master">Mestrado</option>
176   - <option value="phd">Doutorado</option>
177   - <option value="other">Outro</option></select>
178   - </td>
179   - </tr>
180   - <tr>
181   - <td></td><td class="formDescription">Sua Titulação</td>
182   - </tr>
183   -
184   - <tr>
185   - <td class="formAttribute">Ano:</td>
186   - <td>
187   - <select name="year"><option value=""></option>
188   - <option value="2016">2016</option>
189   - <option value="2015">2015</option>
190   - <option value="2014">2014</option>
191   - <option value="2013">2013</option>
192   - <option value="2012">2012</option>
193   - <option value="2011">2011</option>
194   - <option value="2010">2010</option>
195   - <option value="2009">2009</option>
196   - <option value="2008">2008</option>
197   - <option value="2007">2007</option>
198   - <option value="2006">2006</option>
199   - <option value="2005">2005</option>
200   - <option value="2004">2004</option>
201   - <option value="2003">2003</option>
202   - <option value="2002">2002</option>
203   - <option value="2001">2001</option>
204   - <option value="2000">2000</option>
205   - <option value="1999">1999</option>
206   - <option value="1998">1998</option>
207   - <option value="1997">1997</option>
208   - <option value="1996">1996</option>
209   - <option value="1995">1995</option>
210   - <option value="1994">1994</option>
211   - <option value="1993">1993</option>
212   - <option value="1992">1992</option>
213   - <option value="1991">1991</option>
214   - <option value="1990">1990</option>
215   - <option value="1989">1989</option>
216   - <option value="1988">1988</option>
217   - <option value="1987">1987</option>
218   - <option value="1986">1986</option>
219   - <option value="1985">1985</option>
220   - <option value="1984">1984</option>
221   - <option value="1983">1983</option>
222   - <option value="1982">1982</option>
223   - <option value="1981">1981</option>
224   - <option value="1980">1980</option>
225   - <option value="1979">1979</option>
226   - <option value="1978">1978</option>
227   - <option value="1977">1977</option>
228   - <option value="1976">1976</option>
229   - <option value="1975">1975</option>
230   - <option value="1974">1974</option>
231   - <option value="1973">1973</option>
232   - <option value="1972">1972</option>
233   - <option value="1971">1971</option>
234   - <option value="1970">1970</option>
235   - <option value="1969">1969</option>
236   - <option value="1968">1968</option>
237   - <option value="1967">1967</option>
238   - <option value="1966">1966</option>
239   - <option value="1965">1965</option>
240   - <option value="1964">1964</option>
241   - <option value="1963">1963</option>
242   - <option value="1962">1962</option>
243   - <option value="1961">1961</option>
244   - <option value="1960">1960</option>
245   - <option value="1959">1959</option>
246   - <option value="1958">1958</option>
247   - <option value="1957">1957</option>
248   - <option value="1956">1956</option>
249   - <option value="1955">1955</option>
250   - <option value="1954">1954</option>
251   - <option value="1953">1953</option>
252   - <option value="1952">1952</option>
253   - <option value="1951">1951</option>
254   - <option value="1950">1950</option>
255   - <option value="1949">1949</option>
256   - <option value="1948">1948</option>
257   - <option value="1947">1947</option>
258   - <option value="1946">1946</option>
259   - <option value="1945">1945</option>
260   - <option value="1944">1944</option>
261   - <option value="1943">1943</option>
262   - <option value="1942">1942</option>
263   - <option value="1941">1941</option>
264   - <option value="1940">1940</option>
265   - <option value="1939">1939</option>
266   - <option value="1938">1938</option>
267   - <option value="1937">1937</option>
268   - <option value="1936">1936</option>
269   - <option value="1935">1935</option>
270   - <option value="1934">1934</option>
271   - <option value="1933">1933</option>
272   - <option value="1932">1932</option>
273   - <option value="1931">1931</option>
274   - <option value="1930">1930</option>
275   - <option value="1929">1929</option>
276   - <option value="1928">1928</option>
277   - <option value="1927">1927</option>
278   - <option value="1926">1926</option>
279   - <option value="1925">1925</option>
280   - <option value="1924">1924</option>
281   - <option value="1923">1923</option>
282   - <option value="1922">1922</option>
283   - <option value="1921">1921</option>
284   - <option value="1920">1920</option>
285   - <option value="1919">1919</option>
286   - <option value="1918">1918</option>
287   - <option value="1917">1917</option>
288   - <option value="1916">1916</option></select>
289   - </td>
290   - </tr>
291   - <tr>
292   - <td></td><td class="formDescription">Ano de obtenção da titulação</td>
293   - </tr>
294   -
295   - <tr>
296   - <td class="formAttribute">Instituição:</td>
297   - <td><input type="text" name="instituition" value="" style="width: 100%;"></td>
298   - </tr>
299   - <tr>
300   - <td></td><td class="formDescription">Instituição onde você obteve sua titulação</td>
301   - </tr>
302   -
303   - <tr>
304   - <td class="formAttribute">Currículo:</td>
305   - <td><textarea name="description" style="width: 100%;"></textarea></td>
306   - </tr>
307   - <tr>
308   - <td></td><td class="formDescription">Descrição do Currículo</td>
309   - </tr>
310   - <tr>
311   - <td colspan="2" align="right"><input type="submit" name="insertUser" value="Cadastrar" class="button"></td>
312   - </tr>
313   - </table>
314   - </form>
315   -<script type="text/javascript" language="JavaScript">
316   - <!--
317   - var focusControl = document.forms["editUserFormInManagerUsers"].elements["name"];
318   -
319   - if (focusControl.type != "hidden" && !focusControl.disabled) {
320   - focusControl.focus();
321   - }
322   - // -->
323   -</script>
324   -
325   - </div>
326   - <div id="pRightMenu" class="pRightMenu">
327   -
328   - </div>
329   -{% endblock %}
330 0 \ No newline at end of file
app/templates/admin_editar_perfil.html
... ... @@ -1,319 +0,0 @@
1   -{% extends "admin_index.html" %}
2   -
3   -{% block content %}
4   - {% load static %}
5   - <div id="pTitle" class="pTitle">
6   - <h2>Editar Perfil</h2>
7   - </div>
8   - <div id="pBreadCrumbs" class="pBreadCrumbs">
9   - <ul id="breadcrumb">
10   - <li><a href="{% url 'index' %}">Página Inicial</a></li>
11   - <li>Editar Perfil</li>
12   - </ul>
13   - </div>
14   - <div id="pLeftMenu" class="pLeftMenu">
15   - <div id="side_menu_1">
16   - <ul id="menu_sessoes">
17   - <li>
18   - <a href="{% url 'profile' %}"><img src="{% static 'imgs/menu/user-info-16x16.png' %}" border="0" title="Meu Perfil" />&nbsp;Meu Perfil</a>
19   - </li>
20   - <li>
21   - <img src="{% static 'imgs/menu/user-edit-16x16.png' %}" border="0" title="Editar Perfil" />&nbsp;<b>Editar Perfil</b>
22   - </li>
23   - <li>
24   - <a href="{% url 'alterar_senha' %}"><img src="{% static 'imgs/menu/user-password-16x16.png' %}" border="0" title="Trocar Senha" />&nbsp;Trocar Senha</a>
25   - </li>
26   -
27   - <li>
28   - <a href="{% url 'colegas' %}"><img src="{% static 'imgs/menu/user-group-16x16.png' %}" border="0" title="Colegas de Sala" />&nbsp;Colegas de Sala</a>
29   - </li>
30   - <li>
31   - <a href="/amadeuslms/openIDActions.do?method=showViewManagerOpenIDs"><img src="{% static 'imgs/menu/openid.png' %}" border="0" title="Google Account"/>&nbsp;Google Account</a>
32   - </li>
33   - </ul>
34   - </div>
35   - </div>
36   - <div id="pContent" class="pContent">
37   -
38   - <form name="editUserForm" method="post" action="/amadeuslms/editUser.do" enctype="multipart/form-data">
39   - <input type="hidden" name="id" value="4">
40   - <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
41   - <tr>
42   - <td width="125px;">
43   - <div class="normalPicture">
44   - <img class="normalPhoto" src="user.do?method=showPhoto" />
45   - </div>
46   - </td>
47   - <td valign="top">
48   - <table border="0" cellpadding="0" cellspacing="0" width="100%;">
49   - <tr>
50   - <td></td>
51   - <td></td>
52   - </tr>
53   - </table>
54   - </td>
55   - </tr>
56   - <tr><td colspan="2"><input type="file" name="image" value=""></td></tr>
57   -
58   - <tr><td colspan="2">&nbsp;</td></tr>
59   - <tr>
60   - <td class="formAttribute">*Nome Completo:</td>
61   - <td>
62   - <input type="text" name="name" value="Administrador" style="width: 100%;">
63   - </td>
64   - </tr>
65   - <tr>
66   - <td></td><td class="formDescription">Seu nome completo</td>
67   - </tr>
68   -
69   - <tr>
70   - <td class="formAttribute">*CPF:</td>
71   - <td><input type="text" name="cpf" value="" style="width: 100px;" id="cpf"></td>
72   - </tr>
73   - <tr>
74   - <td></td><td class="formDescription">Seu número de CPF: 000.000.000-00</td>
75   - </tr>
76   -
77   - <tr>
78   - <td class="formAttribute">Número de telefone:</td>
79   - <td><input type="text" name="phoneNumber" value="" style="width: 95px;" id="phoneNumber"></td>
80   - </tr>
81   - <tr>
82   - <td></td><td class="formDescription">Seu número de telefone: (00)0000-0000</td>
83   - </tr>
84   -
85   - <tr>
86   - <td class="formAttribute">Sexo:</td>
87   - <td>
88   - <input type="radio" name="gender" value="M">
89   - Masculino
90   - <input type="radio" name="gender" value="F">
91   - Feminino
92   - </td>
93   - </tr>
94   - <tr>
95   - <td></td><td class="formDescription">&nbsp;</td>
96   - </tr>
97   -
98   - <tr>
99   - <td class="formAttribute">Data de Nascimento:</td>
100   - <td><input type="text" name="birthDate" value="" style="width: 80px;" class="birthDate" id="birthDate"></td>
101   - </tr>
102   - <tr>
103   - <td></td><td class="formDescription">Sua data de nascimento (dd/mm/aaaa)</td>
104   - </tr>
105   -
106   - <tr>
107   - <td class="formAttribute">*E-mail:</td>
108   - <td>
109   - <input type="text" name="email" value="admin@amadeus.org.br" style="width: 88%;">&nbsp;<img src="{% static 'imgs/menu/refresh-16x16.png' %}" style="cursor: pointer;" title="Verificar se o e-mail está disponível." onclick="verifyEmail(4, document.editUserForm.email.value);" />
110   - <span id="emailResponse" class="emailResponseOK"></span>
111   - </td>
112   - </tr>
113   - <tr>
114   - <td></td><td class="formDescription">Seu endereço de e-mail (exemplo@mail.com)</td>
115   - </tr>
116   -
117   - <tr>
118   - <td class="formAttribute">Estado e Cidade:</td>
119   - <td>
120   - <select name="state"><option value=""></option>
121   - <option value="AC">AC</option>
122   - <option value="AL">AL</option>
123   - <option value="AM">AM</option>
124   - <option value="AP">AP</option>
125   - <option value="BA">BA</option>
126   - <option value="CE">CE</option>
127   - <option value="DF">DF</option>
128   - <option value="ES">ES</option>
129   - <option value="GO">GO</option>
130   - <option value="MA">MA</option>
131   - <option value="MG">MG</option>
132   - <option value="MS">MS</option>
133   - <option value="MT">MT</option>
134   - <option value="PA">PA</option>
135   - <option value="PB">PB</option>
136   - <option value="PE">PE</option>
137   - <option value="PI">PI</option>
138   - <option value="PR">PR</option>
139   - <option value="RJ">RJ</option>
140   - <option value="RN">RN</option>
141   - <option value="RO">RO</option>
142   - <option value="RR">RR</option>
143   - <option value="RS">RS</option>
144   - <option value="SC">SC</option>
145   - <option value="SE">SE</option>
146   - <option value="SP">SP</option>
147   - <option value="TO">TO</option></select> - <input type="text" name="city" value="">
148   - </td>
149   - </tr>
150   - <tr>
151   - <td></td><td class="formDescription">Seu estado e cidade</td>
152   - </tr>
153   -
154   - <tr>
155   - <td class="formAttribute">Titulação:</td>
156   - <td>
157   - <select name="degree"><option value="" selected="selected">Selecione sua titulação</option>
158   - <option value="degree1">1º grau</option>
159   - <option value="degree2">2º grau</option>
160   - <option value="degree3">3º grau</option>
161   - <option value="specialization">Especialização</option>
162   - <option value="master">Mestrado</option>
163   - <option value="phd">Doutorado</option>
164   - <option value="other">Outro</option></select>
165   - </td>
166   - </tr>
167   - <tr>
168   - <td></td><td class="formDescription">Sua Titulação</td>
169   - </tr>
170   -
171   - <tr>
172   - <td class="formAttribute">Ano:</td>
173   - <td>
174   - <select name="year"><option value="" selected="selected"></option>
175   - <option value="2016">2016</option>
176   -<option value="2015">2015</option>
177   -<option value="2014">2014</option>
178   -<option value="2013">2013</option>
179   -<option value="2012">2012</option>
180   -<option value="2011">2011</option>
181   -<option value="2010">2010</option>
182   -<option value="2009">2009</option>
183   -<option value="2008">2008</option>
184   -<option value="2007">2007</option>
185   -<option value="2006">2006</option>
186   -<option value="2005">2005</option>
187   -<option value="2004">2004</option>
188   -<option value="2003">2003</option>
189   -<option value="2002">2002</option>
190   -<option value="2001">2001</option>
191   -<option value="2000">2000</option>
192   -<option value="1999">1999</option>
193   -<option value="1998">1998</option>
194   -<option value="1997">1997</option>
195   -<option value="1996">1996</option>
196   -<option value="1995">1995</option>
197   -<option value="1994">1994</option>
198   -<option value="1993">1993</option>
199   -<option value="1992">1992</option>
200   -<option value="1991">1991</option>
201   -<option value="1990">1990</option>
202   -<option value="1989">1989</option>
203   -<option value="1988">1988</option>
204   -<option value="1987">1987</option>
205   -<option value="1986">1986</option>
206   -<option value="1985">1985</option>
207   -<option value="1984">1984</option>
208   -<option value="1983">1983</option>
209   -<option value="1982">1982</option>
210   -<option value="1981">1981</option>
211   -<option value="1980">1980</option>
212   -<option value="1979">1979</option>
213   -<option value="1978">1978</option>
214   -<option value="1977">1977</option>
215   -<option value="1976">1976</option>
216   -<option value="1975">1975</option>
217   -<option value="1974">1974</option>
218   -<option value="1973">1973</option>
219   -<option value="1972">1972</option>
220   -<option value="1971">1971</option>
221   -<option value="1970">1970</option>
222   -<option value="1969">1969</option>
223   -<option value="1968">1968</option>
224   -<option value="1967">1967</option>
225   -<option value="1966">1966</option>
226   -<option value="1965">1965</option>
227   -<option value="1964">1964</option>
228   -<option value="1963">1963</option>
229   -<option value="1962">1962</option>
230   -<option value="1961">1961</option>
231   -<option value="1960">1960</option>
232   -<option value="1959">1959</option>
233   -<option value="1958">1958</option>
234   -<option value="1957">1957</option>
235   -<option value="1956">1956</option>
236   -<option value="1955">1955</option>
237   -<option value="1954">1954</option>
238   -<option value="1953">1953</option>
239   -<option value="1952">1952</option>
240   -<option value="1951">1951</option>
241   -<option value="1950">1950</option>
242   -<option value="1949">1949</option>
243   -<option value="1948">1948</option>
244   -<option value="1947">1947</option>
245   -<option value="1946">1946</option>
246   -<option value="1945">1945</option>
247   -<option value="1944">1944</option>
248   -<option value="1943">1943</option>
249   -<option value="1942">1942</option>
250   -<option value="1941">1941</option>
251   -<option value="1940">1940</option>
252   -<option value="1939">1939</option>
253   -<option value="1938">1938</option>
254   -<option value="1937">1937</option>
255   -<option value="1936">1936</option>
256   -<option value="1935">1935</option>
257   -<option value="1934">1934</option>
258   -<option value="1933">1933</option>
259   -<option value="1932">1932</option>
260   -<option value="1931">1931</option>
261   -<option value="1930">1930</option>
262   -<option value="1929">1929</option>
263   -<option value="1928">1928</option>
264   -<option value="1927">1927</option>
265   -<option value="1926">1926</option>
266   -<option value="1925">1925</option>
267   -<option value="1924">1924</option>
268   -<option value="1923">1923</option>
269   -<option value="1922">1922</option>
270   -<option value="1921">1921</option>
271   -<option value="1920">1920</option>
272   -<option value="1919">1919</option>
273   -<option value="1918">1918</option>
274   -<option value="1917">1917</option>
275   -<option value="1916">1916</option></select>
276   - </td>
277   - </tr>
278   - <tr>
279   - <td></td><td class="formDescription">Ano de obtenção da titulação</td>
280   - </tr>
281   -
282   - <tr>
283   - <td class="formAttribute">Instituição:</td>
284   - <td><input type="text" name="instituition" value="" style="width: 100%;"></td>
285   - </tr>
286   - <tr>
287   - <td></td><td class="formDescription">Instituição onde você obteve sua titulação</td>
288   - </tr>
289   -
290   - <tr>
291   - <td class="formAttribute">Currículo:</td>
292   - <td><textarea name="description" style="width: 100%;"></textarea></td>
293   - </tr>
294   - <tr>
295   - <td></td><td class="formDescription">Descrição do Currículo</td>
296   - </tr>
297   - <tr>
298   - <td colspan="2" align="right">
299   - <input type="submit" name="editUser" value="Salvar" class="button">
300   - <input type="submit" name="editUser" value="Cancelar" class="button">
301   - </td>
302   - </tr>
303   - </table>
304   - </form>
305   -<script type="text/javascript" language="JavaScript">
306   - <!--
307   - var focusControl = document.forms["editUserForm"].elements["name"];
308   -
309   - if (focusControl.type != "hidden" && !focusControl.disabled) {
310   - focusControl.focus();
311   - }
312   - // -->
313   -</script>
314   -
315   - </div>
316   - <div id="pRightMenu" class="pRightMenu">
317   -
318   - </div>
319   -{% endblock %}
320 0 \ No newline at end of file
app/templates/admin_index.html
... ... @@ -1,241 +0,0 @@
1   -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2   -
3   -{% load static %}
4   -
5   -<html>
6   -<head>
7   - <title>Projeto Amadeus</title>
8   -
9   - <meta http-equiv="Cache-Control" content="no-cache, no-store" />
10   -
11   - <link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet" type="text/css" />
12   - <link href="{% static 'css/amadeus.css' %}" rel="stylesheet" type="text/css" />
13   - <link href="{% static 'imgs/favicon.ico' %}" rel="shortcut icon" />
14   -
15   - <script type="text/javascript" src="{% static 'js/jquery.js' %}"></script>
16   -
17   -</head>
18   -<body>
19   - <nav class="navbar navbar-inverse">
20   - <div class="container">
21   - <div class="navbar-header">
22   - <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
23   - <span class="sr-only">Toggle navigation</span>
24   - <span class="icon-bar"></span>
25   - <span class="icon-bar"></span>
26   - <span class="icon-bar"></span>
27   - </button>
28   - <a class="navbar-brand" href="#">
29   - <img alt="Brand" src="{% static 'imgs/amadeus.png' %}" /> Projeto Amadeus
30   - </a>
31   - </div>
32   - <div id="navbar" class="collapse navbar-collapse pull-right">
33   - <ul class="nav navbar-nav">
34   - <li class="active">
35   - <a href="#">Home</a>
36   - </li>
37   - <li><a href="#contact">O Projeto</a></li>
38   - <li><a href="#contact">Grupo CCTE</a></li>
39   - <li class="divider-vertical"></li>
40   - <li class="dropdown">
41   - <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Olá, Administrador <span class="caret"></span></a>
42   - <ul class="dropdown-menu">
43   - <li><a href="#">Visualizar Perfil</a></li>
44   - <li><a href="#about">Configurações</a></li>
45   - <li><a href="#">Sair</a></li>
46   - </ul>
47   - </li>
48   - </ul>
49   - </div>
50   - </div>
51   - </nav>
52   - <div class="container">
53   - <div class="row">
54   - <div class="col-sm-4">
55   - <h4>Você tem: </h4>
56   - <div class="list-group">
57   - <a href="#" class="list-group-item">
58   - <span class="badge">4</span>
59   - Tarefas Pendentes
60   - </a>
61   - <a href="#" class="list-group-item">
62   - <span class="badge">0</span>
63   - Usuários Online
64   - </a>
65   - </div>
66   -
67   - <hr />
68   -
69   - <h4>Você pode:</h4>
70   - <div class="list-group">
71   - <a href="" class="list-group-item">
72   - Criar Curso
73   - </a>
74   - <a href="" class="list-group-item">
75   - Gerenciar Usuários
76   - </a>
77   - <a href="" class="list-group-item">
78   - Gerenciar Cursos
79   - </a>
80   - <a href="" class="list-group-item">
81   - Gerenciar Categorias
82   - </a>
83   - </div>
84   -
85   - <hr />
86   -
87   - <h4>Seu(s) curso(s):</h4>
88   - <div class="list-group">
89   - <a href="" class="list-group-item">
90   - Curso01
91   - </a>
92   - <a href="" class="list-group-item">
93   - Python
94   - </a>
95   - <a href="" class="list-group-item">
96   - Curso Amadeus - Toscano
97   - </a>
98   - </div>
99   - </div>
100   - <div class="col-sm-8">
101   - <div class="row">
102   - <div class="col-sm-12">
103   - <form class="form-horizontal" method="post">
104   - <div class="col-sm-10">
105   - <div class="form-group">
106   - <label for="search_keyword" class="control-label col-sm-3">Buscar um curso: </label>
107   - <div class="col-sm-9">
108   - <input type="text" class="form-control input-sm" id="search_keyword" />
109   - </div>
110   - </div>
111   - </div>
112   - <button type="submit" class="btn btn-sm btn-success">Buscar</button>
113   - </form>
114   -
115   - <hr />
116   -
117   - <h5>Palavras-chave mais populares:</h5>
118   - <div class="well">
119   - <center>
120   - <ul class="cloud">
121   - <li>
122   - <a href="">
123   - teste amadeus prospb
124   - </a>
125   - </li>
126   - <li>
127   - <a href="">
128   - programação fácil
129   - </a>
130   - </li>
131   - <li>
132   - <a href="">
133   - intermediário
134   - </a>
135   - </li>
136   - <li>
137   - <a href="">
138   - amadeus
139   - </a>
140   - </li>
141   - <li>
142   - <a href="">
143   - palavra02
144   - </a>
145   - </li>
146   - <li>
147   - <a href="">
148   - programação para iniciantes
149   - </a>
150   - </li>
151   - <li>
152   - <a href="">
153   - django
154   - </a>
155   - </li>
156   - <li>
157   - <a href="">
158   - aluno teste
159   - </a>
160   - </li>
161   - <li>
162   - <a href="">
163   - curso0101
164   - </a>
165   - </li>
166   - <li>
167   - <a href="">
168   - kjsdnksa
169   - </a>
170   - </li>
171   - <li>
172   - <a href="">
173   - palavra01
174   - </a>
175   - </li>
176   - <li>
177   - <a href="">
178   - programming
179   - </a>
180   - </li>
181   - <li>
182   - <a href="">
183   - python
184   - </a>
185   - </li>
186   - <li>
187   - <a href="">
188   - curso
189   - </a>
190   - </li>
191   - <li>
192   - <a href="">
193   - mvc
194   - </a>
195   - </li>
196   - <li>
197   - <a href="">
198   - programação web
199   - </a>
200   - </li>
201   - <li>
202   - <a href="">
203   - ionic
204   - </a>
205   - </li>
206   - <li>
207   - <a href="">
208   - framework
209   - </a>
210   - </li>
211   - <li>
212   - <a href="">
213   - web
214   - </a>
215   - </li>
216   - <li>
217   - <a href="">
218   - android
219   - </a>
220   - </li>
221   - <li>
222   - <a href="">
223   - programação
224   - </a>
225   - </li>
226   - </ul>
227   - </center>
228   - </div>
229   - </div>
230   - </div>
231   - </div>
232   - </div>
233   - </div>
234   -
235   - <div class="well well-sm footer">
236   - &copy; Copyright Amadeus 2016. Todos os direitos reservados
237   - </div>
238   -
239   - <script type="text/javascript" src="{% static 'js/bootstrap.min.js' %}"></script>
240   -</body>
241   -</html>
242 0 \ No newline at end of file
app/templates/admin_modulos_curso.html
... ... @@ -1,397 +0,0 @@
1   -{% extends "admin_index.html" %}
2   -
3   -{% block content %}
4   - {% load static %}
5   - <div id="pTitle" class="pTitle">
6   - <h2>Gestão de Conteúdo</h2>
7   - </div>
8   - <div id="pBreadCrumbs" class="pBreadCrumbs">
9   - <ul id="breadcrumb">
10   - <li><a href="{% url 'index' %}">Página Inicial</a></li>
11   - <li><a href="{% url 'dados_curso' %}">Curso01</a></li>
12   - <li>Módulos</li>
13   - </ul>
14   - </div>
15   - <div id="pLeftMenu" class="pLeftMenu">
16   -
17   - <!--
18   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
19   -
20   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
21   -
22   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
23   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
24   -
25   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
26   -
27   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
28   --->
29   -
30   -
31   -
32   -
33   -
34   -
35   -<div id="side_menu_1">
36   - <ul id="menu_sessoes">
37   -
38   - <li><a href="{% url 'dados_curso' %}">Dados do Curso</a></li>
39   -
40   -
41   - <li><b>Visualizar Módulos</b></li>
42   -
43   -
44   -
45   -
46   - <li><a href="{% url 'participantes_curso' %}">Participantes</a></li>
47   -
48   -
49   -
50   - <li><a href="{% url 'avaliacao_curso' %}">Avaliações do Curso</a></li>
51   -
52   -
53   -
54   - <li><a href="#" onclick="replicateCourse(14);">Replicar Curso</a></li>
55   -
56   -
57   -
58   - <li><a href="{% url 'criar_curso' %}">Criar Curso</a></li>
59   -
60   -
61   -
62   - <li><a href="{% url 'editar_curso' %}">Editar Curso</a></li>
63   -
64   -
65   -
66   - <li><a href="#" onclick="deleteCourse(14);">Remover Curso</a></li>
67   -
68   -
69   -
70   - </ul>
71   -</div>
72   - </div>
73   - <div id="pContent" class="pContent">
74   -
75   - <table border="0" cellpadding="0" cellspacing="0" width="100%;" style="margin-bottom: 10px;">
76   - <tr align="right">
77   - <td>
78   - <a href="{% url 'send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
79   - </td>
80   - </tr>
81   - </table>
82   -
83   - <div class="modAll">
84   - <div class="modBody">
85   - <div class="modTitle">Curso01</div>
86   - <div class="modTeachers">
87   - Professores:<br />
88   - <label id="userStatus5" class="offlineUser" title="">&nbsp;</label>&nbsp;Administrador.
89   - <script type="text/javascript">userStatus(5);</script>
90   - </div>
91   - <div class="modAssistants">
92   -
93   - </div>
94   - <div class="modData">
95   - Data de Início: 13/06/2016
96   - </div>
97   - <div class="modData">
98   - Data de Término: 12/08/2016
99   - </div>
100   - </div>
101   - <div id="form">
102   - <!--
103   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
104   -
105   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
106   -
107   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
108   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
109   -
110   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
111   -
112   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
113   --->
114   -
115   -
116   -
117   -
118   -
119   -
120   -
121   -
122   -
123   -
124   -
125   - <div id="module1" class="modBody">
126   -
127   - <!--
128   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
129   -
130   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
131   -
132   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
133   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
134   -
135   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
136   -
137   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
138   --->
139   -
140   -
141   -
142   -
143   -
144   -
145   -
146   -
147   -<table class="modAllTitle">
148   - <tr>
149   - <td class="modTitleName">
150   - <input type="hidden" name="id" value="18" id="idModule1">
151   - Atividade01
152   - </td>
153   - <td class="modTitleVisible">
154   -
155   -
156   - <span class="alert"> Invisível </span>
157   -
158   - </td>
159   - <td class="modTitlePosition">
160   - 1
161   - </td>
162   - </tr>
163   -</table>
164   -<div class="modLine">
165   - <b>Descrição do Módulo:</b>
166   -</div>
167   -<div class="modDescription">
168   - <PRE class="preMod">Descrição do módulo 01</PRE>
169   -</div>
170   -<div class="modLine">
171   - <table width="100%">
172   - <tr>
173   - <td class="headTab2" width="50%">Materiais</td>
174   - <td class="headTab2">Atividades</td>
175   - </tr>
176   - <tr valign="top">
177   - <td width="50%">
178   - <ul class="listActivitiesMaterials"
179   -
180   - id="materialsList1"
181   - >
182   -
183   -
184   - <li class='pdf'>
185   - <a href="/amadeuslms/showMaterial.do?method=showMaterial&idActivity=19&idModule=18">Tutorial Python</a>
186   - </li>
187   -
188   -
189   -
190   - </ul>
191   - </td>
192   - <td width="50%">
193   - <ul class="listActivitiesMaterials"
194   -
195   - id="activitiesList1"
196   - >
197   -
198   - <li class="forum">
199   - <a href="javascript:void(0)" onclick="showActivity(1,'forum',30)">Fórum</a>
200   - </li>
201   -
202   -
203   - <li class="pollItem">
204   -
205   -
206   -
207   -
208   -
209   -
210   -
211   - Quando teremos aulas?
212   -
213   -
214   - <br />
215   - <a href="javascript:void(0)" class="pollResults" onclick="viewResultsPoll(21,1)">
216   - Ver resultados
217   - </a>
218   - </li>
219   -
220   -
221   -
222   -
223   -
224   -
225   - <li class="evaluationItem">
226   - <a href="javascript:void(0)" onclick="showActivity(1,'evaluation',25)">
227   - Questionário 01
228   - </a>
229   - </li>
230   -
231   - </ul>
232   - </td>
233   - </tr>
234   - </table>
235   -</div>
236   -<div class="modLine">
237   - <!-- Este link deve ser obrigatoriamente igual da div abaixo para a ultilização do ajax na função showEditName do javascript managementModule.js -->
238   - <div id="editLink1" style="display: none;">
239   -
240   - <div class="lineRight">
241   - <a href="javascript:void(0)" onclick="editModule(18,1);">Editar</a>
242   - </div>
243   -
244   - </div>
245   - <div id="editOption1">
246   -
247   - <div class="lineRight">
248   - <a href="javascript:void(0)" onclick="editModule(18,1);">Editar</a>
249   - </div>
250   -
251   - </div>
252   -</div>
253   - </div>
254   -
255   -
256   -
257   -
258   - <div id="module2" class="modBody">
259   -
260   - <!--
261   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
262   -
263   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
264   -
265   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
266   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
267   -
268   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
269   -
270   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
271   --->
272   -
273   -
274   -
275   -
276   -
277   -
278   -
279   -
280   -<table class="modAllTitle">
281   - <tr>
282   - <td class="modTitleName">
283   - <input type="hidden" name="id" value="35" id="idModule2">
284   - Nome do M�dulo - 2
285   - </td>
286   - <td class="modTitleVisible">
287   -
288   - Visível
289   -
290   -
291   - </td>
292   - <td class="modTitlePosition">
293   - 2
294   - </td>
295   - </tr>
296   -</table>
297   -<div class="modLine">
298   - <b>Descrição do Módulo:</b>
299   -</div>
300   -<div class="modDescription">
301   - <PRE class="preMod">Descri��o</PRE>
302   -</div>
303   -<div class="modLine">
304   - <table width="100%">
305   - <tr>
306   - <td class="headTab2" width="50%">Materiais</td>
307   - <td class="headTab2">Atividades</td>
308   - </tr>
309   - <tr valign="top">
310   - <td width="50%">
311   - <ul class="listActivitiesMaterials"
312   -
313   - id="materialsList2"
314   - >
315   -
316   -
317   - </ul>
318   - </td>
319   - <td width="50%">
320   - <ul class="listActivitiesMaterials"
321   -
322   - id="activitiesList2"
323   - >
324   -
325   -
326   -
327   -
328   -
329   -
330   -
331   - </ul>
332   - </td>
333   - </tr>
334   - </table>
335   -</div>
336   -<div class="modLine">
337   - <!-- Este link deve ser obrigatoriamente igual da div abaixo para a ultilização do ajax na função showEditName do javascript managementModule.js -->
338   - <div id="editLink2" style="display: none;">
339   -
340   - <div class="lineRight">
341   - <a href="javascript:void(0)" onclick="editModule(35,2);">Editar</a>
342   - </div>
343   -
344   - </div>
345   - <div id="editOption2">
346   -
347   - <div class="lineRight">
348   - <a href="javascript:void(0)" onclick="editModule(35,2);">Editar</a>
349   - </div>
350   -
351   - </div>
352   -</div>
353   - </div>
354   -
355   -
356   -
357   -
358   -
359   - <!--
360   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
361   -
362   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
363   -
364   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
365   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
366   -
367   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
368   -
369   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
370   --->
371   -
372   -
373   -
374   -<div id="module3" class="modBody">
375   -<script type="text/javascript">
376   - function lfShowNewModule(idCourse, lastPositionModule) {
377   - showNewModule(idCourse, lastPositionModule,'<img border=0 src=themes/default/imgs/ajax-loader-activity.gif />&nbsp;Criando Módulo...');
378   - }
379   -</script>
380   -<table class="tableButton">
381   - <tbody>
382   - <tr>
383   - <td id="loading3" align="right">
384   - <a name="createNewModule" href="javascript:;" onclick="lfShowNewModule(14, 3);">
385   - Criar novo módulo
386   - </a>
387   - </td>
388   - </tr>
389   - </tbody>
390   -</table>
391   -</div>
392   -
393   - </div>
394   - </div>
395   - </div>
396   - <div id="pRightMenu" class="pRightMenu"></div>
397   -{% endblock %}
398 0 \ No newline at end of file
app/templates/admin_new_user.html
... ... @@ -1,318 +0,0 @@
1   -{% extends "admin_index.html" %}
2   -
3   -{% block content %}
4   - {% load static %}
5   - <div id="pTitle" class="pTitle">
6   - <h2>Gerenciar Usuários</h2>
7   - </div>
8   - <div id="pBreadCrumbs" class="pBreadCrumbs">
9   - <ul id="breadcrumb">
10   - <li><a href="{% url 'index' %}">Página Inicial</a></li>
11   - <li><a href="{% url 'usuarios' %}">Gerenciar Usuários</a></li>
12   - <li>Nova Conta</li>
13   - </ul>
14   - </div>
15   - <div id="pLeftMenu" class="pLeftMenu">
16   - <div id="side_menu_1">
17   - <ul id="menu_sessoes">
18   - <li><a href="{% url 'usuarios' %}"><img src="{% static 'imgs/menu/users-16x16.png' %}" border="0" title="Usuários do Sistema" />&nbsp;Usuários do Sistema</a></li>
19   - <li><b><img src="{% static 'imgs/menu/user-16x16.png' %}" title="Nova Conta" />&nbsp;Nova Conta</b></li>
20   - <li><a href="{% url 'send_mail' %}"><img src="{% static 'imgs/menu/email-16x16.png' %}" border="0" title="Enviar E-mail" />&nbsp;Enviar E-mail</a></li>
21   - </ul>
22   - </div>
23   - </div>
24   - <div id="pContent" class="pContent">
25   -
26   - <form name="userNewForm" method="post" action="/amadeuslms/userNewForm.do" enctype="multipart/form-data">
27   - <input type="hidden" name="method" value="userNewInManagerUsers">
28   - <table border="0" cellpadding="0" cellspacing="0">
29   - <tr>
30   - <td class="formAttribute">*Nome Completo:</td>
31   - <td><input type="text" name="name" value="" style="width: 100%;"></td>
32   - </tr>
33   - <tr>
34   - <td></td><td class="formDescription">Seu nome completo</td>
35   - </tr>
36   -
37   - <tr>
38   - <td class="formAttribute">*Tipo de Perfil:</td>
39   - <td>
40   - <select name="userType"><option value="" selected="selected">Tipo</option>
41   - <option value="ADMIN">Administrador</option>
42   - <option value="STUDENT">Aluno</option>
43   - <option value="PROFESSOR">Professor</option></select>
44   - </td>
45   - </tr>
46   - <tr>
47   - <td></td><td class="formDescription">Tipo (Administrador, Aluno, Professor)</td>
48   - </tr>
49   -
50   - <tr>
51   - <td class="formAttribute">*Login:</td>
52   - <td><input type="text" name="login" value="">&nbsp;<img src="{% static 'imgs/menu/refresh-16x16.png' %}" style="cursor: pointer;" title="Verificar se o login está disponível." /></td>
53   - </tr>
54   - <tr>
55   - <td></td><td class="formDescription">Seu login</td>
56   - </tr>
57   -
58   - <tr>
59   - <td class="formAttribute">*Senha:</td>
60   - <td><input type="password" name="password" value=""></td>
61   - </tr>
62   - <tr>
63   - <td></td><td class="formDescription">Sua senha (mínimo de 4 caracteres)</td>
64   - </tr>
65   -
66   - <tr>
67   - <td class="formAttribute">*E-mail:</td>
68   - <td><input type="text" name="email" value="" style="width: 85%;">&nbsp;<img src="{% static 'imgs/menu/refresh-16x16.png' %}" style="cursor: pointer;" title="Verificar se o e-mail está disponível." onclick="verifyEmail(0, document.userNewForm.email.value);" />
69   - <span id="emailResponse" class="emailResponseOK"></span></td>
70   - </tr>
71   - <tr>
72   - <td></td><td class="formDescription">Seu endereço de e-mail (exemplo@mail.com)</td>
73   - </tr>
74   -
75   - <tr>
76   - <td class="formAttribute">CPF:</td>
77   - <td><input type="text" name="cpf" value="" style="width: 100px;" id="cpf"></td>
78   - </tr>
79   - <tr>
80   - <td></td><td class="formDescription">Seu número de CPF: 000.000.000-00</td>
81   - </tr>
82   -
83   - <tr>
84   - <td class="formAttribute" align="right">Número de telefone:</td>
85   - <td><input type="text" name="phoneNumber" value="" style="width: 95px;" id="phoneNumber"> </td>
86   - </tr>
87   - <tr>
88   - <td></td><td class="formDescription">Seu número de telefone: (00)0000-0000</td>
89   - </tr>
90   -
91   - <tr>
92   - <td class="formAttribute">Sexo:</td>
93   - <td>
94   - <input type="radio" name="gender" value="M">
95   - Masculino
96   - <input type="radio" name="gender" value="F">
97   - Feminino
98   - </td>
99   - </tr>
100   - <tr>
101   - <td></td><td class="formDescription"> </td>
102   - </tr>
103   -
104   - <tr>
105   - <td class="formAttribute">Data de Nascimento:</td>
106   - <td><input type="text" name="birthDate" value="" style="width: 80px;" class="birthDate" id="birthDate"></td>
107   - </tr>
108   - <tr>
109   - <td></td><td class="formDescription">Sua data de nascimento (dd/mm/aaaa)</td>
110   - </tr>
111   -
112   - <tr>
113   - <td class="formAttribute">Estado e Cidade:</td>
114   - <td>
115   - <select name="state"><option value="" selected="selected"></option>
116   - <option value="AC">AC</option>
117   - <option value="AL">AL</option>
118   - <option value="AM">AM</option>
119   - <option value="AP">AP</option>
120   - <option value="BA">BA</option>
121   - <option value="CE">CE</option>
122   - <option value="DF">DF</option>
123   - <option value="ES">ES</option>
124   - <option value="GO">GO</option>
125   - <option value="MA">MA</option>
126   - <option value="MG">MG</option>
127   - <option value="MS">MS</option>
128   - <option value="MT">MT</option>
129   - <option value="PA">PA</option>
130   - <option value="PB">PB</option>
131   - <option value="PE">PE</option>
132   - <option value="PI">PI</option>
133   - <option value="PR">PR</option>
134   - <option value="RJ">RJ</option>
135   - <option value="RN">RN</option>
136   - <option value="RO">RO</option>
137   - <option value="RR">RR</option>
138   - <option value="RS">RS</option>
139   - <option value="SC">SC</option>
140   - <option value="SE">SE</option>
141   - <option value="SP">SP</option>
142   - <option value="TO">TO</option></select> - <input type="text" name="city" value="">
143   - </td>
144   - </tr>
145   - <tr>
146   - <td></td><td class="formDescription">Seu estado e cidade</td>
147   - </tr>
148   -
149   - <tr>
150   - <td class="formAttribute">Foto:</td>
151   - <td><input type="file" name="image" value=""></td>
152   - </tr>
153   - <tr>
154   - <td></td><td class="formDescription">Selecione uma imagem para ser sua foto</td>
155   - </tr>
156   -
157   - <tr>
158   - <td class="formAttribute">Titulação:</td>
159   - <td>
160   - <select name="degree"><option value="" selected="selected">Selecione sua titulação</option>
161   - <option value="degree1">1º grau</option>
162   - <option value="degree2">2º grau</option>
163   - <option value="degree3">3º grau</option>
164   - <option value="specialization">Especialização</option>
165   - <option value="master">Mestrado</option>
166   - <option value="phd">Doutorado</option>
167   - <option value="other">Outro</option></select>
168   - </td>
169   - </tr>
170   - <tr>
171   - <td></td><td class="formDescription">Sua Titulação</td>
172   - </tr>
173   -
174   - <tr>
175   - <td class="formAttribute">Ano:</td>
176   - <td>
177   - <select name="year"><option value="" selected="selected"></option>
178   - <option value="2016">2016</option>
179   - <option value="2015">2015</option>
180   - <option value="2014">2014</option>
181   - <option value="2013">2013</option>
182   - <option value="2012">2012</option>
183   - <option value="2011">2011</option>
184   - <option value="2010">2010</option>
185   - <option value="2009">2009</option>
186   - <option value="2008">2008</option>
187   - <option value="2007">2007</option>
188   - <option value="2006">2006</option>
189   - <option value="2005">2005</option>
190   - <option value="2004">2004</option>
191   - <option value="2003">2003</option>
192   - <option value="2002">2002</option>
193   - <option value="2001">2001</option>
194   - <option value="2000">2000</option>
195   - <option value="1999">1999</option>
196   - <option value="1998">1998</option>
197   - <option value="1997">1997</option>
198   - <option value="1996">1996</option>
199   - <option value="1995">1995</option>
200   - <option value="1994">1994</option>
201   - <option value="1993">1993</option>
202   - <option value="1992">1992</option>
203   - <option value="1991">1991</option>
204   - <option value="1990">1990</option>
205   - <option value="1989">1989</option>
206   - <option value="1988">1988</option>
207   - <option value="1987">1987</option>
208   - <option value="1986">1986</option>
209   - <option value="1985">1985</option>
210   - <option value="1984">1984</option>
211   - <option value="1983">1983</option>
212   - <option value="1982">1982</option>
213   - <option value="1981">1981</option>
214   - <option value="1980">1980</option>
215   - <option value="1979">1979</option>
216   - <option value="1978">1978</option>
217   - <option value="1977">1977</option>
218   - <option value="1976">1976</option>
219   - <option value="1975">1975</option>
220   - <option value="1974">1974</option>
221   - <option value="1973">1973</option>
222   - <option value="1972">1972</option>
223   - <option value="1971">1971</option>
224   - <option value="1970">1970</option>
225   - <option value="1969">1969</option>
226   - <option value="1968">1968</option>
227   - <option value="1967">1967</option>
228   - <option value="1966">1966</option>
229   - <option value="1965">1965</option>
230   - <option value="1964">1964</option>
231   - <option value="1963">1963</option>
232   - <option value="1962">1962</option>
233   - <option value="1961">1961</option>
234   - <option value="1960">1960</option>
235   - <option value="1959">1959</option>
236   - <option value="1958">1958</option>
237   - <option value="1957">1957</option>
238   - <option value="1956">1956</option>
239   - <option value="1955">1955</option>
240   - <option value="1954">1954</option>
241   - <option value="1953">1953</option>
242   - <option value="1952">1952</option>
243   - <option value="1951">1951</option>
244   - <option value="1950">1950</option>
245   - <option value="1949">1949</option>
246   - <option value="1948">1948</option>
247   - <option value="1947">1947</option>
248   - <option value="1946">1946</option>
249   - <option value="1945">1945</option>
250   - <option value="1944">1944</option>
251   - <option value="1943">1943</option>
252   - <option value="1942">1942</option>
253   - <option value="1941">1941</option>
254   - <option value="1940">1940</option>
255   - <option value="1939">1939</option>
256   - <option value="1938">1938</option>
257   - <option value="1937">1937</option>
258   - <option value="1936">1936</option>
259   - <option value="1935">1935</option>
260   - <option value="1934">1934</option>
261   - <option value="1933">1933</option>
262   - <option value="1932">1932</option>
263   - <option value="1931">1931</option>
264   - <option value="1930">1930</option>
265   - <option value="1929">1929</option>
266   - <option value="1928">1928</option>
267   - <option value="1927">1927</option>
268   - <option value="1926">1926</option>
269   - <option value="1925">1925</option>
270   - <option value="1924">1924</option>
271   - <option value="1923">1923</option>
272   - <option value="1922">1922</option>
273   - <option value="1921">1921</option>
274   - <option value="1920">1920</option>
275   - <option value="1919">1919</option>
276   - <option value="1918">1918</option>
277   - <option value="1917">1917</option>
278   - <option value="1916">1916</option></select>
279   - </td>
280   - </tr>
281   - <tr>
282   - <td></td><td class="formDescription">Ano de obtenção da titulação</td>
283   - </tr>
284   -
285   - <tr>
286   - <td class="formAttribute">Instituição:</td>
287   - <td><input type="text" name="instituition" value="" style="width: 100%;"></td>
288   - </tr>
289   - <tr>
290   - <td></td><td class="formDescription">Instituição onde você obteve sua titulação</td>
291   - </tr>
292   -
293   - <tr>
294   - <td class="formAttribute">Currículo:</td>
295   - <td><textarea name="description" style="width: 100%;"></textarea></td>
296   - </tr>
297   - <tr>
298   - <td></td><td class="formDescription">Descrição do Currículo</td>
299   - </tr>
300   - <tr>
301   - <td colspan="2" align="right"><input type="submit" name="insertUser" value="Cadastrar" class="button"></td>
302   - </tr>
303   - </table>
304   - </form>
305   - <script type="text/javascript" language="JavaScript">
306   - <!--
307   - var focusControl = document.forms["userNewForm"].elements["name"];
308   -
309   - if (focusControl.type != "hidden" && !focusControl.disabled) {
310   - focusControl.focus();
311   - }
312   - // -->
313   - </script>
314   -
315   - </div>
316   - <div id="pRightMenu" class="pRightMenu"></div>
317   -
318   -{% endblock %}
319 0 \ No newline at end of file
app/templates/admin_online.html
... ... @@ -1,70 +0,0 @@
1   -{% extends "admin_index.html" %}
2   -
3   -{% block content %}
4   - {% load static %}
5   - <div id="pTitle" class="pTitle">
6   - <h2>Usuários Online</h2>
7   - </div>
8   - <div id="pBreadCrumbs" class="pBreadCrumbs">
9   - <ul id="breadcrumb">
10   - <li><a href="{% url 'index' %}">Página Inicial</a></li>
11   - <li>Usuários Online</li>
12   - </ul>
13   - </div>
14   - <div id="pLeftMenu" class="pLeftMenu">
15   - <div id="side_menu_1">
16   - <ul id="menu_sessoes">
17   - <li><b>Usuários Online</b></li>
18   - <li><a href="{% url 'profile' %}">Meu Perfil</a></li>
19   - <li><a href="{% url 'editar_profile' %}">Editar Perfil</a></li>
20   - <li><a href="{% url 'alterar_senha' %}">Trocar Senha</a></li>
21   -
22   - <li><a href="{% url 'colegas' %}">Colegas de Sala</a></li>
23   -
24   - <li><a href="{% url 'criar_curso' %}">Criar Curso</a></li>
25   -
26   - <li>
27   - <a href="/amadeuslms/openIDActions.do?method=showViewManagerOpenIDs"><img src="{% static 'imgs/menu/openid.png' %}" style="vertical-align: middle;" border="0" title="OpenID" />&nbsp;Google Account</a>
28   - </li>
29   - </ul>
30   - </div>
31   - </div>
32   - <div id="pContent" class="pContent">
33   - <div class="line">
34   -
35   -<table class="displaytag" style="width: 100%;" id="onlineUser">
36   -<tbody>
37   -<tr class="odd">
38   -<td>
39   -
40   - <a href="{% url 'profile' %}"><div style="background-color:white; border:1px solid #D0D0D0; float:left; margin-right:0.7em; padding:2px;">
41   - <img src="user.do?method=showPhoto&id=82" height="30px" width="30px" border="0" />
42   - </div></a>
43   -
44   -
45   - <label id="userStatus82" class="offlineUser" title="">&nbsp;</label>
46   - jailson
47   - <br /><br />
48   - <font color="#888888">jailson.dias@citi.org.br</font>
49   - <script type="text/javascript">userStatus(82);</script>
50   - </td></tr>
51   -<tr class="even">
52   -<td>
53   -
54   - <a href="{% url 'profile' %}"><div style="background-color:white; border:1px solid #D0D0D0; float:left; margin-right:0.7em; padding:2px;">
55   - <img src="user.do?method=showPhoto&id=5" height="30px" width="30px" border="0" />
56   - </div></a>
57   -
58   -
59   - <label id="userStatus5" class="offlineUser" title="">&nbsp;</label>
60   - Administrador
61   - <br /><br />
62   - <font color="#888888">admin@amadeus.org.br</font>
63   - <script type="text/javascript">userStatus(5);</script>
64   - </td></tr></tbody></table><span class="pagebanner">2 itens encontrados, exibindo todos os itens.</span><span class="pagelinks"><strong>1</strong></span>
65   - </div>
66   - </div>
67   - <div id="pRightMenu" class="pRightMenu">
68   -
69   - </div>
70   -{% endblock %}
71 0 \ No newline at end of file
app/templates/admin_participantes_curso.html
... ... @@ -1,102 +0,0 @@
1   -{% extends "admin_index.html" %}
2   -
3   -{% block content %}
4   - {% load static %}
5   - <div id="pTitle" class="pTitle">
6   - <h2>Participantes</h2>
7   - </div>
8   - <div id="pBreadCrumbs" class="pBreadCrumbs">
9   - <ul id="breadcrumb">
10   - <li><a href="{% url 'index' %}">Página Inicial</a></li>
11   - <li><a href="{% url 'dados_curso' %}">Curso01</a></li>
12   - <li>Participantes</li>
13   - </ul>
14   - </div>
15   - <div id="pLeftMenu" class="pLeftMenu">
16   -
17   - <!--
18   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
19   -
20   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
21   -
22   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
23   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
24   -
25   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
26   -
27   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
28   --->
29   -
30   -
31   -
32   -
33   -
34   -
35   -<div id="side_menu_1">
36   - <ul id="menu_sessoes">
37   -
38   - <li><a href="{% url 'dados_curso' %}">Dados do Curso</a></li>
39   -
40   -
41   -
42   - <li><a href="{% url 'modulos_curso' %}">Visualizar Módulos</a></li>
43   -
44   -
45   - <li><b>Participantes</b></li>
46   -
47   -
48   -
49   -
50   - <li><a href="{% url 'avaliacao_curso' %}">Avaliações do Curso</a></li>
51   -
52   -
53   -
54   - <li><a href="#" onclick="replicateCourse(14);">Replicar Curso</a></li>
55   -
56   -
57   -
58   - <li><a href="{% url 'criar_curso' %}">Criar Curso</a></li>
59   -
60   -
61   -
62   - <li><a href="{% url 'editar_curso' %}">Editar Curso</a></li>
63   -
64   -
65   -
66   - <li><a href="#" onclick="deleteCourse(14);">Remover Curso</a></li>
67   -
68   -
69   -
70   - </ul>
71   -</div>
72   - </div>
73   - <div id="pContent" class="pContent">
74   -
75   - <div class="containerTitle">
76   - <label class="labelAttribute">Professores</label>
77   - </div>
78   -
79   -<table class="displaytag" id="teacher">
80   -<tbody>
81   -<tr class="odd">
82   -<td>
83   -
84   - <a href="{% url 'profile' %}"><div class="smallPicture">
85   - <img class="smallPhoto" src="user.do?method=showPhoto&id=5" />
86   - </div></a>
87   -
88   -
89   - <label id="userStatus5" class="offlineUser" title="">&nbsp;</label>
90   - Administrador
91   - <br /><br />
92   - <font class="smallPictureEmail">admin@amadeus.org.br</font>
93   - <script type="text/javascript">userStatus(5);</script>
94   - </td></tr></tbody></table>
95   - <br />
96   -
97   -
98   -
99   -
100   - </div>
101   - <div id="pRightMenu" class="pRightMenu"></div>
102   -{% endblock %}
103 0 \ No newline at end of file
app/templates/admin_profile.html
... ... @@ -1,139 +0,0 @@
1   -{% extends "admin_index.html" %}
2   -
3   -{% block content %}
4   - {% load static %}
5   - <div id="pTitle" class="pTitle">
6   -
7   - <h2>Meu Perfil</h2>
8   -
9   -
10   - </div>
11   - <div id="pBreadCrumbs" class="pBreadCrumbs">
12   - <ul id="breadcrumb">
13   - <li><a href="{% url 'index' %}">Página Inicial</a></li>
14   -
15   - <li>Meu Perfil</li>
16   -
17   -
18   - </ul>
19   - </div>
20   - <div id="pLeftMenu" class="pLeftMenu">
21   - <div id="side_menu_1">
22   - <ul id="menu_sessoes">
23   -
24   - <li><img src="{% static 'imgs/menu/user-info-16x16.png' %}" title="Meu Perfil" />&nbsp;<b>Meu Perfil</b></li>
25   - <li>
26   - <a href="{% url 'editar_profile' %}">
27   - <img src="{% static 'imgs/menu/user-edit-16x16.png' %}" border="0" title="Editar Perfil" />&nbsp;Editar Perfil
28   - </a>
29   - </li>
30   - <li>
31   - <a href="{% url 'alterar_senha' %}"><img src="{% static 'imgs/menu/user-password-16x16.png' %}" border="0" title="Trocar Senha" />&nbsp;Trocar Senha</a>
32   - </li>
33   -
34   - <li>
35   - <a href="{% url 'colegas' %}"><img src="{% static 'imgs/menu/user-group-16x16.png' %}" border="0" title="Colegas de Sala" />&nbsp;Colegas de Sala</a>
36   - </li>
37   - <li>
38   - <a href="/amadeuslms/openIDActions.do?method=showViewManagerOpenIDs"><img src="{% static 'imgs/menu/openid.png' %}" border="0" title="Google Account"/>&nbsp;Google Account</a>
39   - </li>
40   -
41   -
42   - </ul>
43   - </div>
44   - </div>
45   - <div id="pContent" class="pContent">
46   - <table border="0" cellpadding="0" cellspacing="0" width="100%;">
47   - <tr>
48   - <td style="width: 125px;">
49   - <div class="normalPicture">
50   - <img class="normalPhoto" src="user.do?method=showPhoto&id=5" />
51   - </div>
52   - </td>
53   - <td valign="top">
54   - <table border="0" cellpadding="0" cellspacing="0" width="100%;">
55   - <tr>
56   - <td style="width: 35px;" class="formAttribute">Status:</td>
57   - <td><label id="userStatus5" class="offlineUser" title="">&nbsp;</label></td>
58   - </tr>
59   - <tr><td colspan="2">&nbsp;</td></tr>
60   - <tr>
61   - <td class="formAttribute">Nome:</td>
62   - <td>Administrador</td>
63   - </tr>
64   - <tr><td colspan="2">&nbsp;</td></tr>
65   - <tr>
66   - <td class="formAttribute">E-mail:</td>
67   - <td>admin@amadeus.org.br</td>
68   - </tr>
69   -
70   - <tr><td colspan="2">&nbsp;</td></tr>
71   - <tr>
72   - <td class="formAttribute">CPF:</td>
73   - <td></td>
74   - </tr>
75   -
76   - </table>
77   - </td>
78   - </tr>
79   -
80   -
81   - <tr><td colspan="2">&nbsp;</td></tr>
82   - <tr>
83   - <td class="formAttribute" align="right">Número de telefone:</td>
84   - <td></td>
85   - </tr>
86   -
87   -
88   - <tr><td colspan="2">&nbsp;</td></tr>
89   - <tr>
90   - <td class="formAttribute">Sexo:</td>
91   - <td>
92   -
93   -
94   - </td>
95   - </tr>
96   -
97   - <tr><td colspan="2">&nbsp;</td></tr>
98   - <tr>
99   - <td class="formAttribute">Data de Nascimento:</td>
100   - <td></td>
101   - </tr>
102   -
103   - <tr><td colspan="2">&nbsp;</td></tr>
104   - <tr>
105   - <td class="formAttribute">Estado e Cidade:</td>
106   - <td> - </td>
107   - </tr>
108   -
109   - <tr><td colspan="2">&nbsp;</td></tr>
110   - <tr>
111   - <td class="formAttribute">Titulação:</td>
112   - <td>
113   -
114   - </td>
115   - </tr>
116   -
117   - <tr><td colspan="2">&nbsp;</td></tr>
118   - <tr>
119   - <td class="formAttribute">Ano:</td>
120   - <td></td>
121   - </tr>
122   -
123   - <tr><td colspan="2">&nbsp;</td></tr>
124   - <tr>
125   - <td class="formAttribute">Instituição:</td>
126   - <td></td>
127   - </tr>
128   -
129   - <tr><td colspan="2">&nbsp;</td></tr>
130   - <tr>
131   - <td class="formAttribute">Currículo:</td>
132   - <td></td>
133   - </tr>
134   - </table>
135   - </div>
136   - <div id="pRightMenu" class="pRightMenu">
137   -
138   - </div>
139   -{% endblock %}
140 0 \ No newline at end of file
app/templates/admin_reset_pass.html
... ... @@ -1,79 +0,0 @@
1   -{% extends "admin_index.html" %}
2   -
3   -{% block content %}
4   - {% load static %}
5   - <div id="pTitle" class="pTitle">
6   - <h2>Trocar Senha</h2>
7   - </div>
8   - <div id="pBreadCrumbs" class="pBreadCrumbs">
9   - <ul id="breadcrumb">
10   - <li><a href="{% url 'index' %}">Página Inicial</a></li>
11   - <li>Trocar Senha</li>
12   - </ul>
13   - </div>
14   - <div id="pLeftMenu" class="pLeftMenu">
15   - <div id="side_menu_1">
16   - <ul id="menu_sessoes">
17   - <li><a href="{% url 'profile' %}"><img src="{% static 'imgs/menu/user-info-16x16.png' %}" border="0" title="Meu Perfil" />&nbsp;Meu Perfil</a></li>
18   - <li><a href="{% url 'editar_profile' %}"><img src="{% static 'imgs/menu/user-edit-16x16.png' %}" border="0" title="Editar Perfil" />&nbsp;Editar Perfil</a></li>
19   - <li><img src="{% static 'imgs/menu/user-password-16x16.png' %}" border="0" title="Trocar Senha" />&nbsp;<b>Trocar Senha</b></li>
20   -
21   - <li><a href="{% url 'colegas' %}"><img src="{% static 'imgs/menu/user-group-16x16.png' %}" border="0" title="Colegas de Sala" />&nbsp;Colegas de Sala</a></li>
22   - <li><a href="/amadeuslms/openIDActions.do?method=showViewManagerOpenIDs"><img src="{% static 'imgs/menu/openid.png' %}" border="0" title="Google Account"/>&nbsp;Google Account</a></li>
23   - </ul>
24   - </div>
25   - </div>
26   - <div id="pContent" class="pContent">
27   -
28   -
29   -
30   -
31   - <form name="editPasswordForm" method="post" action="/amadeuslms/editPassword.do">
32   - <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
33   - <tr>
34   - <td class="formAttribute">*Senha atual:</td>
35   - <td>
36   - <input type="password" name="currentPassword" value="" style="width: 100%;">
37   - </td>
38   - </tr>
39   - <tr>
40   - <td></td><td class="formDescription">Sua senha atual</td>
41   - </tr>
42   -
43   - <tr>
44   - <td class="formAttribute">*Nova senha:</td>
45   - <td>
46   - <input type="password" name="newPassword" value="" style="width: 100%;">
47   - </td>
48   - </tr>
49   - <tr>
50   - <td></td><td class="formDescription">Sua nova senha. (Mínimo de 4 caracteres)</td>
51   - </tr>
52   -
53   - <tr>
54   - <td class="formAttribute">*Confirmação:</td>
55   - <td>
56   - <input type="password" name="newPasswordConfirmation" value="" style="width: 100%;">
57   - </td>
58   - </tr>
59   - <tr>
60   - <td></td><td class="formDescription">Confirme sua nova senha</td>
61   - </tr>
62   -
63   - <tr>
64   - <td></td><td align="right"><input type="submit" name="editPassword" value="Editar" class="button"></td>
65   - </tr>
66   - </table>
67   - </form>
68   -<script type="text/javascript" language="JavaScript">
69   - <!--
70   - var focusControl = document.forms["editPasswordForm"].elements["currentPassword"];
71   -
72   - if (focusControl.type != "hidden" && !focusControl.disabled) {
73   - focusControl.focus();
74   - }
75   - // -->
76   -</script>
77   -
78   - </div>
79   -{% endblock %}
80 0 \ No newline at end of file
app/templates/admin_search.html
... ... @@ -1,108 +0,0 @@
1   -{% extends "admin_index.html" %}
2   -
3   -{% block content %}
4   - {% load static %}
5   - <div id="page_title">
6   - <h2>Resultado da Busca</h2>
7   - </div>
8   - <div id="breadcrumbs">
9   - <ul id="breadcrumb">
10   - <li><a href="{% url 'index' %}">Página Inicial</a></li>
11   - <li>Lista de cursos relacionado a python</li>
12   - </ul>
13   - </div>
14   -
15   - <div id="side_menu">
16   - <div id="side_menu_1">
17   - <ul id="menu_sessoes">
18   - </ul>
19   - </div>
20   - </div>
21   - <div id="content">
22   - <dl>
23   - <dt> Existem 4 resultados para a busca por "python":</dt>
24   -
25   - <dt>Exibindo 1-4</dt>
26   -
27   - </dl>
28   - <ul id="resultbusca">
29   -
30   - <dl><dt>Cursos novos</dt></dl>
31   -
32   - <li><a href="{% url 'dados_curso' %}">Python</a></li>
33   - <a href="{% url 'profile' %}" >
34   -
35   - Administrador</a>
36   -
37   - ,0 alunos
38   -
39   -
40   -
41   -
42   -
43   - <dl><dt>Cursos no período de matrícula</dt></dl>
44   -
45   - <li><a href="{% url 'dados_curso' %}">Python Avançado</a></li>
46   - <a href="{% url 'profile' %}" >
47   -
48   - felipe henrique de almeida bormann</a>
49   -
50   - ,3 alunos
51   -
52   -
53   - <li><a href="{% url 'dados_curso' %}">Python na Web Com Django</a></li>
54   - <a href="{% url 'profile' %}" >
55   -
56   - Matheus de Souza Lins (Professor)</a>
57   -
58   - ,1 aluno
59   -
60   -
61   -
62   -
63   -
64   - <dl><dt>Cursos em andamento</dt></dl>
65   -
66   - <li><a href="{% url 'dados_curso' %}">Django</a></li>
67   - <a href="{% url 'profile' %}" >
68   -
69   - Professor Ailson</a>
70   -
71   - ,1 aluno
72   -
73   -
74   -
75   -
76   -
77   -
78   - </ul>
79   -
80   - <dl>
81   -
82   -
83   -
84   - </dl>
85   -
86   - <dl class="insert2">
87   -
88   - <form name="searchCourseForm" method="post" action="/amadeuslms/searchCourse.do">
89   - <dt>Buscar um curso:</dt>
90   - <dd class="field"><input type="text" name="courseName" value="python" class="formfield2"></dd>
91   - <dd class="description"></dd>
92   - <input type="text" style="display: none" /> <!-- necessário para bom funcionamento no IE -->
93   - <dt class="field"><a href="{% url 'search' %}" name="searchCourse" class="button">Buscar</a></dt>
94   - </form>
95   -<script type="text/javascript" language="JavaScript">
96   - <!--
97   - var focusControl = document.forms["searchCourseForm"].elements["courseName"];
98   -
99   - if (focusControl.type != "hidden" && !focusControl.disabled) {
100   - focusControl.focus();
101   - }
102   - // -->
103   -</script>
104   -
105   - </dl>
106   -
107   - </div>
108   -{% endblock %}
109 0 \ No newline at end of file
app/templates/admin_send_email.html
... ... @@ -1,97 +0,0 @@
1   -{% extends "admin_index.html" %}
2   -
3   -{% block content %}
4   - {% load static %}
5   - <div id="pTitle" class="pTitle">
6   - <h2>Gerenciar Usuários</h2>
7   - </div>
8   - <div id="pBreadCrumbs" class="pBreadCrumbs">
9   - <ul id="breadcrumb">
10   - <li><a href="{% url 'index' %}">Página Inicial</a></li>
11   - <li><a href="{% url 'usuarios' %}">Gerenciar Usuários</a></li>
12   - <li>Enviar Email</li>
13   - </ul>
14   - </div>
15   - <div id="pLeftMenu" class="pLeftMenu">
16   - <div id="side_menu_1">
17   - <ul id="menu_sessoes">
18   - <li><a href="{% url 'usuarios' %}"><img src="{% static 'imgs/menu/users-16x16.png' %}" border="0" title="Usuários do Sitema" />&nbsp;Usuários do Sistema</a></li>
19   - <li><a href="{% url 'criar_usuario' %}"><img src="{% static 'imgs/menu/user-16x16.png' %}" border="0" title="Nova Conta" />&nbsp;Nova Conta</a></li>
20   - <li><b><img src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" />&nbsp;Enviar Email</b></li>
21   - </ul>
22   - </div>
23   - </div>
24   - <div id="pContent" class="pContent2">
25   - <form id="formSendMail" name="formSendMail" action="user.do" method="post">
26   - <input type="hidden" name="method" value="sendMailInManagerUsers"/>
27   - <table width="100%" border="0" cellspacing="0">
28   - <tr><td>&nbsp;</td>
29   - <td><div id="infoMessage" class="msgBoxSuccess" style="display: none;"></div></td></tr>
30   - <tr>
31   - <td class="formAttribute">Para:</td>
32   - <td style="padding-bottom: 10px;">
33   - <input type="text" id="to" name="to" style="width: 435px;" value=""/>
34   - </td>
35   - </tr>
36   - <tr>
37   - <td>&nbsp;</td>
38   - <td style="padding-bottom: 10px;">
39   - &nbsp;Usuários:&nbsp;
40   - <select name="toUserType">
41   - <option value="-1"></option>
42   - <option value="0">Todos</option>
43   - <option value="1">Alunos</option>
44   - <option value="2">Administradores</option>
45   - <option value="3">Professores</option>
46   - </select>
47   - &nbsp;Cursos:&nbsp;
48   - <select name="toCourse" style="width:212px;">
49   - <option value="-1"></option>
50   -
51   - <option value="14">Curso01</option>
52   -
53   - <option value="42">Python</option>
54   -
55   - <option value="46">Python Avançado</option>
56   -
57   - <option value="88">ionic</option>
58   -
59   - <option value="92">Curso Amadeus - Toscano</option>
60   -
61   - <option value="115">Android</option>
62   -
63   - <option value="119">dszfsad</option>
64   -
65   - <option value="226">Python na Web Com Django</option>
66   -
67   - <option value="245">curso0101</option>
68   -
69   - <option value="264">Django</option>
70   -
71   - <option value="291">Amadeus 101</option>
72   -
73   - </select>
74   - </td>
75   - </tr>
76   - <tr>
77   - <td class="formAttribute">Assunto:</td>
78   - <td style="padding-bottom: 10px;"><input type="text" id="subject" name="subject" style="width: 435px;" value=""/></td>
79   - </tr>
80   - <tr>
81   - <td>&nbsp;</td>
82   - <td style="padding-top: 5px;">
83   - <textarea id="message" name="message" style="width: 100%; height: 300px;"></textarea>
84   - </td>
85   - </tr>
86   - <tr>
87   - <td height="40px;">&nbsp;</td>
88   - <td><input type="submit" value="Enviar" name="save"/></td>
89   - </tr>
90   - </table>
91   - <br />
92   - </form>
93   - </div>
94   - <div id="pRightMenu" class="pRightMenu">
95   -
96   - </div>
97   -{% endblock %}
98 0 \ No newline at end of file
app/templates/admin_tarefas.html
... ... @@ -1,111 +0,0 @@
1   -{% extends "admin_index.html" %}
2   -
3   -{% block content %}
4   - {% load static %}
5   - <div id="page_title">
6   - <h2>Tarefas Pendentes</h2>
7   - </div>
8   - <div id="breadcrumbs">
9   - <ul id="breadcrumb">
10   - <li><a href="{% url 'index' %}">Página Inicial</a></li>
11   - <li>Tarefas Pendentes</li>
12   - </ul>
13   - </div>
14   - <div id="side_menu">
15   - <div id="side_menu_1">
16   - <ul id="menu_sessoes">
17   - <li><a href="{% url 'profile' %}">Meu Perfil</a></li>
18   - <li><a href="{% url 'editar_profile' %}">Editar Perfil</a></li>
19   - <li><a href="{% url 'alterar_senha' %}">Trocar Senha</a></li>
20   - <li><a href="{% url 'colegas' %}">Colegas de Sala</a></li>
21   - </ul>
22   - </div>
23   - </div>
24   - <div id="content">
25   - <dl class="pendingTitle">Aprovar Docência</dl>
26   -
27   -
28   - <div id="request63" class="requestColapsed pinball-scoop">
29   - <a onclick="showDetails(63);" class="pinball-sinkhole"></a>
30   - Nome: Jailson Dias<br />
31   - <div id="reqInfo63" style="display: none">
32   - Titulação: degree1<br />
33   - Ano: 2014<br />
34   - Instituição: n nm m m<br />
35   - Interesses: sadfsdasdc<br />
36   - Currículo: vdvsdcvd<br />
37   - </div>
38   - <div id="reqJust63" style="display: none">
39   - Justificativa:<br />
40   - <textarea cols="32" id="reqJustification63"></textarea>
41   - </div>
42   - <div id="reqBtns63" style="display: none" class="moduleControl">
43   - <input type="button" id="reqBtnLeft63" value="Aprovar" onclick="lfApproveRequest(63);"/>
44   - <input type="button" id="reqBtnRight63" value="Reprovar" onclick="lfShowJustBox(63)"/>
45   - </div>
46   - </div>
47   -
48   - <div id="request69" class="requestColapsed pinball-scoop">
49   - <a onclick="showDetails(69);" class="pinball-sinkhole"></a>
50   - Nome: kjhkjlkb<br />
51   - <div id="reqInfo69" style="display: none">
52   - Titulação: degree1<br />
53   - Ano: 2014<br />
54   - Instituição: nkjkj<br />
55   - Interesses: hlknklnçkhgbkj<br />
56   - Currículo: kjlkjklkç<br />
57   - </div>
58   - <div id="reqJust69" style="display: none">
59   - Justificativa:<br />
60   - <textarea cols="32" id="reqJustification69"></textarea>
61   - </div>
62   - <div id="reqBtns69" style="display: none" class="moduleControl">
63   - <input type="button" id="reqBtnLeft69" value="Aprovar" onclick="lfApproveRequest(69);"/>
64   - <input type="button" id="reqBtnRight69" value="Reprovar" onclick="lfShowJustBox(69)"/>
65   - </div>
66   - </div>
67   -
68   - <div id="request79" class="requestColapsed pinball-scoop">
69   - <a onclick="showDetails(79);" class="pinball-sinkhole"></a>
70   - Nome: joao<br />
71   - <div id="reqInfo79" style="display: none">
72   - Titulação: phd<br />
73   - Ano: 2010<br />
74   - Instituição: UFPE<br />
75   - Interesses: Lencionar<br />
76   - Currículo: Doutor<br />
77   - </div>
78   - <div id="reqJust79" style="display: none">
79   - Justificativa:<br />
80   - <textarea cols="32" id="reqJustification79"></textarea>
81   - </div>
82   - <div id="reqBtns79" style="display: none" class="moduleControl">
83   - <input type="button" id="reqBtnLeft79" value="Aprovar" onclick="lfApproveRequest(79);"/>
84   - <input type="button" id="reqBtnRight79" value="Reprovar" onclick="lfShowJustBox(79)"/>
85   - </div>
86   - </div>
87   -
88   - <div id="request111" class="requestColapsed pinball-scoop">
89   - <a onclick="showDetails(111);" class="pinball-sinkhole"></a>
90   - Nome: <br />
91   - <div id="reqInfo111" style="display: none">
92   - Titulação: <br />
93   - Ano: <br />
94   - Instituição: <br />
95   - Interesses: Praticar<br />
96   - Currículo: <br />
97   - </div>
98   - <div id="reqJust111" style="display: none">
99   - Justificativa:<br />
100   - <textarea cols="32" id="reqJustification111"></textarea>
101   - </div>
102   - <div id="reqBtns111" style="display: none" class="moduleControl">
103   - <input type="button" id="reqBtnLeft111" value="Aprovar" onclick="lfApproveRequest(111);"/>
104   - <input type="button" id="reqBtnRight111" value="Reprovar" onclick="lfShowJustBox(111)"/>
105   - </div>
106   - </div>
107   -
108   -
109   -
110   - </div>
111   -{% endblock %}
112 0 \ No newline at end of file
app/templates/admin_users.html
... ... @@ -1,930 +0,0 @@
1   -{% extends "admin_index.html" %}
2   -
3   -{% block content %}
4   - {% load static %}
5   - <div id="pTitle" class="pTitle">
6   - <h2>Gerenciar Usuários</h2>
7   - </div>
8   - <div id="pBreadCrumbs" class="pBreadCrumbs">
9   - <ul id="breadcrumb">
10   - <li><a href="{% url 'app:index' %}">Página Inicial</a></li>
11   - <li><a href="{% url 'app:usuarios' %}">Gerenciar Usuários</a></li>
12   - <li>Usuários do Sistema</li>
13   - </ul>
14   - </div>
15   - <div id="pLeftMenu" class="pLeftMenu">
16   - <div id="side_menu_1">
17   - <ul id="menu_sessoes">
18   - <li><b><img src="{% static 'imgs/menu/users-16x16.png' %}" title="Usuários do Sitema" />&nbsp;Usuários do Sistema</b></li>
19   - <li><a href="{% url 'app:criar_usuario' %}"><img src="{% static 'imgs/menu/user-16x16.png' %}" title="Nova Conta" border="0" />&nbsp;Nova Conta</a></li>
20   - <li><a href="{% url 'app:send_mail' %}"><img src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" border="0" />&nbsp;Enviar Email</a></li>
21   - </ul>
22   - </div>
23   - </div>
24   - <div id="pContent" class="pContent">
25   - <div class="expansibleBoxTitle">
26   - <div class="expansibleBoxTitleCollLeft">
27   - <label class="labelAttribute">Pesquisa Avançada...</label>
28   - </div>
29   - <div id="advancedSearch" onclick="minusPlus('#advancedSearch','#divAdvancedSearch');" class="expansibleBoxTitleCollRight imgPlus"></div>
30   - </div>
31   - <div style="padding: 5px; border-color: #eeeeee; border-style: solid; border-width: 0px 1px 1px 1px; display: none;" id="divAdvancedSearch">
32   - <form action="managerUser.do" method="get">
33   - <input type="hidden" name="method" value="searchUsers"/>
34   - <table border="0" width="100%">
35   - <tr>
36   - <td align="right">
37   - <label class="labelAttribute">Nome:</label>
38   - </td>
39   - <td>
40   - <input name="userName" type="text" style="width: 220px;"/>
41   - </td>
42   - </tr>
43   - <tr>
44   - <td align="right">
45   - <label class="labelAttribute">Tipo de Usuário:</label>
46   - </td>
47   - <td>
48   - <select name="userType">
49   - <option value="-1">Todos</option>
50   - <option value="1">Aluno</option>
51   - <option value="2">Professor</option>
52   - <option value="0">Admin</option>
53   - </select>
54   - </td>
55   - </tr>
56   - <tr>
57   - <td colspan="2" align="right">
58   - <input type="submit" value="Pesquisar"/>
59   - </td>
60   - </tr>
61   - </table>
62   - </form>
63   - </div>
64   - <table class="displaytag" id="user">
65   - <tbody>
66   - <tr class="odd">
67   - <td>
68   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
69   - <tr>
70   - <td rowspan="3" width="30px" valign="top">
71   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
72   - <img class="smallPhoto" src="user.do?method=showPhoto&id=5" />
73   - </div></a>
74   - </td>
75   - <td width="100px">
76   - <label id="userStatus5" class="offlineUser" title="">&nbsp;</label>
77   - </td>
78   - <td colspan="2" align="right">
79   -
80   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
81   - &nbsp;
82   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
83   - &nbsp;
84   -
85   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=5"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
86   -
87   -
88   - </td>
89   - </tr>
90   - <tr>
91   - <td colspan="2" style="padding-left: 19px;">
92   - Administrador
93   - </td>
94   - <td width="45px" align="center">
95   - &nbsp;
96   - </td>
97   - </tr>
98   - <tr>
99   - <td colspan="2" style="padding-left: 19px;">
100   - <font class="smallPictureEmail">admin@amadeus.org.br</font>
101   - <script type="text/javascript">userStatus(5);</script>
102   - </td>
103   - <td width="45px" align="center">
104   - &nbsp;
105   - </td>
106   - </tr>
107   - </table>
108   - </td></tr>
109   -<tr class="even">
110   -<td>
111   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
112   - <tr>
113   - <td rowspan="3" width="30px" valign="top">
114   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
115   - <img class="smallPhoto" src="user.do?method=showPhoto&id=276" />
116   - </div></a>
117   - </td>
118   - <td width="100px">
119   - <label id="userStatus276" class="offlineUser" title="">&nbsp;</label>
120   - </td>
121   - <td colspan="2" align="right">
122   -
123   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
124   - &nbsp;
125   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
126   - &nbsp;
127   -
128   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=276"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
129   -
130   -
131   - </td>
132   - </tr>
133   - <tr>
134   - <td colspan="2" style="padding-left: 19px;">
135   - Ailson aluno
136   - </td>
137   - <td width="45px" align="center">
138   - &nbsp;
139   - </td>
140   - </tr>
141   - <tr>
142   - <td colspan="2" style="padding-left: 19px;">
143   - <font class="smallPictureEmail">ailson@gmail.com</font>
144   - <script type="text/javascript">userStatus(276);</script>
145   - </td>
146   - <td width="45px" align="center">
147   - &nbsp;
148   - </td>
149   - </tr>
150   - </table>
151   - </td></tr>
152   -<tr class="odd">
153   -<td>
154   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
155   - <tr>
156   - <td rowspan="3" width="30px" valign="top">
157   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
158   - <img class="smallPhoto" src="user.do?method=showPhoto&id=37" />
159   - </div></a>
160   - </td>
161   - <td width="100px">
162   - <label id="userStatus37" class="offlineUser" title="">&nbsp;</label>
163   - </td>
164   - <td colspan="2" align="right">
165   -
166   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
167   - &nbsp;
168   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
169   - &nbsp;
170   -
171   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=37"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
172   -
173   -
174   - </td>
175   - </tr>
176   - <tr>
177   - <td colspan="2" style="padding-left: 19px;">
178   - aluno01
179   - </td>
180   - <td width="45px" align="center">
181   - &nbsp;
182   - </td>
183   - </tr>
184   - <tr>
185   - <td colspan="2" style="padding-left: 19px;">
186   - <font class="smallPictureEmail">aluno01@gmail.com</font>
187   - <script type="text/javascript">userStatus(37);</script>
188   - </td>
189   - <td width="45px" align="center">
190   - &nbsp;
191   - </td>
192   - </tr>
193   - </table>
194   - </td></tr>
195   -<tr class="even">
196   -<td>
197   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
198   - <tr>
199   - <td rowspan="3" width="30px" valign="top">
200   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
201   - <img class="smallPhoto" src="user.do?method=showPhoto&id=183" />
202   - </div></a>
203   - </td>
204   - <td width="100px">
205   - <label id="userStatus183" class="offlineUser" title="">&nbsp;</label>
206   - </td>
207   - <td colspan="2" align="right">
208   -
209   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
210   - &nbsp;
211   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
212   - &nbsp;
213   -
214   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=183"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
215   -
216   -
217   - </td>
218   - </tr>
219   - <tr>
220   - <td colspan="2" style="padding-left: 19px;">
221   - Erik
222   - </td>
223   - <td width="45px" align="center">
224   - &nbsp;
225   - </td>
226   - </tr>
227   - <tr>
228   - <td colspan="2" style="padding-left: 19px;">
229   - <font class="smallPictureEmail">erikzambom@gmail.com</font>
230   - <script type="text/javascript">userStatus(183);</script>
231   - </td>
232   - <td width="45px" align="center">
233   - &nbsp;
234   - </td>
235   - </tr>
236   - </table>
237   - </td></tr>
238   -<tr class="odd">
239   -<td>
240   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
241   - <tr>
242   - <td rowspan="3" width="30px" valign="top">
243   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
244   - <img class="smallPhoto" src="user.do?method=showPhoto&id=255" />
245   - </div></a>
246   - </td>
247   - <td width="100px">
248   - <label id="userStatus255" class="offlineUser" title="">&nbsp;</label>
249   - </td>
250   - <td colspan="2" align="right">
251   -
252   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
253   - &nbsp;
254   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
255   - &nbsp;
256   -
257   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=255"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
258   -
259   -
260   - </td>
261   - </tr>
262   - <tr>
263   - <td colspan="2" style="padding-left: 19px;">
264   - estudante0101
265   - </td>
266   - <td width="45px" align="center">
267   - &nbsp;
268   - </td>
269   - </tr>
270   - <tr>
271   - <td colspan="2" style="padding-left: 19px;">
272   - <font class="smallPictureEmail">estudante0101@aaaaaaaaasssssssssss.com</font>
273   - <script type="text/javascript">userStatus(255);</script>
274   - </td>
275   - <td width="45px" align="center">
276   - &nbsp;
277   - </td>
278   - </tr>
279   - </table>
280   - </td></tr>
281   -<tr class="even">
282   -<td>
283   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
284   - <tr>
285   - <td rowspan="3" width="30px" valign="top">
286   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
287   - <img class="smallPhoto" src="user.do?method=showPhoto&id=55" />
288   - </div></a>
289   - </td>
290   - <td width="100px">
291   - <label id="userStatus55" class="offlineUser" title="">&nbsp;</label>
292   - </td>
293   - <td colspan="2" align="right">
294   -
295   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
296   - &nbsp;
297   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
298   - &nbsp;
299   -
300   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=55"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
301   -
302   -
303   - </td>
304   - </tr>
305   - <tr>
306   - <td colspan="2" style="padding-left: 19px;">
307   - felipe henrique de almeida bormann
308   - </td>
309   - <td width="45px" align="center">
310   - &nbsp;
311   - </td>
312   - </tr>
313   - <tr>
314   - <td colspan="2" style="padding-left: 19px;">
315   - <font class="smallPictureEmail">fhab@cin.ufpe.br</font>
316   - <script type="text/javascript">userStatus(55);</script>
317   - </td>
318   - <td width="45px" align="center">
319   - &nbsp;
320   - </td>
321   - </tr>
322   - </table>
323   - </td></tr>
324   -<tr class="odd">
325   -<td>
326   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
327   - <tr>
328   - <td rowspan="3" width="30px" valign="top">
329   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
330   - <img class="smallPhoto" src="user.do?method=showPhoto&id=40" />
331   - </div></a>
332   - </td>
333   - <td width="100px">
334   - <label id="userStatus40" class="offlineUser" title="">&nbsp;</label>
335   - </td>
336   - <td colspan="2" align="right">
337   -
338   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
339   - &nbsp;
340   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
341   - &nbsp;
342   -
343   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=40"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
344   -
345   -
346   - </td>
347   - </tr>
348   - <tr>
349   - <td colspan="2" style="padding-left: 19px;">
350   - felipe henrique de almeida bormann
351   - </td>
352   - <td width="45px" align="center">
353   - &nbsp;
354   - </td>
355   - </tr>
356   - <tr>
357   - <td colspan="2" style="padding-left: 19px;">
358   - <font class="smallPictureEmail">felipe.bormann@gmail.com</font>
359   - <script type="text/javascript">userStatus(40);</script>
360   - </td>
361   - <td width="45px" align="center">
362   - &nbsp;
363   - </td>
364   - </tr>
365   - </table>
366   - </td></tr>
367   -<tr class="even">
368   -<td>
369   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
370   - <tr>
371   - <td rowspan="3" width="30px" valign="top">
372   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
373   - <img class="smallPhoto" src="user.do?method=showPhoto&id=13" />
374   - </div></a>
375   - </td>
376   - <td width="100px">
377   - <label id="userStatus13" class="offlineUser" title="">&nbsp;</label>
378   - </td>
379   - <td colspan="2" align="right">
380   -
381   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
382   - &nbsp;
383   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
384   - &nbsp;
385   -
386   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=13"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
387   -
388   -
389   - </td>
390   - </tr>
391   - <tr>
392   - <td colspan="2" style="padding-left: 19px;">
393   - Francisco Neto
394   - </td>
395   - <td width="45px" align="center">
396   - &nbsp;
397   - </td>
398   - </tr>
399   - <tr>
400   - <td colspan="2" style="padding-left: 19px;">
401   - <font class="smallPictureEmail">fsouzant@gmail.com</font>
402   - <script type="text/javascript">userStatus(13);</script>
403   - </td>
404   - <td width="45px" align="center">
405   - &nbsp;
406   - </td>
407   - </tr>
408   - </table>
409   - </td></tr>
410   -<tr class="odd">
411   -<td>
412   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
413   - <tr>
414   - <td rowspan="3" width="30px" valign="top">
415   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
416   - <img class="smallPhoto" src="user.do?method=showPhoto&id=82" />
417   - </div></a>
418   - </td>
419   - <td width="100px">
420   - <label id="userStatus82" class="offlineUser" title="">&nbsp;</label>
421   - </td>
422   - <td colspan="2" align="right">
423   -
424   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
425   - &nbsp;
426   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
427   - &nbsp;
428   -
429   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=82"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
430   -
431   -
432   - </td>
433   - </tr>
434   - <tr>
435   - <td colspan="2" style="padding-left: 19px;">
436   - jailson
437   - </td>
438   - <td width="45px" align="center">
439   - &nbsp;
440   - </td>
441   - </tr>
442   - <tr>
443   - <td colspan="2" style="padding-left: 19px;">
444   - <font class="smallPictureEmail">jailson.dias@citi.org.br</font>
445   - <script type="text/javascript">userStatus(82);</script>
446   - </td>
447   - <td width="45px" align="center">
448   - &nbsp;
449   - </td>
450   - </tr>
451   - </table>
452   - </td></tr>
453   -<tr class="even">
454   -<td>
455   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
456   - <tr>
457   - <td rowspan="3" width="30px" valign="top">
458   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
459   - <img class="smallPhoto" src="user.do?method=showPhoto&id=86" />
460   - </div></a>
461   - </td>
462   - <td width="100px">
463   - <label id="userStatus86" class="offlineUser" title="">&nbsp;</label>
464   - </td>
465   - <td colspan="2" align="right">
466   -
467   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
468   - &nbsp;
469   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
470   - &nbsp;
471   -
472   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=86"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
473   -
474   -
475   - </td>
476   - </tr>
477   - <tr>
478   - <td colspan="2" style="padding-left: 19px;">
479   - jailson d
480   - </td>
481   - <td width="45px" align="center">
482   - &nbsp;
483   - </td>
484   - </tr>
485   - <tr>
486   - <td colspan="2" style="padding-left: 19px;">
487   - <font class="smallPictureEmail">jailsonsossegopb@hotmail.com</font>
488   - <script type="text/javascript">userStatus(86);</script>
489   - </td>
490   - <td width="45px" align="center">
491   - &nbsp;
492   - </td>
493   - </tr>
494   - </table>
495   - </td></tr>
496   -<tr class="odd">
497   -<td>
498   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
499   - <tr>
500   - <td rowspan="3" width="30px" valign="top">
501   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
502   - <img class="smallPhoto" src="user.do?method=showPhoto&id=59" />
503   - </div></a>
504   - </td>
505   - <td width="100px">
506   - <label id="userStatus59" class="offlineUser" title="">&nbsp;</label>
507   - </td>
508   - <td colspan="2" align="right">
509   -
510   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
511   - &nbsp;
512   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
513   - &nbsp;
514   -
515   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=59"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
516   -
517   -
518   - </td>
519   - </tr>
520   - <tr>
521   - <td colspan="2" style="padding-left: 19px;">
522   - Jailson Dias
523   - </td>
524   - <td width="45px" align="center">
525   - &nbsp;
526   - </td>
527   - </tr>
528   - <tr>
529   - <td colspan="2" style="padding-left: 19px;">
530   - <font class="smallPictureEmail">jailsonsossegopb@gmail.com</font>
531   - <script type="text/javascript">userStatus(59);</script>
532   - </td>
533   - <td width="45px" align="center">
534   - &nbsp;
535   - </td>
536   - </tr>
537   - </table>
538   - </td></tr>
539   -<tr class="even">
540   -<td>
541   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
542   - <tr>
543   - <td rowspan="3" width="30px" valign="top">
544   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
545   - <img class="smallPhoto" src="user.do?method=showPhoto&id=77" />
546   - </div></a>
547   - </td>
548   - <td width="100px">
549   - <label id="userStatus77" class="offlineUser" title="">&nbsp;</label>
550   - </td>
551   - <td colspan="2" align="right">
552   -
553   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
554   - &nbsp;
555   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
556   - &nbsp;
557   -
558   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=77"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
559   -
560   -
561   - </td>
562   - </tr>
563   - <tr>
564   - <td colspan="2" style="padding-left: 19px;">
565   - joao
566   - </td>
567   - <td width="45px" align="center">
568   - &nbsp;
569   - </td>
570   - </tr>
571   - <tr>
572   - <td colspan="2" style="padding-left: 19px;">
573   - <font class="smallPictureEmail">dias.jailson4@gmail.com</font>
574   - <script type="text/javascript">userStatus(77);</script>
575   - </td>
576   - <td width="45px" align="center">
577   - &nbsp;
578   - </td>
579   - </tr>
580   - </table>
581   - </td></tr>
582   -<tr class="odd">
583   -<td>
584   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
585   - <tr>
586   - <td rowspan="3" width="30px" valign="top">
587   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
588   - <img class="smallPhoto" src="user.do?method=showPhoto&id=7" />
589   - </div></a>
590   - </td>
591   - <td width="100px">
592   - <label id="userStatus7" class="offlineUser" title="">&nbsp;</label>
593   - </td>
594   - <td colspan="2" align="right">
595   -
596   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
597   - &nbsp;
598   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
599   - &nbsp;
600   -
601   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=7"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
602   -
603   -
604   - </td>
605   - </tr>
606   - <tr>
607   - <td colspan="2" style="padding-left: 19px;">
608   - João Carlos Sedraz Silva
609   - </td>
610   - <td width="45px" align="center">
611   - &nbsp;
612   - </td>
613   - </tr>
614   - <tr>
615   - <td colspan="2" style="padding-left: 19px;">
616   - <font class="smallPictureEmail">jsedraz@gmail.com</font>
617   - <script type="text/javascript">userStatus(7);</script>
618   - </td>
619   - <td width="45px" align="center">
620   - &nbsp;
621   - </td>
622   - </tr>
623   - </table>
624   - </td></tr>
625   -<tr class="even">
626   -<td>
627   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
628   - <tr>
629   - <td rowspan="3" width="30px" valign="top">
630   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
631   - <img class="smallPhoto" src="user.do?method=showPhoto&id=307" />
632   - </div></a>
633   - </td>
634   - <td width="100px">
635   - <label id="userStatus307" class="offlineUser" title="">&nbsp;</label>
636   - </td>
637   - <td colspan="2" align="right">
638   -
639   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
640   - &nbsp;
641   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
642   - &nbsp;
643   -
644   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=307"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
645   -
646   -
647   - </td>
648   - </tr>
649   - <tr>
650   - <td colspan="2" style="padding-left: 19px;">
651   - João Vasconcelos
652   - </td>
653   - <td width="45px" align="center">
654   - &nbsp;
655   - </td>
656   - </tr>
657   - <tr>
658   - <td colspan="2" style="padding-left: 19px;">
659   - <font class="smallPictureEmail">jvsn_naoexiste@gmail.com</font>
660   - <script type="text/javascript">userStatus(307);</script>
661   - </td>
662   - <td width="45px" align="center">
663   - &nbsp;
664   - </td>
665   - </tr>
666   - </table>
667   - </td></tr>
668   -<tr class="odd">
669   -<td>
670   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
671   - <tr>
672   - <td rowspan="3" width="30px" valign="top">
673   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
674   - <img class="smallPhoto" src="user.do?method=showPhoto&id=288" />
675   - </div></a>
676   - </td>
677   - <td width="100px">
678   - <label id="userStatus288" class="offlineUser" title="">&nbsp;</label>
679   - </td>
680   - <td colspan="2" align="right">
681   -
682   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
683   - &nbsp;
684   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
685   - &nbsp;
686   -
687   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=288"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
688   -
689   -
690   - </td>
691   - </tr>
692   - <tr>
693   - <td colspan="2" style="padding-left: 19px;">
694   - João Vasconcelos
695   - </td>
696   - <td width="45px" align="center">
697   - &nbsp;
698   - </td>
699   - </tr>
700   - <tr>
701   - <td colspan="2" style="padding-left: 19px;">
702   - <font class="smallPictureEmail">jvsn@cin.ufpe.br</font>
703   - <script type="text/javascript">userStatus(288);</script>
704   - </td>
705   - <td width="45px" align="center">
706   - &nbsp;
707   - </td>
708   - </tr>
709   - </table>
710   - </td></tr>
711   -<tr class="even">
712   -<td>
713   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
714   - <tr>
715   - <td rowspan="3" width="30px" valign="top">
716   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
717   - <img class="smallPhoto" src="user.do?method=showPhoto&id=107" />
718   - </div></a>
719   - </td>
720   - <td width="100px">
721   - <label id="userStatus107" class="offlineUser" title="">&nbsp;</label>
722   - </td>
723   - <td colspan="2" align="right">
724   -
725   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
726   - &nbsp;
727   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
728   - &nbsp;
729   -
730   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=107"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
731   -
732   -
733   - </td>
734   - </tr>
735   - <tr>
736   - <td colspan="2" style="padding-left: 19px;">
737   - Julio Jose de Oliveira Ribeiro Toscano de Brito
738   - </td>
739   - <td width="45px" align="center">
740   - &nbsp;
741   - </td>
742   - </tr>
743   - <tr>
744   - <td colspan="2" style="padding-left: 19px;">
745   - <font class="smallPictureEmail">jjortb@cin.ufpe.br</font>
746   - <script type="text/javascript">userStatus(107);</script>
747   - </td>
748   - <td width="45px" align="center">
749   - &nbsp;
750   - </td>
751   - </tr>
752   - </table>
753   - </td></tr>
754   -<tr class="odd">
755   -<td>
756   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
757   - <tr>
758   - <td rowspan="3" width="30px" valign="top">
759   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
760   - <img class="smallPhoto" src="user.do?method=showPhoto&id=286" />
761   - </div></a>
762   - </td>
763   - <td width="100px">
764   - <label id="userStatus286" class="offlineUser" title="">&nbsp;</label>
765   - </td>
766   - <td colspan="2" align="right">
767   -
768   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
769   - &nbsp;
770   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
771   - &nbsp;
772   -
773   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=286"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
774   -
775   -
776   - </td>
777   - </tr>
778   - <tr>
779   - <td colspan="2" style="padding-left: 19px;">
780   - karla vidal
781   - </td>
782   - <td width="45px" align="center">
783   - &nbsp;
784   - </td>
785   - </tr>
786   - <tr>
787   - <td colspan="2" style="padding-left: 19px;">
788   - <font class="smallPictureEmail">karlagvidal@gmail.com</font>
789   - <script type="text/javascript">userStatus(286);</script>
790   - </td>
791   - <td width="45px" align="center">
792   - &nbsp;
793   - </td>
794   - </tr>
795   - </table>
796   - </td></tr>
797   -<tr class="even">
798   -<td>
799   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
800   - <tr>
801   - <td rowspan="3" width="30px" valign="top">
802   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
803   - <img class="smallPhoto" src="user.do?method=showPhoto&id=67" />
804   - </div></a>
805   - </td>
806   - <td width="100px">
807   - <label id="userStatus67" class="offlineUser" title="">&nbsp;</label>
808   - </td>
809   - <td colspan="2" align="right">
810   -
811   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
812   - &nbsp;
813   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
814   - &nbsp;
815   -
816   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=67"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
817   -
818   -
819   - </td>
820   - </tr>
821   - <tr>
822   - <td colspan="2" style="padding-left: 19px;">
823   - kjhkjlkb
824   - </td>
825   - <td width="45px" align="center">
826   - &nbsp;
827   - </td>
828   - </tr>
829   - <tr>
830   - <td colspan="2" style="padding-left: 19px;">
831   - <font class="smallPictureEmail">kjn@hgfjh.hjgj</font>
832   - <script type="text/javascript">userStatus(67);</script>
833   - </td>
834   - <td width="45px" align="center">
835   - &nbsp;
836   - </td>
837   - </tr>
838   - </table>
839   - </td></tr>
840   -<tr class="odd">
841   -<td>
842   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
843   - <tr>
844   - <td rowspan="3" width="30px" valign="top">
845   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
846   - <img class="smallPhoto" src="user.do?method=showPhoto&id=224" />
847   - </div></a>
848   - </td>
849   - <td width="100px">
850   - <label id="userStatus224" class="offlineUser" title="">&nbsp;</label>
851   - </td>
852   - <td colspan="2" align="right">
853   -
854   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
855   - &nbsp;
856   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
857   - &nbsp;
858   -
859   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=224"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
860   -
861   -
862   - </td>
863   - </tr>
864   - <tr>
865   - <td colspan="2" style="padding-left: 19px;">
866   - Matheus de Souza Lins (Aluno)
867   - </td>
868   - <td width="45px" align="center">
869   - &nbsp;
870   - </td>
871   - </tr>
872   - <tr>
873   - <td colspan="2" style="padding-left: 19px;">
874   - <font class="smallPictureEmail">matheuslins9@gmail.com</font>
875   - <script type="text/javascript">userStatus(224);</script>
876   - </td>
877   - <td width="45px" align="center">
878   - &nbsp;
879   - </td>
880   - </tr>
881   - </table>
882   - </td></tr>
883   -<tr class="even">
884   -<td>
885   - <table border="0" cellpadding="0" cellspacing="0" width="100%">
886   - <tr>
887   - <td rowspan="3" width="30px" valign="top">
888   - <a href="{% url 'app:dados_usuario' %}"><div class="smallPicture">
889   - <img class="smallPhoto" src="user.do?method=showPhoto&id=203" />
890   - </div></a>
891   - </td>
892   - <td width="100px">
893   - <label id="userStatus203" class="offlineUser" title="">&nbsp;</label>
894   - </td>
895   - <td colspan="2" align="right">
896   -
897   - <a href="{% url 'app:editar_usuario' %}"><img border="0" src="{% static 'imgs/menu/edit-16x16.png' %}" title="Editar Perfil do Usuário" /></a>
898   - &nbsp;
899   - <a href="{% url 'app:send_mail' %}"><img border="0" src="{% static 'imgs/menu/email-16x16.png' %}" title="Enviar E-mail" /></a>
900   - &nbsp;
901   -
902   - <a href="/amadeuslms/managerUser.do?method=removeUser&to=203"><img border="0" src="{% static 'imgs/menu/remove-16x16.png' %}" title="Remover Usuário" /></a>
903   -
904   -
905   - </td>
906   - </tr>
907   - <tr>
908   - <td colspan="2" style="padding-left: 19px;">
909   - Matheus de Souza Lins (Professor)
910   - </td>
911   - <td width="45px" align="center">
912   - &nbsp;
913   - </td>
914   - </tr>
915   - <tr>
916   - <td colspan="2" style="padding-left: 19px;">
917   - <font class="smallPictureEmail">msl@cin.ufpe.br</font>
918   - <script type="text/javascript">userStatus(203);</script>
919   - </td>
920   - <td width="45px" align="center">
921   - &nbsp;
922   - </td>
923   - </tr>
924   - </table>
925   - </td></tr></tbody></table><span class="pagebanner">25 itens encontrados, exibindo 1 de 20.</span><span class="pagelinks">[Primeira/Anterior] <strong>1</strong>, <a href="user.do?method=showViewAllUsersInManagerUsers&amp;method=showViewAllUsersInManagerUsers&amp;d-49809-p=2" title="Go to page 2">2</a> [<a href="user.do?method=showViewAllUsersInManagerUsers&amp;method=showViewAllUsersInManagerUsers&amp;d-49809-p=2">Próxima</a>/<a href="user.do?method=showViewAllUsersInManagerUsers&amp;method=showViewAllUsersInManagerUsers&amp;d-49809-p=2">Última</a>]</span>
926   - </div>
927   - <div id="pRightMenu" class="pRightMenu">
928   -
929   - </div>
930   -{% endblock %}
931 0 \ No newline at end of file
app/templates/app/index.html
... ... @@ -5,11 +5,11 @@
5 5 {% block sidebar %}
6 6 <h4>{% trans 'You have:' %} </h4>
7 7 <div class="list-group">
8   - <a href="{% url 'app:tarefas' %}" class="list-group-item">
  8 + <a href="#" class="list-group-item">
9 9 <span class="badge">4</span>
10 10 {% trans 'Pending Tasks' %}
11 11 </a>
12   - <a href="{% url 'app:online' %}" class="list-group-item">
  12 + <a href="#" class="list-group-item">
13 13 <span class="badge">0</span>
14 14 {% trans 'Users Online' %}
15 15 </a>
... ...
app/templates/index.html
... ... @@ -1,212 +0,0 @@
1   -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2   -
3   -{% load static %}
4   -
5   -<!--
6   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
7   -
8   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
9   -
10   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
11   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
12   -
13   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
14   -
15   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
16   --->
17   -
18   -<html>
19   -<head>
20   - <!--
21   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
22   -
23   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
24   -
25   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
26   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
27   -
28   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
29   -
30   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
31   --->
32   -
33   -
34   -
35   -
36   - <title>Projeto Amadeus</title>
37   -
38   - <meta http-equiv="Cache-Control" content="no-cache, no-store" />
39   -
40   - <link href="{% static 'css/css.css' %}" rel="stylesheet" type="text/css" />
41   - <link href="{% static 'css/amadeus.css' %}" rel="stylesheet" type="text/css" />
42   - <link href="{% static 'css/content_management.css' %}" rel="stylesheet" type="text/css" />
43   - <link href="{% static 'css/jqueryui/smoothness/jquery-ui-1.7.1.custom.css' %}" rel="stylesheet" type="text/css" />
44   - <link href="{% static 'imgs/favicon.ico}" rel="shortcut icon" />
45   - <link href="{% static 'css/table.css' %}" rel="stylesheet" type="text/css"/>
46   - <link href="{% static 'css/module.css' %}" rel="stylesheet" type="text/css"/>
47   -
48   - <script type='text/javascript' src='dwr/interface/UtilDWR.js'></script>
49   - <script type='text/javascript' src='dwr/engine.js'></script>
50   - <script type='text/javascript' src='dwr/util.js'></script>
51   - <script type="text/javascript" src="{% static 'js/jqueryui/jquery-1.3.2.min.js' %}"></script>
52   - <script type="text/javascript" src="{% static 'js/jqueryui/jquery-ui-1.7.1.custom.min.js' %}"></script>
53   - <script type="text/javascript" src="{% static 'js/openid.js' %}"></script>
54   - <script type="text/javascript" src="{% static 'js/amadeus.js' %}"></script>
55   -</head>
56   -<body onload="countOnlineUser();">
57   -<div id="pBody" class="pBody">
58   - <div id="pHeader" class="pHeader">
59   - <!--
60   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
61   -
62   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
63   -
64   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
65   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
66   -
67   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
68   -
69   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
70   --->
71   -
72   -
73   -
74   -
75   -
76   -<div id="login">
77   - Olá&nbsp;Administrador.<br />
78   - <a href="/amadeuslms/user.do?method=showViewMyProfile">Visualizar Perfil</a>
79   - (<a href="/amadeuslms/signOut.do?parameter=Sair">Sair</a>)
80   -</div>
81   - </div>
82   - <!--
83   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
84   -
85   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
86   -
87   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
88   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
89   -
90   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
91   -
92   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
93   --->
94   -
95   -
96   -
97   -
98   -
99   -
100   -
101   -<div id="institutional_menu">
102   -
103   - <span>
104   - <a href="/amadeuslms/settingsActions.do?method=showViewSettings"><img src="themes/default/imgs/menu/settings.png" border="0" style="vertical-align: middle;">
105   - &nbsp;Configurações</a>
106   - </span>
107   - <span>&nbsp;|&nbsp;</span>
108   -
109   - <span><a href="/amadeuslms/fProject.do" target="_blank">O Projeto</a></span>
110   - <span>&nbsp;|&nbsp;</span>
111   - <span><a href="/amadeuslms/fCCTE.do" target="_blank">Grupo CCTE</a></span>
112   -</div>
113   - <div class="pw">
114   - <div class="plw">
115   - <div id="youHave" class="youHave">
116   - <div id="youHaveTitle" class="youHaveTitle">Você tem:</div>
117   -
118   - <div id="youHavePendingTasks" class="youHavePendingTasks">
119   - <a href="/amadeuslms/user.do?method=showViewPendingTasks">(4)Tarefas Pendentes.</a>
120   - </div>
121   -
122   -
123   - <div id="youHaveOnlineUser" class="youHaveOnlineUser">
124   - <a href="/amadeuslms/user.do?method=showViewOnlineUsers">(<span id="countOnlineUser">0</span>)&nbsp;Usuários Online.</a>
125   - </div>
126   - </div>
127   -
128   - <div id="youCan" class="youCan">
129   - <div id="youCanTitle" class="youCanTitle">Você pode:</div>
130   - <div id="youCanInsertCourse" class="youCanInsertCourse">
131   - <a href="{% url 'criar_curso' %}">Criar Curso</a>
132   - </div>
133   -
134   - <div id="youCanManagerUser" class="youCanManagerUser">
135   - <a href="/amadeuslms/user.do?method=showViewAllUsersInManagerUsers">Gerenciar Usuários</a>
136   - </div>
137   - <div id="youCanManagerCourse" class="youCanManagerCourse">
138   - <a href="/amadeuslms/user.do?method=showViewAllCoursesInManagerUsers">Gerenciar Cursos</a>
139   - </div>
140   -
141   - </div>
142   -
143   - <div id="yourCourses" class="yourCourses">
144   - <div id="yourCoursesTitle" class="yourCoursesTitle">Seu(s) curso(s):</div>
145   -
146   - <div id="yourCourse" class="yourCourse">
147   - <a href="/amadeuslms/course.do?method=showViewCourse&courseId=14">Curso01</a>
148   - </div>
149   -
150   - <div id="yourCourse" class="yourCourse">
151   - <a href="/amadeuslms/course.do?method=showViewCourse&courseId=42">Python</a>
152   - </div>
153   -
154   - <div id="yourCourse" class="yourCourse">
155   - <a href="/amadeuslms/course.do?method=showViewCourse&courseId=92">Curso Amadeus - Toscano</a>
156   - </div>
157   -
158   - </div>
159   - <div class="line"></div>
160   - </div>
161   - <div class="prw">
162   - <form name="searchCourseForm" method="post" action="/amadeuslms/searchCourse.do">
163   - <div class="pTitleSearchCourse">
164   - Buscar um curso:
165   - </div>
166   - <div class="pSearchCourse">
167   - <input type="text" name="courseName" value="" class="formfield2">
168   - <input type="submit" name="searchCourse" value="Buscar" class="button">
169   - </div>
170   - </form>
171   - <script type="text/javascript" language="JavaScript">
172   - <!--
173   - var focusControl = document.forms["searchCourseForm"].elements["courseName"];
174   -
175   - if (focusControl.type != "hidden" && !focusControl.disabled) {
176   - focusControl.focus();
177   - }
178   - // -->
179   - </script>
180   -
181   - <div class="pTitleKeyword">
182   - Palavras-chave mais populares:
183   - </div>
184   - <div class="pTagcloud">
185   - <a class='keywork0' href="fSearchCourse.do?keyword_course=teste amadeus prospb">teste amadeus prospb</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=programação fácil">programação fácil</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=intermediário">intermediário</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=amadeus">amadeus</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=palavra02">palavra02</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=programação para iniciantes">programação para iniciantes</a>, <a class='keywork1' href="fSearchCourse.do?keyword_course=django">django</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=aluno teste">aluno teste</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=curso0101">curso0101</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=kjsdnksa">kjsdnksa</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=palavra01">palavra01</a>, <a class='keywork1' href="fSearchCourse.do?keyword_course=programming">programming</a>, <a class='keywork3' href="fSearchCourse.do?keyword_course=python">python</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=curso">curso</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=mvc">mvc</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=programação web">programação web</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=ionic">ionic</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=framework">framework</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=web">web</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=android">android</a>, <a class='keywork0' href="fSearchCourse.do?keyword_course=programação">programação</a>
186   - </div>
187   - </div>
188   - </div>
189   - <!--
190   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
191   -
192   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
193   -
194   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
195   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
196   -
197   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
198   -
199   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
200   --->
201   -
202   -
203   -
204   -
205   -
206   -<div id="footnote">
207   - <dl><dd>Copyright Amadeus. Todos os direitos reservados<dd></dl>
208   -</div>
209   -
210   -</div>
211   -</body>
212   -</html>
213 0 \ No newline at end of file
app/templates/mobile.html
... ... @@ -1,28 +0,0 @@
1   -<!--
2   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
3   -
4   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
5   -
6   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
7   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
8   -
9   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
10   -
11   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
12   --->
13   -{% load static %}
14   -
15   -<html>
16   - <head>
17   - <title>Amadeus Mobile</title>
18   - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
19   - <!--<META HTTP-EQUIV="Refresh" CONTENT="2; URL=/amadeuslms/mobile/login/loginHtml.jsp">-->
20   -
21   - </head>
22   - <body>
23   - <div align="center">
24   - <img src="{% static 'imgs/amadeus_mobile.jpg' %}" width="120px" height="150px" alt="logo">
25   - <h2>Você está sendo direcionado para a página do Amadeus Mobile.</h2>
26   - </div>
27   - </body>
28   -</html>
29 0 \ No newline at end of file
app/urls.py
... ... @@ -5,17 +5,5 @@ from . import views
5 5 urlpatterns = [
6 6 url(r'^$', views.index, name='index'),
7 7 url(r'^', include('courses.urls', namespace = 'course')),
8   - url(r'^cursos/participantes/$', views.participantes_curso, name='participantes_curso'),
9   - url(r'^cursos/avaliacoes/$', views.avaliacao_curso, name='avaliacao_curso'),
10   - url(r'^usuarios/', include('users.urls', namespace = 'users')),
11   - url(r'^enviar_email/$', views.email, name='send_mail'),
12   - url(r'^perfil/$', views.profile, name='profile'),
13   - url(r'^perfil/editar/$', views.edit_profile, name='editar_profile'),
14   - url(r'^perfil/alterar_senha/$', views.reset_pass, name='alterar_senha'),
15   - url(r'^perfil/colegas/$', views.colegas, name='colegas'),
16   - url(r'^configuracoes/$', views.configuracoes, name='config'),
17   - url(r'^mobile/$', views.mobile, name='mobile'),
18   - url(r'^tarefas/$', views.tarefas, name='tarefas'),
19   - url(r'^online/$', views.users_online, name='online'),
20   - url(r'^busca/$', views.search, name='search'),
  8 + url(r'^', include('users.urls', namespace = 'users')),
21 9 ]
22 10 \ No newline at end of file
... ...
app/views.py
... ... @@ -3,56 +3,4 @@ from django.contrib.auth.decorators import login_required
3 3  
4 4 @login_required
5 5 def index(request):
6   - return render(request, "app/index.html")
7   -
8   -@login_required
9   -def test(request):
10   - return render(request, "admin_index.html")
11   -
12   -@login_required
13   -def participantes_curso(request):
14   - return render(request, "admin_participantes_curso.html")
15   -
16   -@login_required
17   -def avaliacao_curso(request):
18   - return render(request, "admin_avaliacao_curso.html")
19   -
20   -@login_required
21   -def email(request):
22   - return render(request, "admin_send_email.html")
23   -
24   -@login_required
25   -def profile(request):
26   - return render(request, "admin_profile.html")
27   -
28   -@login_required
29   -def edit_profile(request):
30   - return render(request, "admin_editar_perfil.html")
31   -
32   -@login_required
33   -def reset_pass(request):
34   - return render(request, "admin_reset_pass.html")
35   -
36   -@login_required
37   -def colegas(request):
38   - return render(request, "admin_colegas_curso.html")
39   -
40   -@login_required
41   -def configuracoes(request):
42   - return render(request, "admin_config.html")
43   -
44   -@login_required
45   -def mobile(request):
46   - return render(request, "mobile.html")
47   -
48   -@login_required
49   -def tarefas(request):
50   - return render(request, "admin_tarefas.html")
51   -
52   -@login_required
53   -def users_online(request):
54   - return render(request, "admin_online.html")
55   -
56   -@login_required
57   -def search(request):
58   - return render(request, "admin_search.html")
59 6 \ No newline at end of file
  7 + return render(request, "app/index.html")
60 8 \ No newline at end of file
... ...
core/templates/lembrar_senha.html
... ... @@ -1,169 +0,0 @@
1   -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2   -{% load static %}
3   -<!--
4   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
5   -
6   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
7   -
8   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
9   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
10   -
11   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
12   -
13   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
14   --->
15   -
16   -
17   -
18   -
19   -
20   -
21   -
22   -<html>
23   -<head>
24   - <!--
25   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
26   -
27   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
28   -
29   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
30   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
31   -
32   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
33   -
34   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
35   --->
36   -
37   -
38   -
39   -
40   - <title>Projeto Amadeus</title>
41   -
42   - <meta http-equiv="Cache-Control" content="no-cache, no-store" />
43   -
44   - <link href="{% static 'css/css.css' %}" rel="stylesheet" type="text/css" />
45   - <link href="{% static 'css/amadeus.css' %}" rel="stylesheet" type="text/css" />
46   - <link href="{% static 'css/content_management.css' %}" rel="stylesheet" type="text/css" />
47   - <link href="{% static 'css/jqueryui/smoothness/jquery-ui-1.7.1.custom.css' %}" rel="stylesheet" type="text/css" />
48   - <link href="{% static 'imgs/favicon.ico' %}" rel="shortcut icon" />
49   -
50   - <script type='text/javascript' src='dwr/interface/UtilDWR.js'></script>
51   - <script type='text/javascript' src='dwr/engine.js'></script>
52   - <script type='text/javascript' src='dwr/util.js'></script>
53   - <script type="text/javascript" src="{% static 'js/jqueryui/jquery-1.3.2.min.js' %}"></script>
54   - <script type="text/javascript" src="{% static 'js/jqueryui/jquery-ui-1.7.1.custom.min.js' %}"></script>
55   - <script type="text/javascript" src="{% static 'js/openid.js' %}"></script>
56   - <script type="text/javascript" src="{% static 'js/amadeus.js' %}"></script>
57   -</head>
58   -<body>
59   - <div id="pBody" class="pBody">
60   - <div id="pHeader" class="pHeader">
61   - <div id="login">
62   - <dl id="formlogin">
63   - <form name="logonForm" method="post" action="/amadeuslms/validateLogin.do">
64   - <dt><input type="text" name="login" maxlength="15" size="15" value="" class="inputlogin"> </dt>
65   - <dt><input type="password" name="password" maxlength="15" size="15" value="" class="inputlogin">&nbsp;
66   - <br /><a href="{% url 'index' %}" name="logonForm" class="button">Entrar</a></dt>
67   - </form>
68   -<script type="text/javascript" language="JavaScript">
69   - <!--
70   - var focusControl = document.forms["logonForm"].elements["login"];
71   -
72   - if (focusControl.type != "hidden" && !focusControl.disabled) {
73   - focusControl.focus();
74   - }
75   - // -->
76   -</script>
77   -
78   - </dl>
79   - </div>
80   - </div>
81   - <!--
82   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
83   -
84   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
85   -
86   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
87   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
88   -
89   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
90   -
91   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
92   --->
93   -
94   -
95   -
96   -
97   -
98   -
99   -
100   -<div id="institutional_menu">
101   -
102   - <span><a href="/amadeuslms/fProject.do" target="_blank">O Projeto</a></span>
103   - <span>&nbsp;|&nbsp;</span>
104   - <span><a href="/amadeuslms/fCCTE.do" target="_blank">Grupo CCTE</a></span>
105   -</div>
106   - <div id="pTitle" class="pTitle">
107   - <h2>Lembrar senha</h2>
108   - </div>
109   - <div id="pBreadCrumbs" class="pBreadCrumbs">
110   - <ul id="breadcrumb">
111   - <li><a href="{% url 'home' %}">Página Inicial</a></li>
112   - <li>Lembrar senha</li>
113   - </ul>
114   - </div>
115   - <div id="pLeftMenu" class="pLeftMenu">
116   - <div id="side_menu_1">
117   - <ul id="menu_sessoes">
118   - <li><a href="{% url 'nova_conta' %}" class="insert">Nova conta</a></li>
119   - </ul>
120   - </div>
121   - </div>
122   - <div id="pContent" class="pContent">
123   - <dl class="insert2">
124   -
125   -
126   - <form name="remindPasswordForm" method="post" action="/amadeuslms/remindPassword.do">
127   - <dt>Endereço de e-mail</dt>
128   - <dd><input type="text" name="email" value="" class="formfield2" id="username"></dd>
129   - <dd class="description">Seu endereço de e-mail (exemplo@mail.com)</dd>
130   - <dt class="field"><input type="submit" name="remindPassword" value="Enviar e-mail" class="button"></dt>
131   - </form>
132   -<script type="text/javascript" language="JavaScript">
133   - <!--
134   - var focusControl = document.forms["remindPasswordForm"].elements["email"];
135   -
136   - if (focusControl.type != "hidden" && !focusControl.disabled) {
137   - focusControl.focus();
138   - }
139   - // -->
140   -</script>
141   -
142   - </dl>
143   - </div>
144   - <div id="pRightMenu" class="pRightMenu">
145   - </div>
146   - <!--
147   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
148   -
149   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
150   -
151   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
152   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
153   -
154   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
155   -
156   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
157   --->
158   -
159   -
160   -
161   -
162   -
163   -<div id="footnote">
164   - <dl><dd>Copyright Amadeus. Todos os direitos reservados<dd></dl>
165   -</div>
166   -
167   - </div>
168   -</body>
169   -</html>
170 0 \ No newline at end of file
core/templates/nova_conta.html
... ... @@ -1,181 +0,0 @@
1   -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2   -{% load static %}
3   -<!--
4   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
5   -
6   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
7   -
8   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
9   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
10   -
11   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
12   -
13   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
14   --->
15   -
16   -
17   -
18   -
19   -
20   -
21   -
22   -<html>
23   -<head>
24   - <!--
25   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
26   -
27   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
28   -
29   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
30   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
31   -
32   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
33   -
34   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
35   --->
36   -
37   -
38   -
39   -
40   - <title>Projeto Amadeus</title>
41   -
42   - <meta http-equiv="Cache-Control" content="no-cache, no-store" />
43   -
44   - <link href="{% static 'css/css.css' %}" rel="stylesheet" type="text/css" />
45   - <link href="{% static 'css/amadeus.css' %}" rel="stylesheet" type="text/css" />
46   - <link href="{% static 'css/content_management.css' %}" rel="stylesheet" type="text/css" />
47   - <link href="{% static 'css/jqueryui/smoothness/jquery-ui-1.7.1.custom.css' %}" rel="stylesheet" type="text/css" />
48   - <link href="{% static 'imgs/favicon.ico' %}" rel="shortcut icon" />
49   -
50   - <script type='text/javascript' src='dwr/interface/UtilDWR.js'></script>
51   - <script type='text/javascript' src='dwr/engine.js'></script>
52   - <script type='text/javascript' src='dwr/util.js'></script>
53   - <script type="text/javascript" src="{% static 'js/jqueryui/jquery-1.3.2.min.js' %}"></script>
54   - <script type="text/javascript" src="{% static 'js/jqueryui/jquery-ui-1.7.1.custom.min.js' %}"></script>
55   - <script type="text/javascript" src="{% static 'js/openid.js' %}"></script>
56   - <script type="text/javascript" src="{% static 'js/amadeus.js' %}"></script>
57   -</head>
58   -<body>
59   - <div id="pBody" class="pBody">
60   - <div id="pHeader" class="pHeader">
61   - <div id="login">
62   - <dl id="formlogin">
63   - <form name="logonForm" method="post" action="/amadeuslms/validateLogin.do">
64   - <dt><input type="text" name="login" maxlength="15" size="15" value="" class="inputlogin"> </dt>
65   - <dt><input type="password" name="password" maxlength="15" size="15" value="" class="inputlogin">&nbsp;<br /><a href="{% url 'index' %}" name="logonForm" class="button">Entrar</a></dt>
66   - </form>
67   -<script type="text/javascript" language="JavaScript">
68   - <!--
69   - var focusControl = document.forms["logonForm"].elements["login"];
70   -
71   - if (focusControl.type != "hidden" && !focusControl.disabled) {
72   - focusControl.focus();
73   - }
74   - // -->
75   -</script>
76   -
77   - </dl>
78   - </div>
79   - </div>
80   - <!--
81   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
82   -
83   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
84   -
85   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
86   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
87   -
88   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
89   -
90   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
91   --->
92   -
93   -
94   -
95   -
96   -
97   -
98   -
99   -<div id="institutional_menu">
100   -
101   - <span><a href="/amadeuslms/fProject.do" target="_blank">O Projeto</a></span>
102   - <span>&nbsp;|&nbsp;</span>
103   - <span><a href="/amadeuslms/fCCTE.do" target="_blank">Grupo CCTE</a></span>
104   -</div>
105   - <div id="pTitle" class="pTitle">
106   - <h2>Nova conta</h2>
107   - </div>
108   - <div id="pBreadCrumbs" class="pBreadCrumbs">
109   - <ul id="breadcrumb">
110   - <li><a href="{% url 'home' %}">Página Inicial</a></li>
111   - <li>Nova conta</li>
112   - </ul>
113   - </div>
114   - <div id="pLeftMenu" class="pLeftMenu">
115   - <div id="side_menu_1">
116   - <ul id="menu_sessoes">
117   - <li><a href="{% url 'lembrar_senha' %}" class="insert">Lembrar senha</a></li>
118   - </ul>
119   - </div>
120   - </div>
121   - <div id="pContent" class="pContent">
122   - <dl class="insert2">
123   - <form name="formUserRegister" method="post" action="/amadeuslms/insertUser.do">
124   -
125   - <dt>Nome completo</dt>
126   - <dd class="field"><input type="text" name="name" value="" class="formfield" id="realname"></dd>
127   - <dd class="description">Seu nome completo</dd>
128   - <dt>E-mail</dt>
129   - <dd class="field"><input type="text" name="email" value="" class="formfield" id="mail"></dd>
130   - <dd class="description">Seu endereço de e-mail (exemplo@mail.com)</dd>
131   - <dt>Login</dt>
132   - <dd class="field"><input type="text" name="login" maxlength="15" size="15" value="" class="formfield" id="username"></dd>
133   - <dd class="description">Seu login</dd>
134   - <dt>Senha</dt>
135   - <dd class="field"><input type="password" name="password" maxlength="15" size="15" value="" class="formfield" id="password"></dd>
136   - <dd class="description">Sua senha (mínimo de 4 caracteres)</dd>
137   - <dt>Confirmação de senha</dt>
138   - <dd class="field"><input type="password" name="passwordConfirmation" maxlength="15" size="15" value="" class="formfield" id="passwordConfirmation"></dd>
139   - <dd class="description">Confirme sua senha</dd>
140   - <dt class="field"><input type="submit" name="insertUser" value="Cadastrar" class="button"></dt>
141   - <br/><br/><ul id="required"><li>Todos os campos são de preenchimento obrigatório</li></ul>
142   - </form>
143   -<script type="text/javascript" language="JavaScript">
144   - <!--
145   - var focusControl = document.forms["formUserRegister"].elements["name"];
146   -
147   - if (focusControl.type != "hidden" && !focusControl.disabled) {
148   - focusControl.focus();
149   - }
150   - // -->
151   -</script>
152   -
153   - </dl>
154   - </div>
155   - <div id="pRightMenu" class="pRightMenu">
156   -
157   - </div>
158   - <!--
159   -Copyright 2008, 2009 UFPE - Universidade Federal de Pernambuco
160   -
161   -Este arquivo é parte do programa Amadeus Sistema de Gestão de Aprendizagem, ou simplesmente Amadeus LMS
162   -
163   -O Amadeus LMS é um software livre; você pode redistribui-lo e/ou modifica-lo dentro dos termos da Licença Pública Geral GNU como
164   -publicada pela Fundação do Software Livre (FSF); na versão 2 da Licença.
165   -
166   -Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU para maiores detalhes.
167   -
168   -Você deve ter recebido uma cópia da Licença Pública Geral GNU, sob o título "LICENCA.txt", junto com este programa, se não, escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
169   --->
170   -
171   -
172   -
173   -
174   -
175   -<div id="footnote">
176   - <dl><dd>Copyright Amadeus. Todos os direitos reservados<dd></dl>
177   -</div>
178   -
179   - </div>
180   -</body>
181   -</html>
182 0 \ No newline at end of file
core/views.py
... ... @@ -5,10 +5,4 @@ def index(request):
5 5 context = {
6 6 'subscribed_courses': 'testando'
7 7 }
8   - return render(request, "index.html", context)
9   -
10   -def nova_conta(request):
11   - return render(request, "nova_conta.html")
12   -
13   -def lembrar_senha(request):
14   - return render(request, "lembrar_senha.html")
15 8 \ No newline at end of file
  9 + return render(request, "index.html", context)
16 10 \ No newline at end of file
... ...
courses/templates/course/filtered.html
1 1 {% extends 'course/index.html' %}
2 2  
3   -{% block sidebar i18n %}
  3 +{% load i18n %}
  4 +
  5 +{% block sidebar %}
4 6 <div class="list-group">
5 7 <a href="{% url 'app:course:manage' %}" class="list-group-item">
6 8 {% trans 'Courses' %}
... ...
courses/templates/course/index.html
1 1 {% extends 'app/base.html' %}
2 2  
3   -{% load static i18n permission_tags custom_filters %}
  3 +{% load static i18n permission_tags %}
4 4  
5 5 {% block breadcrumbs %}
6 6 <ol class="breadcrumb">
... ... @@ -87,16 +87,6 @@
87 87 <br />
88 88 <strong>{% trans 'Period:' %} </strong> <em>de</em> <u>{{ course.init_date }}</u> <em>até</em> <u>{{ course.end_date }}</u>
89 89 </div>
90   - {% if user|has_role:'student' and course|show_subscribe:request.user %}
91   - <div class="col-md-12">
92   - <form method="POST" action="{% url 'app:subscription:subscribe' %}">
93   - {% csrf_token %}
94   - <input type='hidden' name="user" id="id_user" value="{{ request.user.id }}" />
95   - <input type='hidden' name="course" id="id_course" value="{{ course.id }}" />
96   - <input type='submit' class="btn btn-sm btn-success pull-right" value="{% trans 'Subscribe' %}" />
97   - </form>
98   - </div>
99   - {% endif %}
100 90 </div>
101 91 </div>
102 92 </div>
... ...
courses/templates/course/update.html
... ... @@ -18,7 +18,7 @@
18 18 <a href="{% url 'app:course:manage_mods' course.slug %}" class="list-group-item">
19 19 {% trans 'Manage Modules' %}
20 20 </a>
21   - <a href="{% url 'app:participantes_curso' %}" class="list-group-item">
  21 + <a href="#" class="list-group-item">
22 22 {% trans 'Participants' %}
23 23 </a>
24 24 </div>
... ...
courses/templates/course/view.html
... ... @@ -27,7 +27,7 @@
27 27 <a href="{% url 'app:course:update' course.slug %}" class="list-group-item">
28 28 {% trans 'Edit Course' %}
29 29 </a>
30   - <a href="{% url 'app:subscription:participants' course.slug %}" class="list-group-item">
  30 + <a href="#" class="list-group-item">
31 31 {% trans 'Participants' %}
32 32 </a>
33 33 <a href="" class="list-group-item">
... ...
courses/tests/test_views.py
... ... @@ -3,20 +3,119 @@
3 3 from django.test import TestCase, Client
4 4 from django.core.urlresolvers import reverse
5 5  
  6 +from rolepermissions.shortcuts import assign_role
  7 +
  8 +from courses.models import Course, Category
  9 +from users.models import User
  10 +
6 11 class CourseViewTestCase(TestCase):
7 12  
8 13 def setUp(self):
9 14 self.client = Client()
10   - self.url = reverse('app:course:manage')
  15 +
  16 + self.user = User.objects.create_user(username = 'test', email = 'testing@amadeus.com', is_staff = True, is_active = True, password = 'testing')
  17 + assign_role(self.user, 'system_admin')
  18 +
  19 + category = Category(name = 'Categoria Teste', slug = 'categoria_teste')
  20 + category.save()
11 21  
12   - #def tearDown(self):
13   - # pass
  22 + course = Course(name = 'Curso Teste', slug = 'curso_teste', max_students = 50, init_register_date = '2016-08-26', end_register_date = '2016-10-01', init_date = '2016-10-05', end_date = '2017-10-05', category = category)
  23 + course.save()
14 24  
15   - def test_course_ok(self):
16   - response = self.client.get(self.url)
  25 + self.category = category
  26 + self.course = course
  27 +
  28 + def test_index(self):
  29 + self.client.login(username='test', password='testing')
  30 +
  31 + url = reverse('app:course:manage')
  32 +
  33 + response = self.client.get(url)
17 34  
18 35 self.assertEquals(response.status_code, 200)
19 36 self.assertTemplateUsed(response, 'course/index.html')
20 37  
21   - def test_course_error(self):
22   - pass
23 38 \ No newline at end of file
  39 + def test_index_not_logged(self):
  40 + url = reverse('app:course:manage')
  41 +
  42 + response = self.client.get(url, follow = True)
  43 +
  44 + self.assertRedirects(response, '%s?next=%s' % (reverse('home'), url), 302, 200)
  45 +
  46 + def test_create(self):
  47 + self.client.login(username='test', password='testing')
  48 +
  49 + url = reverse('app:course:create')
  50 +
  51 + response = self.client.get(url)
  52 +
  53 + self.assertEquals(response.status_code, 200)
  54 + self.assertTemplateUsed(response, 'course/create.html')
  55 +
  56 + def test_create_not_logged(self):
  57 + url = reverse('app:course:create')
  58 +
  59 + response = self.client.get(url, follow = True)
  60 +
  61 + self.assertRedirects(response, '%s?next=%s' % (reverse('home'), url), 302, 200)
  62 +
  63 + def test_create_no_permission(self):
  64 + self.user = User.objects.create_user(username = 'student', email = 'student@amadeus.com', type_profile = 2, is_staff = False, is_active = True, password = 'testing')
  65 +
  66 + assign_role(self.user, 'student')
  67 +
  68 + self.client.login(username='student', password='testing')
  69 +
  70 + url = reverse('app:course:create')
  71 +
  72 + response = self.client.get(url)
  73 +
  74 + self.assertEquals(response.status_code, 403)
  75 +
  76 +
  77 + def test_update(self):
  78 + self.client.login(username = 'test', password = 'testing')
  79 +
  80 + url = reverse('app:course:update', kwargs = {'slug': self.course.slug})
  81 +
  82 + response = self.client.get(url)
  83 +
  84 + self.assertEquals(response.status_code, 200)
  85 + self.assertTemplateUsed(response, 'course/update.html')
  86 +
  87 + def test_update_not_logged(self):
  88 + url = reverse('app:course:update', kwargs = {'slug': self.course.slug})
  89 +
  90 + response = self.client.get(url, follow = True)
  91 +
  92 + self.assertRedirects(response, '%s?next=%s' % (reverse('home'), url), 302, 200)
  93 +
  94 + def test_update_no_permission(self):
  95 + self.user = User.objects.create_user(username = 'student', email = 'student@amadeus.com', type_profile = 2, is_staff = False, is_active = True, password = 'testing')
  96 +
  97 + assign_role(self.user, 'student')
  98 +
  99 + self.client.login(username='student', password='testing')
  100 +
  101 + url = reverse('app:course:update', kwargs = {'slug': self.course.slug})
  102 +
  103 + response = self.client.get(url)
  104 +
  105 + self.assertEquals(response.status_code, 403)
  106 +
  107 + def test_view(self):
  108 + self.client.login(username = 'test', password = 'testing')
  109 +
  110 + url = reverse('app:course:view', kwargs = {'slug': self.course.slug})
  111 +
  112 + response = self.client.get(url)
  113 +
  114 + self.assertEquals(response.status_code, 200)
  115 + self.assertTemplateUsed(response, 'course/view.html')
  116 +
  117 + def test_update_not_logged(self):
  118 + url = reverse('app:course:view', kwargs = {'slug': self.course.slug})
  119 +
  120 + response = self.client.get(url, follow = True)
  121 +
  122 + self.assertRedirects(response, '%s?next=%s' % (reverse('home'), url), 302, 200)
24 123 \ No newline at end of file
... ...
courses/views.py
... ... @@ -28,7 +28,7 @@ class IndexView(LoginRequiredMixin, generic.ListView):
28 28  
29 29 return context
30 30  
31   -class CreateView(HasRoleMixin, LoginRequiredMixin, generic.edit.CreateView):
  31 +class CreateView(LoginRequiredMixin, HasRoleMixin, generic.edit.CreateView):
32 32  
33 33 allowed_roles = ['professor', 'system_admin']
34 34 login_url = '/'
... ... @@ -49,7 +49,7 @@ class CreateView(HasRoleMixin, LoginRequiredMixin, generic.edit.CreateView):
49 49  
50 50 return self.response_class(request=self.request, template=self.get_template_names(), context=context, using=self.template_engine)
51 51  
52   -class UpdateView(HasRoleMixin, LoginRequiredMixin, generic.UpdateView):
  52 +class UpdateView(LoginRequiredMixin, HasRoleMixin, generic.UpdateView):
53 53  
54 54 allowed_roles = ['professor', 'system_admin']
55 55 login_url = '/'
... ... @@ -79,7 +79,7 @@ class View(LoginRequiredMixin, generic.DetailView):
79 79 context_object_name = 'course'
80 80 template_name = 'course/view.html'
81 81  
82   -class DeleteView(HasRoleMixin, LoginRequiredMixin, generic.DeleteView):
  82 +class DeleteView(LoginRequiredMixin, HasRoleMixin, generic.DeleteView):
83 83  
84 84 allowed_roles = ['professor', 'system_admin']
85 85 login_url = '/'
... ... @@ -122,7 +122,7 @@ class IndexCatView(LoginRequiredMixin, generic.ListView):
122 122 context_object_name = 'categories'
123 123 paginate_by = 3
124 124  
125   -class CreateCatView(HasRoleMixin, LoginRequiredMixin, generic.edit.CreateView):
  125 +class CreateCatView(LoginRequiredMixin, HasRoleMixin, generic.edit.CreateView):
126 126  
127 127 allowed_roles = ['professor', 'system_admin']
128 128 login_url = '/'
... ... @@ -143,7 +143,7 @@ class CreateCatView(HasRoleMixin, LoginRequiredMixin, generic.edit.CreateView):
143 143  
144 144 return self.response_class(request=self.request, template=self.get_template_names(), context=context, using=self.template_engine)
145 145  
146   -class UpdateCatView(HasRoleMixin, LoginRequiredMixin, generic.UpdateView):
  146 +class UpdateCatView(LoginRequiredMixin, HasRoleMixin, generic.UpdateView):
147 147  
148 148 allowed_roles = ['professor', 'system_admin']
149 149 login_url = '/'
... ... @@ -172,7 +172,7 @@ class ViewCat(LoginRequiredMixin, generic.DetailView):
172 172 template_name = 'category/view.html'
173 173 context_object_name = 'category'
174 174  
175   -class DeleteCatView(HasRoleMixin, LoginRequiredMixin, generic.DeleteView):
  175 +class DeleteCatView(LoginRequiredMixin, HasRoleMixin, generic.DeleteView):
176 176  
177 177 allowed_roles = ['professor', 'system_admin']
178 178 login_url = '/'
... ... @@ -205,7 +205,7 @@ class ModulesView(LoginRequiredMixin, generic.ListView):
205 205  
206 206 return context
207 207  
208   -class CreateModView(HasRoleMixin, LoginRequiredMixin, generic.edit.CreateView):
  208 +class CreateModView(LoginRequiredMixin, HasRoleMixin, generic.edit.CreateView):
209 209  
210 210 allowed_roles = ['professor', 'system_admin']
211 211 login_url = '/'
... ... @@ -238,7 +238,7 @@ class CreateModView(HasRoleMixin, LoginRequiredMixin, generic.edit.CreateView):
238 238  
239 239 return self.response_class(request=self.request, template=self.get_template_names(), context=context, using=self.template_engine)
240 240  
241   -class UpdateModView(HasRoleMixin, LoginRequiredMixin, generic.UpdateView):
  241 +class UpdateModView(LoginRequiredMixin, HasRoleMixin, generic.UpdateView):
242 242  
243 243 allowed_roles = ['professor', 'system_admin']
244 244 login_url = '/'
... ... @@ -269,7 +269,7 @@ class UpdateModView(HasRoleMixin, LoginRequiredMixin, generic.UpdateView):
269 269  
270 270 return self.response_class(request=self.request, template=self.get_template_names(), context=context, using=self.template_engine)
271 271  
272   -class DeleteModView(HasRoleMixin, LoginRequiredMixin, generic.DeleteView):
  272 +class DeleteModView(LoginRequiredMixin, HasRoleMixin, generic.DeleteView):
273 273  
274 274 allowed_roles = ['professor', 'system_admin']
275 275 login_url = '/'
... ...
users/templates/users/create.html
... ... @@ -18,7 +18,7 @@
18 18 <a href="{% url 'app:users:create' %}" class="list-group-item active">
19 19 {% trans 'New Account' %}
20 20 </a>
21   - <a href="{% url 'app:send_mail' %}" class="list-group-item">
  21 + <a href="#" class="list-group-item">
22 22 {% trans 'Send Mail' %}
23 23 </a>
24 24 </div>
... ...
users/templates/users/index.html
... ... @@ -17,7 +17,7 @@
17 17 <a href="{% url 'app:users:create' %}" class="list-group-item">
18 18 {% trans 'New Account' %}
19 19 </a>
20   - <a href="{% url 'app:send_mail' %}" class="list-group-item">
  20 + <a href="#" class="list-group-item">
21 21 {% trans 'Send Mail' %}
22 22 </a>
23 23 </div>
... ...
users/templates/users/update.html
... ... @@ -18,7 +18,7 @@
18 18 <a href="{% url 'app:users:create' %}" class="list-group-item">
19 19 {% trans 'New Account' %}
20 20 </a>
21   - <a href="{% url 'app:send_mail' %}" class="list-group-item">
  21 + <a href="#" class="list-group-item">
22 22 {% trans 'Send Mail' %}
23 23 </a>
24 24 </div>
... ...
users/templates/users/view.html
... ... @@ -23,7 +23,7 @@
23 23 <a href="{% url 'app:users:update' acc.username %}" class="list-group-item">
24 24 {% trans 'Edit User Account' %}
25 25 </a>
26   - <a href="{% url 'app:send_mail' %}" class="list-group-item">
  26 + <a href="#" class="list-group-item">
27 27 {% trans 'Send Mail' %}
28 28 </a>
29 29 </div>
... ...
users/urls.py
... ... @@ -3,10 +3,10 @@ from django.conf.urls import url
3 3 from . import views
4 4  
5 5 urlpatterns = [
6   - url(r'^$', views.Index.as_view(), name='manage'),
7   - url(r'^criar/$', views.Create.as_view(), name='create'),
8   - url(r'^editar/(?P<username>[\w_-]+)/$', views.Update.as_view(), name='update'),
9   - url(r'^dados/(?P<username>[\w_-]+)/$', views.View.as_view(), name='view'),
  6 + url(r'^usuarios/$', views.Index.as_view(), name='manage'),
  7 + url(r'^usuarios/criar/$', views.Create.as_view(), name='create'),
  8 + url(r'^usuario/editar/(?P<username>[\w_-]+)/$', views.Update.as_view(), name='update'),
  9 + url(r'^usuario/dados/(?P<username>[\w_-]+)/$', views.View.as_view(), name='view'),
10 10 url(r'^perfil/$', views.Profile.as_view(), name='profile'),
11 11 url(r'^perfil/editar/$', views.EditProfile.as_view(), name='edit_profile'),
12 12 ]
13 13 \ No newline at end of file
... ...