Тесты и опросы: генерация ИИ, критерии оценки, версия 2.0
- ИИ-генерация черновиков тестов (lib/quiz-ai.js, quiz-ai-jobs, quiz-ai.selftest.js) - Критерии оценки (quiz_grade_scales/quiz_grade_ranges, lib/quiz-grades.js, public/js/grade-scales.js) - Версия 2.0 формата бэкапа, добавление таблиц тестов в BACKUP_TABLES - Обновление AGENTS.md под новый функционал тестов/опросов
This commit is contained in:
+10
-1
@@ -44,6 +44,15 @@
|
||||
.qp-error { text-align: center; color: #b91c1c; padding: 28px 16px; font-size: .9rem; border: 1px dashed rgba(220,38,38,.4); border-radius: var(--radius); }
|
||||
.qp-done { text-align: center; padding: 12px 0 4px; }
|
||||
.qp-done .qp-done-ic { font-size: 2.4rem; line-height: 1; margin-bottom: 8px; }
|
||||
.qp-grade { margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 10px; }
|
||||
.qp-grade img { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); }
|
||||
.qp-grade-label { font-weight: 700; font-size: 1.1rem; }
|
||||
.qp-result { margin-top: 14px; display: grid; gap: 10px; }
|
||||
.qp-result-item { text-align: left; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: var(--bg); }
|
||||
.qp-result-item.ok { border-color: rgba(34,197,94,.35); }
|
||||
.qp-result-item.bad { border-color: rgba(239,68,68,.35); }
|
||||
.qp-result-q { font-size: .84rem; font-weight: 600; margin-bottom: 4px; }
|
||||
.qp-result-a { font-size: .78rem; color: var(--muted); }
|
||||
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.75); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
|
||||
.modal-overlay.open { display: flex; }
|
||||
.modal-overlay img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }
|
||||
@@ -52,7 +61,7 @@
|
||||
<body>
|
||||
<div class="qp-wrap">
|
||||
<div class="qp-top">
|
||||
<span class="qp-brand">Анонимный опрос</span>
|
||||
<span class="qp-brand" id="qpBrand">Тест</span>
|
||||
<button type="button" class="btn-link" data-theme-toggle>Тема</button>
|
||||
</div>
|
||||
<div id="qpBody"></div>
|
||||
|
||||
Reference in New Issue
Block a user