Spaces:
Runtime error
Runtime error
| <html lang="ru"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Генератор задач ЕГЭ №5</title> | |
| <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <header class="app-header"> | |
| <h1>Генератор задач ЕГЭ №5</h1> | |
| <p>Теория вероятности · базовый уровень</p> | |
| </header> | |
| <section class="settings-card"> | |
| <div class="settings-grid"> | |
| <div> | |
| <label>Количество задач</label> | |
| <input type="number" id="count" min="1" max="20" value="5"> | |
| </div> | |
| <div> | |
| <label>Сложность</label> | |
| <select id="complexity"> | |
| <option value="easy">Лёгкая</option> | |
| <option value="medium" selected>Средняя</option> | |
| <option value="hard">Сложная</option> | |
| </select> | |
| </div> | |
| <button class="primary-btn" onclick="generateTasks()"> | |
| Сгенерировать | |
| </button> | |
| </div> | |
| <details class="task-types"> | |
| <summary> | |
| Типы задач | |
| <span id="selectedCount">0 выбрано</span> | |
| </summary> | |
| <div class="task-types-actions"> | |
| <button type="button" onclick="selectAllTypes()">Выбрать всё</button> | |
| <button type="button" onclick="clearAllTypes()">Очистить</button> | |
| </div> | |
| <div id="taskTypesDropdown"></div> | |
| </details> | |
| </section> | |
| <div class="loading" id="loading"> | |
| <div class="spinner"></div> | |
| Генерация задач… | |
| </div> | |
| <div class="error" id="error"></div> | |
| <section id="tasks-container"></section> | |
| </div> | |
| <script src="{{ url_for('static', filename='script.js') }}"></script> | |
| </body> | |
| </html> | |