Commit 130989482bb7c5e556cf9cd86f7ab440a5859eb7

Authored by Miguel Barão
1 parent b69d44f2
Exists in master and in 1 other branch dev

- added CSS to test.html for better looking tables

Showing 3 changed files with 16 additions and 1 deletions   Show diff stats
1 1
2 # BUGS 2 # BUGS
3 3
  4 +- permitir eliminar teste a decorrer de modo a que o aluno possa recomeçar (e.g. noutro browser)
4 - servidor nao esta a lidar com eventos scroll/resize. ignorar? 5 - servidor nao esta a lidar com eventos scroll/resize. ignorar?
5 6
6 # TODO 7 # TODO
@@ -99,4 +99,6 @@ To review the tests: @@ -99,4 +99,6 @@ To review the tests:
99 The grades are stored in the sqlite3 file specified in the test. 99 The grades are stored in the sqlite3 file specified in the test.
100 We can get the results from the command line: 100 We can get the results from the command line:
101 101
102 - sqlite3 demo/students.db "select student_id,grade from tests where ref='my-test-reference'" > test_grades.csv 102 +```.bash
  103 + $ sqlite3 demo/students.db "select student_id,grade from tests where ref='my-test-reference'" > test_grades.csv
  104 +```
103 \ No newline at end of file 105 \ No newline at end of file
templates/test.html
@@ -34,6 +34,18 @@ @@ -34,6 +34,18 @@
34 <script src="/static/js/tabkey_in_textarea.js"></script> 34 <script src="/static/js/tabkey_in_textarea.js"></script>
35 <script src="/static/js/detect_unfocus.js"></script> 35 <script src="/static/js/detect_unfocus.js"></script>
36 36
  37 +<!-- My table style -->
  38 + <style>
  39 + table {
  40 + border-collapse: collapse;
  41 + margin-left: 50px;
  42 + }
  43 + thead, tbody, td, th {
  44 + padding: 5px;
  45 + border-bottom: 1px solid #ddd;
  46 + }
  47 +
  48 + </style>
37 </head> 49 </head>
38 <!-- ===================================================================== --> 50 <!-- ===================================================================== -->
39 <body> 51 <body>