From 1fbd26a8bc46e981642aea59e7aa225ad2f9414d Mon Sep 17 00:00:00 2001 From: venkateswaran ubuntu Date: Fri, 20 Oct 2023 19:34:53 +0530 Subject: [PATCH] REARRANGE BUTTONS : RV --- addform.html | 68 ++++++++++++++++++++++++++-------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/addform.html b/addform.html index 47d7afa..49aa838 100644 --- a/addform.html +++ b/addform.html @@ -945,7 +945,6 @@ navpane(); html2json(); -// function for ONMOUSE HOVER to SHOW the side ADD BUTTONS function showButtons(container) { const buttons = container.querySelector('.buttons'); const onhover = container.querySelector('.onhover'); @@ -957,7 +956,6 @@ function showButtons(container) { } -// function for ONMOUSE HOVER to HIDE the side ADD BUTTONS function hideButtons(container) { const buttons = container.querySelector('.buttons'); const onhover = container.querySelector('.onhover'); @@ -967,6 +965,7 @@ function hideButtons(container) { } + var i = 0; //Function for Create a New Section in the Question Paper function addSection(title = false, description = false, random_no = false, section_uuid = false, section_marks = false, sectionDispalyMarks = false, sectionAttemptAny = false) @@ -1006,17 +1005,8 @@ function addSection(title = false, description = false, random_no = false, secti
- -
- -
-
+
@@ -1037,8 +1027,17 @@ function addSection(title = false, description = false, random_no = false, secti
-
+ +
+ +
+
${title ? title : ''}
@@ -1331,7 +1330,7 @@ function addQuestionGroup(idObj)
-
+ @@ -1369,29 +1368,29 @@ function addQuestionGroup(idObj)
${idObj.hasOwnProperty('question_group_obj') ? idObj.question_group_obj.group_description : ""}
- - + +
Display Marks - -
-
-
-
Attempt Any :
+
+ +
+
+
Attempt Any :
-
+
-
-
-
-
Marks :
- + +
+
+
Marks :
+
-
+
@@ -1706,7 +1705,7 @@ function groupQuestion(question_id = false, section_id = false , group_question_
${questionDescription ? questionDescription : ''}
${mathEnabled == 'true' ? questionDescription : ''} - MATH  + Math 
@@ -1719,7 +1718,7 @@ function groupQuestion(question_id = false, section_id = false , group_question_ ${Choice ? Choice[0].choice_name : ""}
-   MATH +   Math
@@ -2098,7 +2097,7 @@ function addNewChoice(NewaddChoiceAreaId = false , choiceName = false, questionR ${choiceName ? choiceName : ""}
-   MATH    +   Math   
@@ -2307,7 +2306,7 @@ textQuestion +=
${QuestionObj.hasOwnProperty('questionDescription') ? QuestionObj.questionDescription : '' }
${mathEnabled == 'true' ? QuestionObj.questionDescription : ''} - MATH  + Math  @@ -2551,7 +2550,6 @@ var inputElement = document.getElementById(Textid); markCalculation(); } - //function for Questions REORDER in the SECTION Level function ReArrangeQuestions(e){ @@ -2638,6 +2636,8 @@ function ReArrangeQuestionsGroup(e){ navpane(); } + + //Function for Add Group Question inside the Group QUestion Like Question function MultiLevelQuestionGroup(e) {