Commit 130989482bb7c5e556cf9cd86f7ab440a5859eb7
1 parent
b69d44f2
Exists in
master
and in
1 other branch
- added CSS to test.html for better looking tables
Showing
3 changed files
with
16 additions
and
1 deletions
Show diff stats
BUGS.md
MANUAL.md
... | ... | @@ -99,4 +99,6 @@ To review the tests: |
99 | 99 | The grades are stored in the sqlite3 file specified in the test. |
100 | 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 | 105 | \ No newline at end of file | ... | ... |
templates/test.html
... | ... | @@ -34,6 +34,18 @@ |
34 | 34 | <script src="/static/js/tabkey_in_textarea.js"></script> |
35 | 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 | 49 | </head> |
38 | 50 | <!-- ===================================================================== --> |
39 | 51 | <body> | ... | ... |