Learn head: responsive row/col (title full width, 3 equal buttons below on mobile)
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
<div class="flex items-center gap-2 mb-2">
|
||||
<h2 class="section-title m-0">Условие лабораторной</h2>
|
||||
<button class="mini-btn" type="button" data-action="lab-edit"
|
||||
<button class="btn btn-secondary btn-sm p-2" type="button" data-action="lab-edit"
|
||||
title="Редактировать параметры лабораторной" aria-label="Редактировать параметры лабораторной">
|
||||
<i class="cell-ico ico bi bi-pencil" aria-hidden="true"></i>
|
||||
</button>
|
||||
@@ -80,7 +80,7 @@
|
||||
<div class="flex flex-wrap items-center justify-between gap-2 mb-4">
|
||||
<h3 class="section-title m-0" th:text="${level.title}">Уровень</h3>
|
||||
<div class="flex items-center gap-2">
|
||||
<button class="mini-btn" type="button" th:attr="data-modal=|modal-level-rename-${level.id}|"
|
||||
<button class="btn btn-secondary btn-sm p-2" type="button" th:attr="data-modal=|modal-level-rename-${level.id}|"
|
||||
title="Переименовать уровень" aria-label="Переименовать уровень">
|
||||
<i class="cell-ico ico bi bi-pencil" aria-hidden="true"></i>
|
||||
</button>
|
||||
@@ -88,7 +88,7 @@
|
||||
th:action="@{/admin/labs/{labId}/levels/{levelId}/delete(labId=${lab.id}, levelId=${level.id})}"
|
||||
method="post" data-confirm="Удалить уровень? Варианты на уровне должны быть пустыми.">
|
||||
<input type="hidden" name="_csrf" th:value="${csrfToken}">
|
||||
<button class="mini-btn danger" type="submit" title="Удалить уровень"
|
||||
<button class="btn btn-danger btn-sm p-2" type="submit" title="Удалить уровень"
|
||||
aria-label="Удалить уровень">
|
||||
<i class="cell-ico ico bi bi-trash" aria-hidden="true"></i>
|
||||
</button>
|
||||
@@ -106,7 +106,7 @@
|
||||
th:text="' · ' + ${v.title}"></span>
|
||||
</div>
|
||||
<div class="flex gap-2">
|
||||
<button class="mini-btn" type="button" th:attr="data-modal=|modal-variant-edit-${v.id}|"
|
||||
<button class="btn btn-secondary btn-sm p-2" type="button" th:attr="data-modal=|modal-variant-edit-${v.id}|"
|
||||
title="Редактировать вариант" aria-label="Редактировать вариант">
|
||||
<i class="cell-ico ico bi bi-pencil" aria-hidden="true"></i>
|
||||
</button>
|
||||
@@ -114,7 +114,7 @@
|
||||
th:action="@{/admin/labs/{labId}/variants/{variantId}/delete(labId=${lab.id}, variantId=${v.id})}"
|
||||
method="post" data-confirm="Удалить вариант вместе с его условием?">
|
||||
<input type="hidden" name="_csrf" th:value="${csrfToken}">
|
||||
<button class="mini-btn danger" type="submit" title="Удалить вариант"
|
||||
<button class="btn btn-danger btn-sm p-2" type="submit" title="Удалить вариант"
|
||||
aria-label="Удалить вариант">
|
||||
<i class="cell-ico ico bi bi-trash" aria-hidden="true"></i>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user