настройка времени квиза
This commit is contained in:
parent
f2cd81f29b
commit
3e122600e5
0
CHANGELOG.md
Normal file
0
CHANGELOG.md
Normal file
@ -893,7 +893,101 @@ export default function StartPageSettings() {
|
||||
Запретить шаг назад
|
||||
</Typography>
|
||||
</Box>
|
||||
{!isSmallMonitor &&<SwitchAI />}
|
||||
<Box sx={{ display: "flex", alignItems: "center", mt: "20px", flexWrap: "wrap",
|
||||
gap: isMobile ? "20px" : "34px" }}>
|
||||
<Box sx ={{
|
||||
display: "flex",
|
||||
alignItems: "center",
|
||||
gap: "20px"
|
||||
}}>
|
||||
<CustomizedSwitch
|
||||
checked={quiz.config?.backBlocked}
|
||||
onChange={(e) => {
|
||||
updateQuiz(quiz.id, (quiz) => {
|
||||
quiz.config.backBlocked = e.target.checked;
|
||||
});
|
||||
}}
|
||||
/>
|
||||
|
||||
<Typography
|
||||
sx={{
|
||||
fontWeight: 500,
|
||||
color: theme.palette.grey3.main,
|
||||
}}
|
||||
>
|
||||
Включить таймер вопросов
|
||||
</Typography>
|
||||
</Box>
|
||||
<Box
|
||||
sx={{
|
||||
display: "flex",
|
||||
gap: "15px"
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
sx={{
|
||||
display: "inline-flex",
|
||||
alignItems: "center"
|
||||
}}
|
||||
>
|
||||
<CustomTextField
|
||||
placeholder="00"
|
||||
value={quiz.config.info.law}
|
||||
onChange={(e) =>
|
||||
updateQuiz(quiz.id, (quiz) => {
|
||||
quiz.config.info.law = e.target.value;
|
||||
})
|
||||
}
|
||||
sx={{
|
||||
width: "51px",
|
||||
height: "48px"
|
||||
}}
|
||||
/>
|
||||
<Typography
|
||||
sx={{
|
||||
fontWeight: 500,
|
||||
color: theme.palette.grey3.main,
|
||||
ml: "5px"
|
||||
}}
|
||||
>
|
||||
мин.
|
||||
</Typography>
|
||||
|
||||
</Box>
|
||||
|
||||
<Box
|
||||
sx={{
|
||||
display: "inline-flex",
|
||||
alignItems: "center"
|
||||
}}
|
||||
>
|
||||
<CustomTextField
|
||||
placeholder="00"
|
||||
value={quiz.config.info.law}
|
||||
onChange={(e) =>
|
||||
updateQuiz(quiz.id, (quiz) => {
|
||||
quiz.config.info.law = e.target.value;
|
||||
})
|
||||
}
|
||||
sx={{
|
||||
width: "51px",
|
||||
height: "48px"
|
||||
}}
|
||||
/>
|
||||
<Typography
|
||||
sx={{
|
||||
fontWeight: 500,
|
||||
color: theme.palette.grey3.main,
|
||||
ml: "5px"
|
||||
}}
|
||||
>
|
||||
сек.
|
||||
</Typography>
|
||||
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
{!isSmallMonitor && <SwitchAI />}
|
||||
</>
|
||||
)}
|
||||
</Box>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user