From 1cd2d561a69193f4193bd7e0f0b1415c6161783d Mon Sep 17 00:00:00 2001 From: gtitov Date: Mon, 7 Nov 2022 13:39:47 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=96=8C=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gui/index.html | 11 ++++++++++- gui/main.js | 3 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gui/index.html b/gui/index.html index 27d5381..8aaa35a 100644 --- a/gui/index.html +++ b/gui/index.html @@ -7,6 +7,14 @@ + Тестирование @@ -27,8 +35,9 @@ +
diff --git a/gui/main.js b/gui/main.js index 2825087..79e990e 100644 --- a/gui/main.js +++ b/gui/main.js @@ -65,7 +65,8 @@ document.addEventListener("DOMContentLoaded", function () { document.getElementById("main").innerHTML = questions_html var button = document.createElement('button'); - button.innerHTML = 'Сдать'; + button.style.margin = "20px" + button.innerHTML = 'Сдать тест'; button.onclick = function () { // TODO: move this logic to the backend check_answers function // Populate quiz with empty answers (if no answer presented in select there'll be no property "answer" what could not be resolved in API)