Added basic table styling.
This commit is contained in:
parent
8aeb445a7c
commit
4823bad19f
|
@ -34,4 +34,9 @@ body {
|
||||||
|
|
||||||
.sidebar_block a:hover {
|
.sidebar_block a:hover {
|
||||||
color: lightgreen;
|
color: lightgreen;
|
||||||
|
}
|
||||||
|
|
||||||
|
table, th, td {
|
||||||
|
border: 1px solid black;
|
||||||
|
border-collapse: collapse;
|
||||||
}
|
}
|
|
@ -13,6 +13,12 @@
|
||||||
<p>No student teams.</p>
|
<p>No student teams.</p>
|
||||||
</div>
|
</div>
|
||||||
<table>
|
<table>
|
||||||
|
<tr>
|
||||||
|
<th>Team</th>
|
||||||
|
<th>Students</th>
|
||||||
|
<th>Repository Name</th>
|
||||||
|
<th>Assigned TA Team</th>
|
||||||
|
</tr>
|
||||||
<tr th:each="studentTeam: ${course.getStudentTeams()}">
|
<tr th:each="studentTeam: ${course.getStudentTeams()}">
|
||||||
<td>
|
<td>
|
||||||
<a
|
<a
|
||||||
|
@ -21,10 +27,20 @@
|
||||||
Student Team <span th:text="${studentTeam.getId()}"></span>
|
Student Team <span th:text="${studentTeam.getId()}"></span>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td th:each="student: ${studentTeam.getStudents()}">
|
<td>
|
||||||
<span th:text="${student.getFullName()}"></span>
|
<div th:each="student: ${studentTeam.getStudents()}">
|
||||||
|
<a th:href="@{/students/{id}(id=${student.getId()})}" th:text="${student.getFullName()}"></a><br>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td th:text="${studentTeam.getGithubRepositoryName()}"></td>
|
<td th:text="${studentTeam.getGithubRepositoryName()}"></td>
|
||||||
|
<td>
|
||||||
|
<a
|
||||||
|
th:if="${studentTeam.getAssignedTeachingAssistantTeam() != null}"
|
||||||
|
th:href="@{/courses/{code}/teaching_assistant_teams/{teamId}
|
||||||
|
(code=${course.getCode()}, teamId=${studentTeam.getAssignedTeachingAssistantTeam().getId()})}"
|
||||||
|
th:text="${studentTeam.getAssignedTeachingAssistantTeam().getId()}"
|
||||||
|
></a>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue