diff --git a/templates/login.html b/templates/login.html index 593e4e4..996a8bb 100644 --- a/templates/login.html +++ b/templates/login.html @@ -6,46 +6,30 @@ + Teste - - - UEvora + + + + - - - - +
@@ -54,10 +38,10 @@
-
+ +

Identificação:

diff --git a/templates/results.html b/templates/results.html deleted file mode 100644 index 193f1e6..0000000 --- a/templates/results.html +++ /dev/null @@ -1,155 +0,0 @@ - - - - - - - ${t['title']} - - - - - - - - - - - - - - - - - - -
-
- - % if not results: -

Ainda não há resultados

- - % else: - - - - - - - - - - - <%! - from datetime import datetime - %> - % for r in results: - - - - - - - - % endfor - -
#NomeNota
- % if loop.index == 0: -

- - 1º - -

- % else: - - ${loop.index+1} - - % endif -
- % if loop.index == 0: -

${r[1]}

- % else: - ${r[1]} - % endif -
-
- % if r[2] < 10: -
- % elif r[2] < 15: -
- % else: -
- % endif - ${'{:.1f}'.format(r[2])} -
-
-
- <% - dt = datetime.now() - datetime.strptime(r[3], '%Y-%m-%d %H:%M:%S.%f') - %> - - % if dt.days > 0: - ${dt.days}d - % elif dt.seconds >= 3600: - ${dt.seconds // 3600}h - % elif dt.seconds >= 60: - ${dt.seconds // 60}m - % else: - ${dt.seconds}s - % endif - - -
- % endif -
-
- - diff --git a/templates/students.html b/templates/students.html deleted file mode 100644 index 2a6debe..0000000 --- a/templates/students.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - - List of students - - - - - - - - - - - - - - -
-
-
- ${len(tags['finished'])} Terminado(s) -
-
- - - - - - - - - - - - % for r in grades: - - % if r[0] in tags['finished']: - - - - - - - % endif - - % endfor - -
NúmeroNomeLoginLogoutNota
${r[0]} ${r[1]} ${r[3][:19]}${r[4][:19]}${r[2]}
-
-
- -
-
- ${len(tags['online'])} Activo(s) -
-
- - - - - - - - - - % for r in students: - - % if r[0] in tags['online']: - - - % endif - - % endfor - -
NúmeroNome
${r[0]} ${r[1]}
-
-
- - -
-
- ${len(students)-len(tags['online'])} Inactivo(s) -
-
- - - - - - - - - - - % for r in students: - - % if r[0] not in tags['online']: - - - - % endif - - % endfor - -
NúmeroNomePassword
${r[0]} ${r[1]} -
-
- - - - -
-
-
-
-
-
- - diff --git a/templates/test.html b/templates/test.html index d01dcad..6c758d8 100644 --- a/templates/test.html +++ b/templates/test.html @@ -2,9 +2,9 @@ - - - Teste + + + Teste -- libgit2 0.21.2