diff options
Diffstat (limited to 'tmpl')
-rw-r--r-- | tmpl/student.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tmpl/student.html b/tmpl/student.html index 4d82111..0294105 100644 --- a/tmpl/student.html +++ b/tmpl/student.html @@ -114,7 +114,7 @@ </div> <div class="need-connection"> <div id="alreadyopen" class="reading-width"> - <table id="table-of-courses"> + <table class="table-of-courses"> <thead> <tr> <th scope="col">Tick</th> @@ -131,6 +131,8 @@ </tr> </thead> <tbody> + {{- range .Groups }} + <tr><th colspan="6">{{ .Name }}</th></tr> {{- range .Courses }} <tr class="courseitem" id="course{{.ID}}"> {{ if lt .Selected .Max -}} @@ -145,6 +147,7 @@ <td>{{.Location}}</td> </tr> {{- end }} + {{- end }} </tbody> <tfoot> <tr> |