fix: polish group matrix headers and cell alignment
- shorten intermediate attestation header to «Пр. атт.» - vertically center row cell contents and left-align values - use normal header color/weight for average, password and actions - align attestation action buttons to equal height - add a divider before the actions column
This commit is contained in:
@@ -73,11 +73,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</th>
|
||||
<th class="text-center average-col" title="Средний балл по выставленным оценкам">Средний балл</th>
|
||||
<th class="average-col" title="Средний балл по выставленным оценкам">Средний балл</th>
|
||||
<th th:each="att : ${attestations}" class="text-center attestation-col" data-nosort>
|
||||
<div class="lab-col-head">
|
||||
<div class="attestation-title">
|
||||
<span class="attestation-kind" th:text="${att.kindLabel}">Аттестация</span>
|
||||
<span class="attestation-kind" th:text="${att.shortLabel}">Пр. атт.</span>
|
||||
</div>
|
||||
<span class="lab-col-title" th:text="'Семестр ' + ${att.semester}">Семестр 1</span>
|
||||
<div class="lab-head-actions">
|
||||
@@ -105,8 +105,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</th>
|
||||
<th data-nosort>Пароль</th>
|
||||
<th class="text-right" data-nosort>Действия</th>
|
||||
<th class="password-col" data-nosort>Пароль</th>
|
||||
<th class="text-right actions-head" data-nosort>Действия</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -155,9 +155,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
<td class="text-center average-cell"
|
||||
<td class="average-cell"
|
||||
th:text="${row.averageScore != null ? row.averageScore : '—'}">—</td>
|
||||
<td th:each="att : ${attestations}" class="text-center attestation-cell">
|
||||
<td th:each="att : ${attestations}" class="attestation-cell">
|
||||
<form class="inline-form js-attestation-form" method="post"
|
||||
th:action="@{/admin/groups/{id}/attestation-results(id=${group.id})}">
|
||||
<input type="hidden" name="_csrf" th:value="${csrfToken}">
|
||||
@@ -172,7 +172,7 @@
|
||||
</select>
|
||||
</form>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<td class="password-cell">
|
||||
<span th:if="${row.mustChangePassword}" class="badge badge-warn">временный</span>
|
||||
<span th:unless="${row.mustChangePassword}" class="badge badge-ok">изменён</span>
|
||||
</td>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<!-- v=37: сброс кэша стилей после изменения геометрии; при изменении css поднимать версию -->
|
||||
<link rel="stylesheet" th:href="@{/css/bootstrap.min.css}">
|
||||
<link rel="stylesheet" th:href="@{/css/bootstrap-icons.min.css}">
|
||||
<link rel="stylesheet" th:href="@{/css/app.css(v='42')}">
|
||||
<link rel="stylesheet" th:href="@{/css/app.css(v='44')}">
|
||||
<link id="hljs-light" rel="stylesheet" th:href="@{/css/hljs-github.css(v='36')}">
|
||||
<link id="hljs-dark" rel="stylesheet" th:href="@{/css/hljs-github-dark.css(v='36')}" disabled>
|
||||
<script th:src="@{/js/highlight.min.js(v='36')}" defer></script>
|
||||
|
||||
Reference in New Issue
Block a user