UI CHANGES & CLIENT REQUIRMENT CHANGES
@ -1,3 +1,4 @@
|
||||
|
||||
function QuestionPaperPreview(jsonData){
|
||||
// The provided JSON data
|
||||
// console.log(jsonData)
|
||||
@ -68,9 +69,10 @@ function QuestionPaperPreview(jsonData){
|
||||
const questionPaperTitle = data.question_paper_title;
|
||||
const questionPaperDescription = data.question_paper_description;
|
||||
|
||||
var title = removeHtmlTags(questionPaperTitle)
|
||||
|
||||
// Wrap the heading elements in <div> elements with CSS for centering
|
||||
questionPaper += `<div style="text-align: center; font-weight: bolder; "><h1>${questionPaperTitle}</h1></div>`;
|
||||
questionPaper += `<div style="text-align: center; font-weight: bolder; "><h1>${title}</h1></div>`;
|
||||
questionPaper += `<div style="text-align: center;"><h5>${questionPaperDescription}</h5></div>`;
|
||||
// questionPaper += "<br><br><br>"; // Add a newline for separation
|
||||
|
||||
@ -217,4 +219,13 @@ function QuestionPaperPreview(jsonData){
|
||||
const formattedQuestionPaper = convertJSONToQuestionPaper(jsonData, 0, 1, 1);
|
||||
const questionPaperElement = document.getElementById("questionPaper");
|
||||
questionPaperElement.innerHTML = formattedQuestionPaper; // Use innerHTML here
|
||||
}
|
||||
|
||||
function removeHtmlTags(inputString) {
|
||||
|
||||
const cheerio = require('cheerio');
|
||||
const $ = cheerio.load(inputString);
|
||||
const text = $.text();
|
||||
|
||||
return text;
|
||||
}
|
||||
@ -104,6 +104,10 @@
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
hr{
|
||||
border-top: 2px solid rgba(0,0,0,.1) !important;
|
||||
}
|
||||
|
||||
|
||||
/* Questions Mark */
|
||||
.question_Text{
|
||||
@ -180,32 +184,14 @@
|
||||
}
|
||||
|
||||
|
||||
/* Style for the Choose File button */
|
||||
.file-input {
|
||||
background-color: #533dfd;
|
||||
color: #fff;
|
||||
border: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Style for the Submit button */
|
||||
.submit-button {
|
||||
background-color: #2ecc71;
|
||||
color: #fff;
|
||||
border: none;
|
||||
padding: 10px 20px;
|
||||
height: 55px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
body {
|
||||
background-image: url('assets/images/bg1-1.png');
|
||||
background-size: cover; /* Adjust as needed */
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
background-color: #00000073;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -252,7 +238,56 @@
|
||||
/* p.question_Text:not(:first-of-type) {
|
||||
margin-left: 34px;
|
||||
} */
|
||||
|
||||
|
||||
.main-header {
|
||||
position: fixed!important;
|
||||
top: 0!important;
|
||||
width: 100%!important;
|
||||
background-color: #fff!important;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1)!important;
|
||||
z-index: 999!important;
|
||||
border-bottom: 2px solid #A8DADC !important;
|
||||
}
|
||||
|
||||
.nav-menu {
|
||||
margin-top: -9px!important;
|
||||
}
|
||||
|
||||
.logo-d{
|
||||
width: 150px!important;
|
||||
padding-top: 10px !important;
|
||||
}
|
||||
|
||||
.heder-menu ul li a {
|
||||
font-weight: 400 !important;
|
||||
color: #1d3557 !important;
|
||||
}
|
||||
.heder-menu ul li a:hover {
|
||||
filter: invert(23%) sepia(67%) saturate(2476%) hue-rotate(335deg) brightness(89%) contrast(89%);
|
||||
}
|
||||
|
||||
/* .row.section {
|
||||
box-shadow: 8px 9px 35px 0px rgb(145 145 145 / 24%) !important;
|
||||
background: #fff !important;
|
||||
} */
|
||||
|
||||
.QuestionPaperClass{
|
||||
width: 100%;
|
||||
position: relative;
|
||||
padding: 55px 60px 55px 60px !important;
|
||||
margin-top: 50px;
|
||||
background-color: #FFFFFF;
|
||||
color: #1D3557;
|
||||
border-radius: 10px;
|
||||
margin-bottom: 50px;
|
||||
border-bottom: 4px solid;
|
||||
box-shadow: 13px 14px 40px 5px rgba(8, 8, 8, 0.24);
|
||||
}
|
||||
|
||||
.QuestionPaperClass h1{
|
||||
color: #1d3557 !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
@ -272,15 +307,14 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div id="sticky-header" class="nav-menu">
|
||||
<div class="nav-menu">
|
||||
<div class="header-logo">
|
||||
<a href="dashboard.html" ><h2 style="margin-top: 25px;"><img src="assets/images/fav-icon/icon.png" alt=""> PROJECT-B</h2></a>
|
||||
<a class="main_sticky" href="dashboard.html" class="project"><h2><img src="assets/images/fav-icon/icon.png" alt=""> PROJECT-B</h2></a>
|
||||
<a href="dashboard.html" ><img class="logo-d" src="assets/images/project-b-logo.png" alt=""></a>
|
||||
</div>
|
||||
<div class="heder-menu">
|
||||
<ul>
|
||||
<li><a href="dashboard.html"><i class="fa fa-home" aria-hidden="true" style="font-size: 24px;"></i> Home</a></li>
|
||||
<li><a id="editlink" href=""><i class="fa fa-pencil-square-o" aria-hidden="true" style="font-size: 24px;"></i> Edit</a></li>
|
||||
<li><a href="dashboard.html"><img class="addPageMenu" src="assets/images/home.svg" alt="">Home</a></li>
|
||||
<li><a id="editlink" href=""><img class="addPageMenu" src="assets/images/edit3.svg" alt="">Edit</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@ -288,24 +322,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mobile-menu-area d-sm-block d-md-block d-lg-none ">
|
||||
<div class="mobile-menu">
|
||||
<nav class="itsoft_menu">
|
||||
<ul class="nav_scroll">
|
||||
<li><a href="dashboard.html">home </a></li>
|
||||
<li><a href="addform.html">Add New</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="container" style=" margin-top: 6%; max-width: 75%;">
|
||||
<div class="row section QuestionPaperClass" id="QuestionPaper">
|
||||
<div class="question-papper-title" style="border: 2px solid; margin-bottom: 25px;">
|
||||
<div class="row section" id="QuestionPaper">
|
||||
<div class="QuestionPaperClass">
|
||||
<pre id="questionPaper"></pre>
|
||||
</div>
|
||||
</div>
|
||||
@ -315,7 +335,7 @@
|
||||
|
||||
<div class="copy-right-area">
|
||||
<div class="copy-left">
|
||||
<span style="color: #533dfd;">© 2023 Project-B. All rights reserved.</span>
|
||||
<span style="color: #1D3557;">© 2023 Project-B. All rights reserved.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
1113
addform.html
@ -361,18 +361,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mobile-menu-area d-sm-block d-md-block d-lg-none ">
|
||||
<div class="mobile-menu">
|
||||
<nav class="itsoft_menu">
|
||||
<ul class="nav_scroll">
|
||||
<li><a href="dashboard.html"><i class="fa fa-home" aria-hidden="true" style="font-size: 24px;"></i> Home</a></li>
|
||||
<li><a href="#" class="myBtn" onclick="saveFile()" id="SaveButton2"><i class="fa fa-floppy-o" aria-hidden="true" style="font-size: 20px;"></i> Save</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- QuestionPapper Container start -->
|
||||
<div class="d-flex" id="wrapper">
|
||||
<!-- Sidebar-->
|
||||
|
||||
8
assets/images/Group.svg
Normal file
@ -0,0 +1,8 @@
|
||||
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M23.3486 21.578H11.2345C10.7352 21.578 10.3306 21.1733 10.3306 20.674C10.3306 20.1747 10.7352 19.7701 11.2345 19.7701H23.3483C23.8476 19.7701 24.2523 20.1747 24.2523 20.674C24.2523 21.1733 23.8479 21.578 23.3486 21.578Z" fill="#4F4F4F"/>
|
||||
<path d="M23.3486 15.9039H11.2345C10.7352 15.9039 10.3306 15.4992 10.3306 14.9999C10.3306 14.5007 10.7352 14.096 11.2345 14.096H23.3483C23.8476 14.096 24.2523 14.5007 24.2523 14.9999C24.2526 15.4992 23.8479 15.9039 23.3486 15.9039Z" fill="#4F4F4F"/>
|
||||
<path d="M23.3486 10.2298H11.2345C10.7352 10.2298 10.3306 9.82514 10.3306 9.32586C10.3306 8.82658 10.7352 8.42191 11.2345 8.42191H23.3483C23.8476 8.42191 24.2523 8.82658 24.2523 9.32586C24.2523 9.82514 23.8479 10.2298 23.3486 10.2298Z" fill="#4F4F4F"/>
|
||||
<path d="M7.35023 10.6098C8.02071 10.6098 8.56424 10.0662 8.56424 9.39577C8.56424 8.72529 8.02071 8.18176 7.35023 8.18176C6.67976 8.18176 6.13623 8.72529 6.13623 9.39577C6.13623 10.0662 6.67976 10.6098 7.35023 10.6098Z" fill="#4F4F4F"/>
|
||||
<path d="M7.35023 16.2139C8.02071 16.2139 8.56424 15.6704 8.56424 14.9999C8.56424 14.3295 8.02071 13.7859 7.35023 13.7859C6.67976 13.7859 6.13623 14.3295 6.13623 14.9999C6.13623 15.6704 6.67976 16.2139 7.35023 16.2139Z" fill="#4F4F4F"/>
|
||||
<path d="M7.35023 21.8181C8.02071 21.8181 8.56424 21.2746 8.56424 20.6041C8.56424 19.9336 8.02071 19.3901 7.35023 19.3901C6.67976 19.3901 6.13623 19.9336 6.13623 20.6041C6.13623 21.2746 6.67976 21.8181 7.35023 21.8181Z" fill="#4F4F4F"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 350 KiB |
BIN
assets/images/bg1.png
Normal file
|
After Width: | Height: | Size: 17 KiB |
13
assets/images/choice.svg
Normal file
@ -0,0 +1,13 @@
|
||||
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M20.5857 17.8829C20.4167 17.8829 20.2798 17.7494 20.2798 17.5847L20.2793 15.1834C20.2793 14.8592 20.0068 14.5955 19.6719 14.5955C19.337 14.5955 19.0646 14.8593 19.0646 15.1835C19.0646 15.3482 18.9276 15.4818 18.7587 15.4818C18.5897 15.4818 18.4528 15.3483 18.4527 15.1836C18.4527 14.5304 18.9995 13.999 19.6718 13.999C20.3441 13.9989 20.8911 14.5303 20.8912 15.1834L20.8916 17.5846C20.8917 17.7494 20.7547 17.883 20.5857 17.883L20.5857 17.8829Z" fill="#4F4F4F"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M22.4127 17.948C22.2438 17.948 22.1069 17.8145 22.1068 17.6497L22.1064 15.7616C22.1063 15.4374 21.8339 15.1737 21.4989 15.1737C21.1641 15.1737 20.8916 15.4375 20.8916 15.7617C20.8916 15.9265 20.7547 16.06 20.5857 16.0601C20.4168 16.0601 20.2798 15.9266 20.2798 15.7618C20.2797 15.1087 20.8266 14.5772 21.4989 14.5772C22.1712 14.5771 22.7182 15.1085 22.7183 15.7616L22.7187 17.6497C22.7188 17.8145 22.5818 17.9481 22.4128 17.9481C22.4127 17.948 22.4127 17.948 22.4127 17.948Z" fill="#4F4F4F"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.8501 24.5454C17.5709 24.5455 17.3352 24.3327 17.3133 24.0611C17.2171 22.8604 16.1956 21.7218 15.2944 20.7173C14.4718 19.8003 13.7613 19.0084 13.7136 18.211C13.6842 17.7173 13.9057 17.253 14.3063 16.969C14.9527 16.5108 15.8629 16.6485 16.3353 17.276L16.6261 17.6623L16.6257 12.4527C16.6256 12.136 16.7526 11.8383 16.9832 11.6145C17.2134 11.3911 17.5194 11.268 17.8448 11.268C18.1701 11.268 18.4762 11.391 18.7064 11.6144C18.9371 11.8382 19.0641 12.1358 19.0641 12.4525L19.0646 17.5848C19.0646 17.7495 18.9276 17.8831 18.7587 17.8831C18.5897 17.8831 18.4528 17.7496 18.4527 17.5849L18.4523 12.4526C18.4523 12.2958 18.3893 12.1483 18.2749 12.0373C18.1601 11.926 18.0074 11.8646 17.8449 11.8647C17.6824 11.8647 17.5297 11.926 17.4149 12.0374C17.3005 12.1485 17.2375 12.2959 17.2376 12.4527L17.238 18.4375C17.238 18.586 17.1408 18.7169 16.9961 18.7631C16.8513 18.8094 16.6935 18.76 16.6034 18.6403L15.8421 17.629C15.5685 17.2655 15.0409 17.1859 14.6661 17.4517C14.4349 17.6156 14.3072 17.8865 14.3245 18.1764C14.36 18.7696 15.0376 19.525 15.755 20.3246C16.7037 21.3821 17.7771 22.5784 17.9174 23.949L22.8576 23.9485C22.9018 22.6272 23.2063 21.9311 23.4754 21.3156C23.7209 20.7542 23.9328 20.2695 23.9328 19.3678L23.9335 16.5443C23.9334 16.2203 23.661 15.9565 23.326 15.9565C23.1635 15.9565 23.0108 16.0179 22.896 16.1293C22.7816 16.2403 22.7187 16.3878 22.7187 16.5445C22.7187 16.7093 22.5818 16.8428 22.4128 16.8428C22.2439 16.8428 22.1069 16.7093 22.1069 16.5446C22.1068 16.2279 22.2338 15.9302 22.4644 15.7065C22.6946 15.483 23.0006 15.36 23.326 15.36C23.9983 15.3599 24.5452 15.8912 24.5453 16.5444L24.5446 19.3678C24.5447 20.3913 24.2873 20.9802 24.0382 21.5496C23.7736 22.1548 23.5 22.7805 23.4672 24.0329C23.4597 24.3202 23.2232 24.5452 22.9289 24.5452L17.8501 24.5454Z" fill="#4F4F4F"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.84993 8.39885H6.44215C6.27321 8.39885 6.13623 8.26529 6.13623 8.10055V5.75282C6.13623 5.58809 6.27321 5.45453 6.44215 5.45453H8.84993C9.01888 5.45453 9.15585 5.58809 9.15585 5.75282V8.10055C9.15585 8.26529 9.01888 8.39885 8.84993 8.39885ZM6.74808 7.80226H8.544V6.05112H6.74808V7.80226Z" fill="#4F4F4F"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M24.2393 7.22499H11.2959C11.127 7.22499 10.99 7.09143 10.99 6.92669C10.99 6.76195 11.127 6.62839 11.2959 6.62839H24.2393C24.4082 6.62839 24.5452 6.76195 24.5452 6.92669C24.5452 7.09148 24.4082 7.22499 24.2393 7.22499Z" fill="#4F4F4F"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.84993 13.0384H6.44215C6.27321 13.0384 6.13623 12.9049 6.13623 12.7401V10.3924C6.13623 10.2277 6.27321 10.0941 6.44215 10.0941H8.84993C9.01888 10.0941 9.15585 10.2277 9.15585 10.3924V12.7401C9.15585 12.9049 9.01888 13.0384 8.84993 13.0384ZM6.74808 12.4418H8.544V10.6907H6.74808V12.4418Z" fill="#4F4F4F"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M24.2393 11.8646H11.2959C11.127 11.8646 10.99 11.731 10.99 11.5663C10.99 11.4015 11.127 11.268 11.2959 11.268H24.2393C24.4082 11.268 24.5452 11.4015 24.5452 11.5663C24.5452 11.731 24.4082 11.8646 24.2393 11.8646Z" fill="#4F4F4F"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.84993 17.678H6.44215C6.27321 17.678 6.13623 17.5445 6.13623 17.3797V15.032C6.13623 14.8673 6.27321 14.7337 6.44215 14.7337H8.84993C9.01888 14.7337 9.15585 14.8673 9.15585 15.032V17.3797C9.15585 17.5444 9.01888 17.678 8.84993 17.678ZM6.74808 17.0814H8.544V15.3303H6.74808V17.0814Z" fill="#4F4F4F"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.9922 16.5041H11.2959C11.127 16.5041 10.99 16.3706 10.99 16.2059C10.99 16.0411 11.127 15.9076 11.2959 15.9076H12.9922C13.1611 15.9076 13.2981 16.0411 13.2981 16.2059C13.2981 16.3706 13.1611 16.5041 12.9922 16.5041Z" fill="#4F4F4F"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M8.84993 22.3175H6.44215C6.27321 22.3175 6.13623 22.184 6.13623 22.0192V19.6715C6.13623 19.5068 6.27321 19.3732 6.44215 19.3732H8.84993C9.01888 19.3732 9.15585 19.5068 9.15585 19.6715V22.0192C9.15585 22.184 9.01888 22.3175 8.84993 22.3175ZM6.74808 21.721H8.544V19.9698H6.74808V21.721Z" fill="#4F4F4F"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M13.4875 21.1437H11.2959C11.127 21.1437 10.99 21.0101 10.99 20.8454C10.99 20.6806 11.127 20.5471 11.2959 20.5471H13.4875C13.6565 20.5471 13.7935 20.6806 13.7935 20.8454C13.7935 21.0102 13.6565 21.1437 13.4875 21.1437Z" fill="#4F4F4F"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.4 KiB |
3
assets/images/download.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="18" height="17" viewBox="0 0 18 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M14.0558 17H4.61138C3.60237 17 2.6537 16.607 1.94012 15.8935C1.22658 15.18 0.833618 14.2313 0.833618 13.2222V12.2777C0.833618 11.7561 1.25644 11.3332 1.77807 11.3332C2.2997 11.3332 2.72252 11.7561 2.72252 12.2777V13.2222C2.72252 13.7267 2.91902 14.2011 3.27572 14.5578C3.63252 14.9146 4.10684 15.1111 4.61138 15.1111H14.0558C14.5603 15.1111 15.0346 14.9146 15.3914 14.5578C15.7482 14.201 15.9447 13.7267 15.9447 13.2222V12.2777C15.9447 11.7561 16.3675 11.3332 16.8891 11.3332C17.4107 11.3332 17.8336 11.7561 17.8336 12.2777V13.2222C17.8336 14.2312 17.4407 15.1799 16.7271 15.8935C16.0135 16.607 15.0648 17 14.0558 17ZM9.3336 13.2222C9.20295 13.2222 9.07858 13.1956 8.96542 13.1477C8.85984 13.1031 8.76064 13.0383 8.67384 12.9535C8.6738 12.9535 8.67387 12.9535 8.67384 12.9535C8.67321 12.953 8.67252 12.9523 8.67189 12.9516C8.67172 12.9515 8.67205 12.9518 8.67189 12.9516C8.67136 12.9512 8.67037 12.9502 8.66988 12.9497C8.66955 12.9493 8.66925 12.9491 8.66892 12.9487C8.66859 12.9484 8.66816 12.9479 8.66786 12.9477C8.6672 12.947 8.66648 12.9463 8.66582 12.9456L4.88802 9.1678C4.51921 8.79899 4.51921 8.20098 4.88802 7.83213C5.25683 7.46332 5.85487 7.46329 6.22368 7.83213L8.38918 9.99764V0.94445C8.38915 0.42282 8.81197 0 9.3336 0C9.85523 0 10.2781 0.42282 10.2781 0.94445V9.9976L12.4436 7.83213C12.8123 7.46332 13.4104 7.46332 13.7792 7.83213C14.148 8.20095 14.148 8.79899 13.7792 9.1678L10.0014 12.9456C10.0008 12.9462 10 12.9469 9.99937 12.9476C9.99901 12.9479 9.99861 12.9484 9.99832 12.9486C9.99799 12.949 9.99769 12.9493 9.99736 12.9496C9.9969 12.9501 9.99637 12.9506 9.99591 12.951C9.99574 12.9512 9.99607 12.9509 9.99591 12.951C9.99531 12.9517 9.99413 12.9528 9.9935 12.9534C9.99347 12.9534 9.99353 12.9534 9.9935 12.9534C9.98311 12.9635 9.97252 12.9734 9.96176 12.983C9.88268 13.0535 9.79459 13.1085 9.70146 13.1478C9.70113 13.1479 9.70086 13.1481 9.70053 13.1482C9.70017 13.1483 9.69987 13.1485 9.69951 13.1486C9.58694 13.196 9.46336 13.2222 9.3336 13.2222Z" fill="#BF303B"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
BIN
assets/images/download2.png
Normal file
|
After Width: | Height: | Size: 398 B |
4
assets/images/edit.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="18" height="17" viewBox="0 0 18 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M14.7977 8.5C14.4623 8.5 14.1905 8.77183 14.1905 9.10716V15.1786C14.1905 15.5139 13.9187 15.7857 13.5834 15.7857H2.6548C2.31948 15.7857 2.04765 15.5139 2.04765 15.1786V3.03571C2.04765 2.70039 2.31948 2.42856 2.6548 2.42856H9.94053C10.2759 2.42856 10.5477 2.15673 10.5477 1.8214C10.5477 1.48608 10.2759 1.21428 9.94053 1.21428H2.6548C1.64886 1.21428 0.833374 2.02977 0.833374 3.03571V15.1786C0.833374 16.1845 1.64886 17 2.6548 17H13.5834C14.5893 17 15.4048 16.1845 15.4048 15.1786V9.10713C15.4048 8.77183 15.133 8.5 14.7977 8.5Z" fill="#BF303B"/>
|
||||
<path d="M17.153 0.68084C16.7171 0.244835 16.1258 -6.1544e-05 15.5093 9.6056e-06C14.8924 -0.00176913 14.3005 0.243555 13.8657 0.681232L5.86842 8.67788C5.80207 8.74472 5.75202 8.82598 5.7221 8.91527L4.50783 12.5581C4.40185 12.8763 4.57385 13.2201 4.892 13.326C4.95372 13.3466 5.01836 13.3571 5.08339 13.3571C5.14856 13.357 5.21334 13.3466 5.27524 13.3262L8.91811 12.1119C9.00758 12.082 9.08886 12.0317 9.1555 11.965L17.1528 3.9677C18.0605 3.06012 18.0606 1.58853 17.153 0.68084ZM16.2943 3.10978L8.40142 11.0027L6.04327 11.7901L6.8283 9.43498L14.7242 1.54214C15.1583 1.10891 15.8614 1.10962 16.2947 1.54371C16.5016 1.75107 16.6182 2.03179 16.6191 2.32475C16.6198 2.61928 16.5029 2.90188 16.2943 3.10978Z" fill="#BF303B"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/images/edit2.png
Normal file
|
After Width: | Height: | Size: 396 B |
4
assets/images/edit3.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12.3214 7.5C12.0256 7.5 11.7857 7.73985 11.7857 8.03573V13.3929C11.7857 13.6887 11.5459 13.9286 11.25 13.9286H1.60714C1.31127 13.9286 1.07142 13.6887 1.07142 13.3929V2.67857C1.07142 2.38269 1.31127 2.14285 1.60714 2.14285H8.03572C8.3316 2.14285 8.57145 1.903 8.57145 1.60712C8.57145 1.31124 8.3316 1.07143 8.03572 1.07143H1.60714C0.719542 1.07143 0 1.79097 0 2.67857V13.3929C0 14.2805 0.719542 15 1.60714 15H11.25C12.1376 15 12.8572 14.2805 12.8572 13.3929V8.0357C12.8572 7.73985 12.6173 7.5 12.3214 7.5Z" fill="#1D3557"/>
|
||||
<path d="M14.3997 0.600741C14.0151 0.216031 13.4933 -5.43035e-05 12.9493 8.47553e-06C12.405 -0.001561 11.8827 0.214901 11.4992 0.601087L4.44269 7.65695C4.38415 7.71593 4.33998 7.78763 4.31358 7.86641L3.24216 11.0807C3.14865 11.3614 3.30042 11.6648 3.58114 11.7582C3.6356 11.7764 3.69263 11.7857 3.75001 11.7857C3.80752 11.7856 3.86468 11.7764 3.9193 11.7584L7.13359 10.687C7.21253 10.6606 7.28426 10.6162 7.34305 10.5573L14.3995 3.50092C15.2004 2.70011 15.2005 1.40165 14.3997 0.600741ZM13.642 2.74392L6.67768 9.70823L4.59697 10.403L5.28964 8.32498L12.2566 1.36071C12.6396 0.978452 13.26 0.979079 13.6423 1.36209C13.8249 1.54506 13.9278 1.79276 13.9286 2.05125C13.9292 2.31113 13.8261 2.56048 13.642 2.74392Z" fill="#1D3557"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
BIN
assets/images/file-1.png
Normal file
|
After Width: | Height: | Size: 468 B |
3
assets/images/file-2.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="14" height="17" viewBox="0 0 14 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.448332 0.047972C0.37084 0.0815729 0.244036 0.182156 0.166544 0.271491C0.0276932 0.43146 0.0253684 0.550013 0.00775669 8.40641C-0.00985505 16.2729 -0.00823481 16.3822 0.131109 16.6182C0.208742 16.7497 0.353581 16.8895 0.452981 16.9286C0.565485 16.973 3.03754 16.9998 7.008 16.9998C14.0107 16.9998 13.6745 17.0212 13.9041 16.5607C13.9996 16.3692 14.0103 15.6389 13.9934 10.4444L13.9741 4.5456L13.7732 4.13428C13.4961 3.56745 10.4819 0.452205 9.95867 0.191945L9.60643 0.0167816L5.09783 0.00180726C2.6181 -0.00644688 0.525823 0.0143711 0.448332 0.047972ZM1.09475 1.19705C1.03565 1.25826 1.03086 15.5561 1.08989 15.7156C1.12843 15.8196 1.71539 15.8311 7.00743 15.8311H12.8822V10.9371V6.04303H10.9062C8.80637 6.04303 8.7162 6.02988 8.4087 5.67773C8.27647 5.52638 8.26583 5.38526 8.23272 3.35109L8.19749 1.18551L4.66994 1.16659C2.72976 1.15614 1.12096 1.16988 1.09475 1.19705ZM9.32923 1.34562C9.27547 1.49077 9.27822 4.61295 9.33218 4.75875C9.36959 4.85977 9.59136 4.8743 11.0934 4.8743C12.6638 4.8743 12.8118 4.86364 12.8118 4.75013C12.8118 4.60491 9.68209 1.32305 9.49534 1.27243C9.42433 1.25322 9.35156 1.28529 9.32923 1.34562ZM3.58829 7.38802C3.53863 7.45003 3.51418 7.67567 3.52686 7.95412L3.548 8.41701L6.96009 8.436C9.64307 8.4509 10.3842 8.43527 10.4285 8.36295C10.5164 8.21935 10.4967 7.47019 10.4025 7.37246C10.3392 7.30679 9.48548 7.2848 6.9944 7.2848C4.21745 7.2848 3.65733 7.30175 3.58829 7.38802ZM3.54222 9.8671C3.52186 9.92225 3.51482 10.1609 3.52658 10.3974L3.548 10.8275H6.9999H10.4518V10.3162V9.80487L7.01554 9.78588C4.1568 9.77017 3.57308 9.78376 3.54222 9.8671ZM3.55976 12.2276C3.47762 12.3127 3.50876 13.1681 3.59731 13.2599C3.71904 13.3861 10.2808 13.3861 10.4025 13.2599C10.4902 13.169 10.5192 12.497 10.4443 12.2944C10.4061 12.1913 10.0371 12.1788 7.00412 12.1788C5.13552 12.1788 3.58555 12.2008 3.55976 12.2276Z" fill="#457B9D"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
6
assets/images/home.svg
Normal file
@ -0,0 +1,6 @@
|
||||
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M5.78121 5.00004H1.09371C0.490608 5.00004 2.23517e-07 4.50943 2.23517e-07 3.90621V1.09371C2.23517e-07 0.490608 0.490608 2.23517e-07 1.09371 2.23517e-07H5.78121C6.38443 2.23517e-07 6.87504 0.490608 6.87504 1.09371V3.90621C6.87504 4.50943 6.38443 5.00004 5.78121 5.00004ZM1.09371 0.9375C1.00754 0.9375 0.9375 1.00754 0.9375 1.09371V3.90621C0.9375 3.9925 1.00754 4.06254 1.09371 4.06254H5.78121C5.8675 4.06254 5.93754 3.9925 5.93754 3.90621V1.09371C5.93754 1.00754 5.8675 0.9375 5.78121 0.9375H1.09371Z" fill="#1D3557"/>
|
||||
<path d="M5.78121 15H1.09371C0.490608 15 0 14.5094 0 13.9063V7.34379C0 6.74057 0.490608 6.24996 1.09371 6.24996H5.78121C6.38443 6.24996 6.87504 6.74057 6.87504 7.34379V13.9063C6.87504 14.5094 6.38443 15 5.78121 15ZM1.09371 7.18746C1.00754 7.18746 0.9375 7.2575 0.9375 7.34379V13.9063C0.9375 13.9925 1.00754 14.0625 1.09371 14.0625H5.78121C5.8675 14.0625 5.93754 13.9925 5.93754 13.9063V7.34379C5.93754 7.2575 5.8675 7.18746 5.78121 7.18746H1.09371Z" fill="#1D3557"/>
|
||||
<path d="M13.9063 15H9.21879C8.61557 15 8.12496 14.5094 8.12496 13.9063V11.0938C8.12496 10.4906 8.61557 9.99996 9.21879 9.99996H13.9063C14.5094 9.99996 15 10.4906 15 11.0938V13.9063C15 14.5094 14.5094 15 13.9063 15ZM9.21879 10.9375C9.1325 10.9375 9.06246 11.0075 9.06246 11.0938V13.9063C9.06246 13.9925 9.1325 14.0625 9.21879 14.0625H13.9063C13.9925 14.0625 14.0625 13.9925 14.0625 13.9063V11.0938C14.0625 11.0075 13.9925 10.9375 13.9063 10.9375H9.21879Z" fill="#1D3557"/>
|
||||
<path d="M13.9063 8.75004H9.21879C8.61557 8.75004 8.12496 8.25943 8.12496 7.65621V1.09371C8.12496 0.490608 8.61557 0 9.21879 0H13.9063C14.5094 0 15 0.490608 15 1.09371V7.65621C15 8.25943 14.5094 8.75004 13.9063 8.75004ZM9.21879 0.9375C9.1325 0.9375 9.06246 1.00754 9.06246 1.09371V7.65621C9.06246 7.7425 9.1325 7.81254 9.21879 7.81254H13.9063C13.9925 7.81254 14.0625 7.7425 14.0625 7.65621V1.09371C14.0625 1.00754 13.9925 0.9375 13.9063 0.9375H9.21879Z" fill="#1D3557"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
4
assets/images/line.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="1075" height="20" viewBox="0 0 1075 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M556.8 10L540.421 20L524 10L540.421 0L556.8 10Z" fill="#1D3557"/>
|
||||
<path d="M1075 9H0V11H1075V9Z" fill="#1D3557"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 230 B |
4
assets/images/line2.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="1073" height="20" viewBox="0 0 1073 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M554.8 10L538.421 20L522 10L538.421 0L554.8 10Z" fill="#1D3557"/>
|
||||
<line y1="10" x2="1073" y2="10" stroke="#1D3557" stroke-width="2" stroke-dasharray="4 4"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 273 B |
13
assets/images/navchoice.svg
Normal file
@ -0,0 +1,13 @@
|
||||
<svg width="18" height="19" viewBox="0 0 18 19" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.1283 12.1522C13.9632 12.1522 13.8293 12.0217 13.8292 11.8606L13.8288 9.51269C13.8288 9.19565 13.5623 8.93781 13.2349 8.93781C12.9074 8.93786 12.641 9.19575 12.641 9.51274C12.641 9.67381 12.5071 9.80441 12.342 9.80446C12.1768 9.80446 12.0428 9.67391 12.0428 9.51284C12.0427 8.87421 12.5775 8.35458 13.2348 8.35458C13.8922 8.35453 14.427 8.87406 14.4271 9.51269L14.4275 11.8606C14.4275 12.0216 14.2936 12.1523 14.1284 12.1523L14.1283 12.1522Z" fill="black"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.9148 12.2158C15.7496 12.2158 15.6157 12.0853 15.6157 11.9242L15.6153 10.078C15.6152 9.76101 15.3488 9.50317 15.0213 9.50317C14.6939 9.50322 14.4275 9.76111 14.4275 10.0781C14.4275 10.2392 14.2936 10.3698 14.1284 10.3699C13.9632 10.3699 13.8293 10.2393 13.8293 10.0782C13.8292 9.43962 14.364 8.91999 15.0213 8.91994C15.6787 8.91989 16.2135 9.43942 16.2136 10.078L16.214 11.9242C16.214 12.0853 16.0801 12.2159 15.9149 12.2159C15.9148 12.2158 15.9148 12.2158 15.9148 12.2158Z" fill="black"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M11.4536 18.6667C11.1806 18.6667 10.9501 18.4587 10.9287 18.1931C10.8346 17.0191 9.83584 15.9058 8.95466 14.9236C8.1503 14.027 7.45561 13.2527 7.40902 12.473C7.3802 11.9902 7.59681 11.5363 7.98853 11.2586C8.62059 10.8106 9.51054 10.9452 9.97242 11.5588L10.2567 11.9365L10.2563 6.84262C10.2563 6.53298 10.3804 6.24192 10.6059 6.02312C10.831 5.80467 11.1302 5.68431 11.4484 5.68431C11.7665 5.68426 12.0657 5.80457 12.2909 6.02297C12.5164 6.24177 12.6406 6.53278 12.6406 6.84242L12.641 11.8607C12.641 12.0218 12.5071 12.1524 12.342 12.1524C12.1768 12.1524 12.0428 12.0219 12.0428 11.8608L12.0424 6.84252C12.0424 6.68924 11.9808 6.54503 11.8689 6.43652C11.7567 6.32765 11.6074 6.26764 11.4485 6.26769C11.2896 6.26769 11.1403 6.3277 11.028 6.43662C10.9162 6.54518 10.8546 6.68934 10.8546 6.84262L10.8551 12.6944C10.8551 12.8397 10.76 12.9676 10.6185 13.0128C10.4769 13.0581 10.3226 13.0098 10.2345 12.8928L9.49018 11.9039C9.22263 11.5485 8.70679 11.4707 8.34037 11.7305C8.11425 11.8908 7.98941 12.1557 8.00634 12.4391C8.04098 13.0192 8.70352 13.7578 9.40501 14.5396C10.3327 15.5736 11.3822 16.7433 11.5194 18.0834L16.3498 18.083C16.393 16.791 16.6907 16.1104 16.9538 15.5086C17.1939 14.9597 17.4011 14.4857 17.4011 13.6041L17.4018 10.8434C17.4017 10.5265 17.1353 10.2686 16.8078 10.2686C16.6489 10.2686 16.4996 10.3286 16.3874 10.4376C16.2755 10.5461 16.214 10.6903 16.214 10.8436C16.214 11.0046 16.0801 11.1352 15.9149 11.1352C15.7497 11.1352 15.6158 11.0047 15.6157 10.8436C15.6157 10.534 15.7398 10.2429 15.9653 10.0241C16.1904 9.80562 16.4896 9.68531 16.8078 9.68531C17.4651 9.68526 17.9999 10.2048 18 10.8434L17.9993 13.6041C17.9994 14.6049 17.7477 15.1806 17.5042 15.7374C17.2454 16.3291 16.9779 16.941 16.9458 18.1655C16.9385 18.4464 16.7073 18.6664 16.4195 18.6664L11.4536 18.6667Z" fill="black"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.65339 2.87889H0.299126C0.133931 2.87889 0 2.7483 0 2.58722V0.291667C0 0.130592 0.133931 0 0.299126 0H2.65339C2.81859 0 2.95252 0.130592 2.95252 0.291667V2.58722C2.95252 2.7483 2.81859 2.87889 2.65339 2.87889ZM0.598251 2.29556H2.35427V0.583333H0.598251V2.29556Z" fill="black"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.7008 1.73111H5.04505C4.87985 1.73111 4.74592 1.60052 4.74592 1.43945C4.74592 1.27837 4.87985 1.14778 5.04505 1.14778H17.7008C17.866 1.14778 17.9999 1.27837 17.9999 1.43945C17.9999 1.60057 17.866 1.73111 17.7008 1.73111Z" fill="black"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.65339 7.41537H0.299126C0.133931 7.41537 0 7.28478 0 7.1237V4.82815C0 4.66707 0.133931 4.53648 0.299126 4.53648H2.65339C2.81859 4.53648 2.95252 4.66707 2.95252 4.82815V7.1237C2.95252 7.28478 2.81859 7.41537 2.65339 7.41537ZM0.598251 6.83204H2.35427V5.11981H0.598251V6.83204Z" fill="black"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.7008 6.26759H5.04505C4.87985 6.26759 4.74592 6.137 4.74592 5.97593C4.74592 5.81485 4.87985 5.68426 5.04505 5.68426H17.7008C17.866 5.68426 17.9999 5.81485 17.9999 5.97593C17.9999 6.137 17.866 6.26759 17.7008 6.26759Z" fill="black"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.65339 11.9519H0.299126C0.133931 11.9519 0 11.8213 0 11.6602V9.36463C0 9.20355 0.133931 9.07296 0.299126 9.07296H2.65339C2.81859 9.07296 2.95252 9.20355 2.95252 9.36463V11.6602C2.95252 11.8212 2.81859 11.9519 2.65339 11.9519ZM0.598251 11.3685H2.35427V9.65629H0.598251V11.3685Z" fill="black"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.70359 10.8041H5.04505C4.87985 10.8041 4.74592 10.6735 4.74592 10.5124C4.74592 10.3513 4.87985 10.2207 5.04505 10.2207H6.70359C6.86878 10.2207 7.00271 10.3513 7.00271 10.5124C7.00271 10.6735 6.86878 10.8041 6.70359 10.8041Z" fill="black"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M2.65339 16.4883H0.299126C0.133931 16.4883 0 16.3577 0 16.1966V13.9011C0 13.74 0.133931 13.6094 0.299126 13.6094H2.65339C2.81859 13.6094 2.95252 13.74 2.95252 13.9011V16.1966C2.95252 16.3577 2.81859 16.4883 2.65339 16.4883ZM0.598251 15.9049H2.35427V14.1927H0.598251V15.9049Z" fill="black"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.18795 15.3405H5.04505C4.87985 15.3405 4.74592 15.2099 4.74592 15.0488C4.74592 14.8878 4.87985 14.7572 5.04505 14.7572H7.18795C7.35315 14.7572 7.48708 14.8878 7.48708 15.0488C7.48708 15.21 7.3532 15.3405 7.18795 15.3405Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.4 KiB |
11
assets/images/navtext.svg
Normal file
@ -0,0 +1,11 @@
|
||||
<svg width="18" height="22" viewBox="0 0 18 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M15.75 21.4286H2.25C1.0098 21.4286 0 20.4268 0 19.1964V2.23214C0 1.00179 1.0098 0 2.25 0H15.75C16.9902 0 18 1.00179 18 2.23214V19.1964C18 20.4268 16.9902 21.4286 15.75 21.4286ZM2.25 0.892857C1.5057 0.892857 0.9 1.49375 0.9 2.23214V19.1964C0.9 19.9348 1.5057 20.5357 2.25 20.5357H15.75C16.4943 20.5357 17.1 19.9348 17.1 19.1964V2.23214C17.1 1.49375 16.4943 0.892857 15.75 0.892857H2.25Z" fill="black"/>
|
||||
<path d="M8.55 8.92857C8.3016 8.92857 8.1 8.72857 8.1 8.48214V8.03571H3.6V8.48214C3.6 8.72857 3.3984 8.92857 3.15 8.92857C2.9016 8.92857 2.7 8.72857 2.7 8.48214V7.58929C2.7 7.34286 2.9016 7.14286 3.15 7.14286H8.55C8.7984 7.14286 9 7.34286 9 7.58929V8.48214C9 8.72857 8.7984 8.92857 8.55 8.92857Z" fill="black"/>
|
||||
<path d="M5.85 13.3929C5.6016 13.3929 5.4 13.1929 5.4 12.9464V7.58929C5.4 7.34286 5.6016 7.14286 5.85 7.14286C6.0984 7.14286 6.3 7.34286 6.3 7.58929V12.9464C6.3 13.1929 6.0984 13.3929 5.85 13.3929Z" fill="black"/>
|
||||
<path d="M6.75 13.3929H4.95C4.7016 13.3929 4.5 13.1929 4.5 12.9464C4.5 12.7 4.7016 12.5 4.95 12.5H6.75C6.9984 12.5 7.2 12.7 7.2 12.9464C7.2 13.1929 6.9984 13.3929 6.75 13.3929Z" fill="black"/>
|
||||
<path d="M14.85 8.03571H11.25C11.0016 8.03571 10.8 7.83571 10.8 7.58929C10.8 7.34286 11.0016 7.14286 11.25 7.14286H14.85C15.0984 7.14286 15.3 7.34286 15.3 7.58929C15.3 7.83571 15.0984 8.03571 14.85 8.03571Z" fill="black"/>
|
||||
<path d="M14.85 10.7143H11.25C11.0016 10.7143 10.8 10.5143 10.8 10.2679C10.8 10.0214 11.0016 9.82143 11.25 9.82143H14.85C15.0984 9.82143 15.3 10.0214 15.3 10.2679C15.3 10.5143 15.0984 10.7143 14.85 10.7143Z" fill="black"/>
|
||||
<path d="M14.85 13.3929H11.25C11.0016 13.3929 10.8 13.1929 10.8 12.9464C10.8 12.7 11.0016 12.5 11.25 12.5H14.85C15.0984 12.5 15.3 12.7 15.3 12.9464C15.3 13.1929 15.0984 13.3929 14.85 13.3929Z" fill="black"/>
|
||||
<path d="M14.85 16.0714H3.15C2.9016 16.0714 2.7 15.8714 2.7 15.625C2.7 15.3786 2.9016 15.1786 3.15 15.1786H14.85C15.0984 15.1786 15.3 15.3786 15.3 15.625C15.3 15.8714 15.0984 16.0714 14.85 16.0714Z" fill="black"/>
|
||||
<path d="M14.85 18.75H3.15C2.9016 18.75 2.7 18.55 2.7 18.3036C2.7 18.0571 2.9016 17.8571 3.15 17.8571H14.85C15.0984 17.8571 15.3 18.0571 15.3 18.3036C15.3 18.55 15.0984 18.75 14.85 18.75Z" fill="black"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
4
assets/images/new.svg
Normal file
@ -0,0 +1,4 @@
|
||||
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M7.5 15C7.30575 15 7.11946 14.9228 6.9821 14.7855C6.84474 14.6481 6.76758 14.4618 6.76758 14.2676V0.732422C6.76758 0.538172 6.84474 0.351877 6.9821 0.214521C7.11946 0.0771657 7.30575 0 7.5 0C7.69425 0 7.88054 0.0771657 8.0179 0.214521C8.15526 0.351877 8.23242 0.538172 8.23242 0.732422V14.2676C8.23242 14.4618 8.15526 14.6481 8.0179 14.7855C7.88054 14.9228 7.69425 15 7.5 15Z" fill="#1D3557"/>
|
||||
<path d="M14.2676 8.23242H0.732422C0.538172 8.23242 0.351877 8.15526 0.214521 8.0179C0.0771657 7.88054 0 7.69425 0 7.5C0 7.30575 0.0771657 7.11946 0.214521 6.9821C0.351877 6.84474 0.538172 6.76758 0.732422 6.76758H14.2676C14.4618 6.76758 14.6481 6.84474 14.7855 6.9821C14.9228 7.11946 15 7.30575 15 7.5C15 7.69425 14.9228 7.88054 14.7855 8.0179C14.6481 8.15526 14.4618 8.23242 14.2676 8.23242Z" fill="#1D3557"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 918 B |
3
assets/images/open.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="20" height="15" viewBox="0 0 20 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M19.4903 6.84783L17.2485 13.8587C17.0447 14.5516 16.3925 15 15.6996 15H1.63709C1.1072 15 0.658829 14.7554 0.332742 14.3478C-0.0748669 13.8179 0.00665483 13.0435 0.00665483 13.3696V1.22283C0.00665483 0.529891 0.536546 0 1.22948 0H5.71318C6.20231 0 6.69144 0.326087 6.85448 0.774457L7.22133 1.79348C7.26209 1.95652 7.42513 2.03804 7.58818 2.03804H14.8028C15.4958 2.03804 16.0257 2.56793 16.0257 3.26087V4.6875H17.9414C19.0827 4.6875 19.8164 5.74728 19.4903 6.84783ZM0.821872 10.5571L2.33002 5.86956C2.53383 5.17663 3.186 4.72826 3.87894 4.72826H15.2512V3.30163C15.2512 3.09783 15.0474 2.89402 14.8436 2.89402H7.62894C7.13981 2.89402 6.69144 2.56793 6.48763 2.11957L6.12078 1.10054C6.08002 0.9375 5.91698 0.855978 5.75394 0.855978H1.22948C0.984915 0.855978 0.821872 1.01902 0.821872 1.26359V10.5571ZM17.9414 5.54348H3.87894C3.51209 5.54348 3.22676 5.78804 3.10448 6.11413C0.862633 13.4511 0.577307 13.2065 0.984916 13.8587C1.14796 14.0625 1.39252 14.1848 1.63709 14.1848H15.6996C16.0257 14.1848 16.3518 13.9402 16.474 13.6141L18.7159 6.60326C18.8789 5.99185 18.4306 5.54348 17.9414 5.54348Z" fill="#1D3557"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
7
assets/images/preview.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M2.19727 5.56641H7.17773C7.42043 5.56641 7.61719 5.36965 7.61719 5.12695C7.61719 4.88426 7.42043 4.6875 7.17773 4.6875H2.19727C1.95457 4.6875 1.75781 4.88426 1.75781 5.12695C1.75781 5.36965 1.95457 5.56641 2.19727 5.56641Z" fill="#1D3557"/>
|
||||
<path d="M6.00586 6.44531H2.19727C1.95457 6.44531 1.75781 6.64207 1.75781 6.88477C1.75781 7.12746 1.95457 7.32422 2.19727 7.32422H6.00586C6.24855 7.32422 6.44531 7.12746 6.44531 6.88477C6.44531 6.64207 6.24855 6.44531 6.00586 6.44531Z" fill="#1D3557"/>
|
||||
<path d="M6.00586 8.20312H2.19727C1.95457 8.20312 1.75781 8.39988 1.75781 8.64258C1.75781 8.88527 1.95457 9.08203 2.19727 9.08203H6.00586C6.24855 9.08203 6.44531 8.88527 6.44531 8.64258C6.44531 8.39988 6.24855 8.20312 6.00586 8.20312Z" fill="#1D3557"/>
|
||||
<path d="M6.00586 9.96094H2.19727C1.95457 9.96094 1.75781 10.1577 1.75781 10.4004C1.75781 10.6431 1.95457 10.8398 2.19727 10.8398H6.00586C6.24855 10.8398 6.44531 10.6431 6.44531 10.4004C6.44531 10.1577 6.24855 9.96094 6.00586 9.96094Z" fill="#1D3557"/>
|
||||
<path d="M14.8713 12.3892L12.6738 10.1918C13.5752 8.98778 13.4792 7.26832 12.3854 6.17443C12.1049 5.89392 11.7796 5.67442 11.4258 5.52226V3.36914C11.4258 3.2526 11.3795 3.14083 11.2971 3.05842L8.36748 0.12873C8.2851 0.0463184 8.1733 0 8.05676 0H1.61133C0.722842 0 0 0.722842 0 1.61133V13.3887C0 14.2772 0.722842 15 1.61133 15H9.81445C10.7029 15 11.4258 14.2772 11.4258 13.3887V11.177C11.6473 11.0817 11.8575 10.96 12.0526 10.8135L14.2498 13.0107C14.3356 13.0965 14.4481 13.1394 14.5605 13.1394C14.673 13.1394 14.7855 13.0965 14.8712 13.0107C15.0429 12.8391 15.0429 12.5609 14.8713 12.3892ZM11.7639 9.90331C11.5097 10.1575 11.204 10.3414 10.8705 10.446C10.8603 10.4488 10.8502 10.4519 10.8403 10.4554C10.6385 10.5155 10.4268 10.5469 10.2102 10.5469C9.62329 10.5469 9.07148 10.3183 8.65649 9.90331C8.24147 9.48829 8.01293 8.93651 8.01293 8.34961C8.01293 7.7627 8.24147 7.21093 8.65649 6.79591C9.07148 6.38089 9.62329 6.15234 10.2102 6.15234C10.4268 6.15234 10.6386 6.18369 10.8405 6.24384C10.8503 6.24729 10.8602 6.2504 10.8704 6.25315C11.2039 6.35777 11.5097 6.54164 11.7639 6.79588C12.6206 7.65264 12.6206 9.04661 11.7639 9.90331ZM9.9254 2.92969H8.49609V1.50041L9.9254 2.92969ZM10.5469 13.3887C10.5469 13.7925 10.2183 14.1211 9.81445 14.1211H1.61133C1.20747 14.1211 0.878906 13.7925 0.878906 13.3887V1.61133C0.878906 1.20747 1.20747 0.878906 1.61133 0.878906H7.61719V3.36914C7.61719 3.61184 7.81395 3.80859 8.05664 3.80859H10.5469V5.29175C10.4358 5.27974 10.3235 5.27344 10.2102 5.27344C9.38851 5.27344 8.616 5.59342 8.03502 6.17443C7.454 6.75545 7.13402 7.52795 7.13402 8.34961C7.13402 9.1713 7.454 9.9438 8.03502 10.5248C8.616 11.1058 9.38851 11.4258 10.2102 11.4258C10.3235 11.4258 10.4358 11.4195 10.5469 11.4075V13.3887Z" fill="#1D3557"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
BIN
assets/images/project-b-logo.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
3
assets/images/save.svg
Normal file
@ -0,0 +1,3 @@
|
||||
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M14.855 3.14501L11.855 0.145008C11.8083 0.0986676 11.7529 0.062005 11.6919 0.0371227C11.631 0.0122404 11.5658 -0.000372089 11.5 8.35714e-06H1.5C1.10217 8.35714e-06 0.720644 0.158044 0.43934 0.439348C0.158035 0.720652 0 1.10218 0 1.50001V13.5C0 13.8978 0.158035 14.2794 0.43934 14.5607C0.720644 14.842 1.10217 15 1.5 15H13.5C13.8978 15 14.2793 14.842 14.5607 14.5607C14.842 14.2794 15 13.8978 15 13.5V3.50001C15.0004 3.4342 14.9878 3.36897 14.9629 3.30805C14.938 3.24713 14.9013 3.19173 14.855 3.14501ZM9.49999 1.00001V4.00001H5.5V1.00001H9.49999ZM3.5 14V10.5C3.5 10.3674 3.55268 10.2402 3.64644 10.1464C3.74021 10.0527 3.86739 10 4 10H11C11.1326 10 11.2598 10.0527 11.3535 10.1464C11.4473 10.2402 11.5 10.3674 11.5 10.5V14H3.5ZM14 13.5C14 13.6326 13.9473 13.7598 13.8535 13.8536C13.7598 13.9473 13.6326 14 13.5 14H12.5V10.5C12.5 10.1022 12.342 9.72065 12.0607 9.43934C11.7793 9.15804 11.3978 9 11 9H4C3.60217 9 3.22064 9.15804 2.93934 9.43934C2.65803 9.72065 2.5 10.1022 2.5 10.5V14H1.5C1.36739 14 1.24021 13.9473 1.14645 13.8536C1.05268 13.7598 0.999999 13.6326 0.999999 13.5V1.50001C0.999999 1.3674 1.05268 1.24022 1.14645 1.14645C1.24021 1.05269 1.36739 1.00001 1.5 1.00001H4.5V4.00001C4.5 4.26522 4.60535 4.51958 4.79289 4.70711C4.98043 4.89465 5.23478 5.00001 5.5 5.00001H9.49999C9.76521 5.00001 10.0196 4.89465 10.2071 4.70711C10.3946 4.51958 10.5 4.26522 10.5 4.00001V1.00001H11.295L14 3.70501V13.5Z" fill="#1D3557"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
9
assets/images/section.svg
Normal file
@ -0,0 +1,9 @@
|
||||
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M24.3869 8.18176H17.2021C16.9741 8.18176 16.7893 8.35128 16.7893 8.5604C16.7893 8.76952 16.9741 8.93903 17.2021 8.93903H24.3869C24.7711 8.93903 25.0837 9.22577 25.0837 9.5782V13.2482C25.0837 13.6006 24.7711 13.8873 24.3869 13.8873H6.29543C5.91118 13.8873 5.59859 13.6006 5.59859 13.2482V9.5782C5.59859 9.22577 5.91122 8.93903 6.29543 8.93903H13.5717C13.7997 8.93903 13.9845 8.76952 13.9845 8.5604C13.9845 8.35128 13.7997 8.18176 13.5717 8.18176H6.29543C5.45592 8.18176 4.77295 8.80818 4.77295 9.5782V13.2482C4.77295 14.0181 5.45592 14.6446 6.29543 14.6446H6.73839V17.0061C6.73839 17.7761 7.42136 18.4025 8.26087 18.4025H8.74676V20.4217C8.74676 21.1917 9.42973 21.8181 10.2692 21.8181H20.4131C21.2526 21.8181 21.9355 21.1917 21.9355 20.4217V18.4025H22.4214C23.2609 18.4025 23.9439 17.7761 23.9439 17.0061V14.6446H24.3868C25.2263 14.6446 25.9093 14.0181 25.9093 13.2482V9.5782C25.9094 8.80818 25.2264 8.18176 24.3869 8.18176ZM21.1099 20.4217C21.1099 20.7742 20.7973 21.0609 20.4131 21.0609H10.2692C9.88499 21.0609 9.5724 20.7742 9.5724 20.4217V18.4025H11.3077C11.305 18.4198 11.3032 18.4374 11.3032 18.4554C11.3032 18.6645 11.488 18.834 11.716 18.834C11.9465 18.834 12.134 19.006 12.134 19.2174C12.134 19.4288 11.9464 19.6008 11.716 19.6008C11.5086 19.6008 11.3307 19.4592 11.3021 19.2714C11.2706 19.0642 11.0621 18.9199 10.8362 18.9487C10.6104 18.9776 10.4529 19.1689 10.4844 19.376C10.5696 19.9359 11.0991 20.358 11.716 20.358C12.4017 20.358 12.9596 19.8464 12.9596 19.2174C12.9596 18.8984 12.8159 18.6097 12.5849 18.4025H21.1099V20.4217ZM23.1183 17.0061C23.1183 17.3585 22.8056 17.6452 22.4214 17.6452H8.26087C7.87662 17.6452 7.56403 17.3585 7.56403 17.0061V14.6446H9.8224C9.94398 14.6449 10.0099 14.7639 9.99599 14.8633C9.97734 14.9262 9.93131 15.0278 9.8198 15.1739C9.45747 15.6488 9.2414 15.9082 9.12536 16.0476C8.976 16.2269 8.86809 16.3566 8.93554 16.5577C8.97571 16.6774 9.07801 16.7728 9.20908 16.8129C9.26431 16.8298 9.30171 16.8413 9.76011 16.8413C9.93923 16.8413 10.1826 16.8395 10.5164 16.8357C10.7444 16.8331 10.9269 16.6614 10.924 16.4523C10.9212 16.2449 10.7369 16.0784 10.5113 16.0784C10.5096 16.0784 10.5078 16.0784 10.506 16.0785C10.3816 16.0799 10.2524 16.0811 10.1279 16.0819C10.23 15.9534 10.3519 15.7973 10.4962 15.6082C10.6566 15.398 10.7575 15.2052 10.8046 15.0188C10.8355 14.8965 10.831 14.7669 10.8041 14.6446H23.1183V17.0061Z" fill="#4F4F4F"/>
|
||||
<path d="M8.40119 13.198C8.62919 13.198 8.81401 13.0285 8.81401 12.8194V10.0628C8.81401 9.85366 8.62919 9.68415 8.40119 9.68415H7.7588C7.5308 9.68415 7.34598 9.85366 7.34598 10.0628C7.34598 10.2719 7.5308 10.4414 7.7588 10.4414H7.98837V12.8194C7.98837 13.0285 8.17319 13.198 8.40119 13.198Z" fill="#4F4F4F"/>
|
||||
<path d="M12.4086 16.3982H21.6466C21.8746 16.3982 22.0594 16.2287 22.0594 16.0195C22.0594 15.8104 21.8746 15.6409 21.6466 15.6409H12.4086C12.1806 15.6409 11.9958 15.8104 11.9958 16.0195C11.9958 16.2287 12.1806 16.3982 12.4086 16.3982Z" fill="#4F4F4F"/>
|
||||
<path d="M14.2312 20.1316H19.8088C20.0368 20.1316 20.2216 19.9621 20.2216 19.753C20.2216 19.5439 20.0368 19.3743 19.8088 19.3743H14.2312C14.0032 19.3743 13.8184 19.5439 13.8184 19.753C13.8184 19.9621 14.0032 20.1316 14.2312 20.1316Z" fill="#4F4F4F"/>
|
||||
<path d="M23.2673 10.4708C23.2673 10.2617 23.0825 10.0922 22.8545 10.0922H11.2955C11.0675 10.0922 10.8827 10.2617 10.8827 10.4708C10.8827 10.68 11.0675 10.8495 11.2955 10.8495H22.8545C23.0825 10.8495 23.2673 10.68 23.2673 10.4708Z" fill="#4F4F4F"/>
|
||||
<path d="M11.2955 11.979C11.0675 11.979 10.8827 12.1486 10.8827 12.3577C10.8827 12.5668 11.0675 12.7363 11.2955 12.7363H19.5932C19.8212 12.7363 20.006 12.5668 20.006 12.3577C20.006 12.1486 19.8212 11.979 19.5932 11.979H11.2955Z" fill="#4F4F4F"/>
|
||||
<path d="M15.0633 8.70515C15.2036 9.014 15.6965 9.00878 15.8291 8.69652C15.8928 8.54639 15.842 8.37002 15.7063 8.26771C15.573 8.16734 15.3802 8.1545 15.2323 8.2356C15.0592 8.33057 14.9858 8.53454 15.0633 8.70515Z" fill="#4F4F4F"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.9 KiB |
11
assets/images/text.svg
Normal file
@ -0,0 +1,11 @@
|
||||
<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M22.2442 25.9094H8.43737C7.16898 25.9094 6.13623 24.8894 6.13623 23.6366V6.36391C6.13623 5.11119 7.16898 4.09119 8.43737 4.09119H22.2442C23.5126 4.09119 24.5453 5.11119 24.5453 6.36391V23.6366C24.5453 24.8894 23.5126 25.9094 22.2442 25.9094ZM8.43737 5.00028C7.67615 5.00028 7.05668 5.6121 7.05668 6.36391V23.6366C7.05668 24.3885 7.67615 25.0003 8.43737 25.0003H22.2442C23.0054 25.0003 23.6249 24.3885 23.6249 23.6366V6.36391C23.6249 5.6121 23.0054 5.00028 22.2442 5.00028H8.43737Z" fill="#4F4F4F"/>
|
||||
<path d="M14.8805 13.1821C14.6265 13.1821 14.4203 12.9785 14.4203 12.7276V12.273H9.81805V12.7276C9.81805 12.9785 9.61187 13.1821 9.35782 13.1821C9.10378 13.1821 8.89759 12.9785 8.89759 12.7276V11.8185C8.89759 11.5676 9.10378 11.3639 9.35782 11.3639H14.8805C15.1346 11.3639 15.3408 11.5676 15.3408 11.8185V12.7276C15.3408 12.9785 15.1346 13.1821 14.8805 13.1821Z" fill="#4F4F4F"/>
|
||||
<path d="M12.1192 17.7276C11.8651 17.7276 11.659 17.5239 11.659 17.273V11.8185C11.659 11.5676 11.8651 11.3639 12.1192 11.3639C12.3732 11.3639 12.5794 11.5676 12.5794 11.8185V17.273C12.5794 17.5239 12.3732 17.7276 12.1192 17.7276Z" fill="#4F4F4F"/>
|
||||
<path d="M13.0396 17.7276H11.1987C10.9447 17.7276 10.7385 17.5239 10.7385 17.273C10.7385 17.0221 10.9447 16.8185 11.1987 16.8185H13.0396C13.2937 16.8185 13.4999 17.0221 13.4999 17.273C13.4999 17.5239 13.2937 17.7276 13.0396 17.7276Z" fill="#4F4F4F"/>
|
||||
<path d="M21.3237 12.273H17.6419C17.3879 12.273 17.1817 12.0694 17.1817 11.8185C17.1817 11.5676 17.3879 11.3639 17.6419 11.3639H21.3237C21.5778 11.3639 21.784 11.5676 21.784 11.8185C21.784 12.0694 21.5778 12.273 21.3237 12.273Z" fill="#4F4F4F"/>
|
||||
<path d="M21.3237 15.0003H17.6419C17.3879 15.0003 17.1817 14.7966 17.1817 14.5457C17.1817 14.2948 17.3879 14.0912 17.6419 14.0912H21.3237C21.5778 14.0912 21.784 14.2948 21.784 14.5457C21.784 14.7966 21.5778 15.0003 21.3237 15.0003Z" fill="#4F4F4F"/>
|
||||
<path d="M21.3237 17.7276H17.6419C17.3879 17.7276 17.1817 17.5239 17.1817 17.273C17.1817 17.0221 17.3879 16.8185 17.6419 16.8185H21.3237C21.5778 16.8185 21.784 17.0221 21.784 17.273C21.784 17.5239 21.5778 17.7276 21.3237 17.7276Z" fill="#4F4F4F"/>
|
||||
<path d="M21.3237 20.4548H9.35782C9.10378 20.4548 8.89759 20.2512 8.89759 20.0003C8.89759 19.7494 9.10378 19.5457 9.35782 19.5457H21.3237C21.5778 19.5457 21.784 19.7494 21.784 20.0003C21.784 20.2512 21.5778 20.4548 21.3237 20.4548Z" fill="#4F4F4F"/>
|
||||
<path d="M21.3237 23.1821H9.35782C9.10378 23.1821 8.89759 22.9785 8.89759 22.7276C8.89759 22.4766 9.10378 22.273 9.35782 22.273H21.3237C21.5778 22.273 21.784 22.4766 21.784 22.7276C21.784 22.9785 21.5778 23.1821 21.3237 23.1821Z" fill="#4F4F4F"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
7
assets/images/view.svg
Normal file
@ -0,0 +1,7 @@
|
||||
<svg width="20" height="17" viewBox="0 0 20 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M12.5263 15C9.60351 15 7.30702 12.8 7.30702 10C7.30702 7.2 9.60351 5 12.5263 5C15.4491 5 17.7456 7.2 17.7456 10C17.7456 12.8 15.4491 15 12.5263 15ZM12.5263 7C10.7518 7 9.39474 8.3 9.39474 10C9.39474 11.7 10.7518 13 12.5263 13C14.3009 13 15.6579 11.7 15.6579 10C15.6579 8.3 14.3009 7 12.5263 7Z" fill="#BF303B"/>
|
||||
<path d="M18.7895 17C18.4763 17 18.2675 16.9 18.0588 16.7L15.4491 14.2C15.0316 13.8 15.0316 13.2 15.4491 12.8C15.8667 12.4 16.493 12.4 16.9105 12.8L19.5202 15.3C19.9377 15.7 19.9377 16.3 19.5202 16.7C19.3114 16.9 19.1026 17 18.7895 17Z" fill="#BF303B"/>
|
||||
<path d="M17.7456 2H1.04386C0.417544 2 0 1.6 0 1C0 0.4 0.417544 0 1.04386 0H17.7456C18.3719 0 18.7895 0.4 18.7895 1C18.7895 1.6 18.3719 2 17.7456 2Z" fill="#BF303B"/>
|
||||
<path d="M5.2193 8H1.04386C0.417544 8 0 7.6 0 7C0 6.4 0.417544 6 1.04386 6H5.2193C5.84561 6 6.26316 6.4 6.26316 7C6.26316 7.6 5.84561 8 5.2193 8Z" fill="#BF303B"/>
|
||||
<path d="M5.2193 14H1.04386C0.417544 14 0 13.6 0 13C0 12.4 0.417544 12 1.04386 12H5.2193C5.84561 12 6.26316 12.4 6.26316 13C6.26316 13.6 5.84561 14 5.2193 14Z" fill="#BF303B"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
BIN
assets/images/view2.png
Normal file
|
After Width: | Height: | Size: 440 B |
@ -1,17 +1,37 @@
|
||||
|
||||
function findParent(jsonData, targetId) {
|
||||
function findParentChild(data, id, parentClasses, idKey) {
|
||||
function findParentChild(data, id, parentClasses, idKey,qid) {
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
const section = data[i];
|
||||
|
||||
// console.log(section);
|
||||
|
||||
if (section[idKey] === id) {
|
||||
parentClasses.push(i);
|
||||
// const childClassCount = (section.questions && section.questions.length > 0) ? section.questions.length : 0;
|
||||
return parentClasses.length - 1
|
||||
// return parentClasses.length - 1, section.group_title
|
||||
|
||||
|
||||
return {
|
||||
value1: parentClasses.length - 1,
|
||||
value2: section.group_title,
|
||||
};
|
||||
|
||||
} else if (section.questions) {
|
||||
|
||||
// console.log(section.questions);
|
||||
var a= section.questions
|
||||
var qid = '';
|
||||
a.forEach(element => {
|
||||
qid = element.question_Id
|
||||
});
|
||||
// console.log(a.question_Id);
|
||||
|
||||
const newParentClasses = parentClasses.slice(); // Create a shallow copy of parentClasses array
|
||||
newParentClasses.push(i);
|
||||
const childClass = findParentChild(section.questions, id, newParentClasses, idKey);
|
||||
const childClass = findParentChild(section.questions, id, newParentClasses, idKey,qid);
|
||||
if (childClass) {
|
||||
// console.log(childClass);
|
||||
return childClass; // If childClass is found, return it
|
||||
}
|
||||
}
|
||||
|
||||
453
dashboard.html
@ -48,86 +48,156 @@
|
||||
|
||||
|
||||
|
||||
<style>
|
||||
<style>
|
||||
|
||||
/* The Modal (background) */
|
||||
.modal {
|
||||
display: none; /* Hidden by default */
|
||||
position: fixed; /* Stay in place */
|
||||
z-index: 1; /* Sit on top */
|
||||
padding-top: 100px; /* Location of the box */
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%; /* Full width */
|
||||
height: 100%; /* Full height */
|
||||
overflow: auto; /* Enable scroll if needed */
|
||||
background-color: rgb(0,0,0); /* Fallback color */
|
||||
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
|
||||
display: none; /* Hidden by default */
|
||||
position: fixed; /* Stay in place */
|
||||
z-index: 1; /* Sit on top */
|
||||
padding-top: 100px; /* Location of the box */
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%; /* Full width */
|
||||
height: 100%; /* Full height */
|
||||
overflow: auto; /* Enable scroll if needed */
|
||||
background-color: rgb(0,0,0); /* Fallback color */
|
||||
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
|
||||
}
|
||||
|
||||
/* Modal Content */
|
||||
.modal-content {
|
||||
background-color: #fefefe;
|
||||
margin: auto;
|
||||
padding: 20px;
|
||||
border: 1px solid #888;
|
||||
width: 80%;
|
||||
background-color: #fefefe;
|
||||
margin: auto;
|
||||
padding: 20px;
|
||||
border: 1px solid #888;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
/* The Close Button */
|
||||
.close {
|
||||
color: #aaaaaa;
|
||||
float: right;
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
color: #aaaaaa;
|
||||
float: right;
|
||||
font-size: 28px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.close:hover,
|
||||
.close:focus {
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Style for the Choose File button */
|
||||
.file-input {
|
||||
background-color: #533dfd;
|
||||
color: #fff;
|
||||
border: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
background-color: #533dfd;
|
||||
color: #fff;
|
||||
border: none;
|
||||
padding: 10px 20px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* Style for the Submit button */
|
||||
.submit-button {
|
||||
background-color: #2ecc71;
|
||||
color: #fff;
|
||||
border: none;
|
||||
padding: 10px 20px;
|
||||
height: 55px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
/* Style for the Submit button */
|
||||
.submit-button {
|
||||
background-color: #2ecc71;
|
||||
color: #fff;
|
||||
border: none;
|
||||
padding: 10px 20px;
|
||||
height: 55px;
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
body {
|
||||
background-image: url('assets/images/bg1-1.png');
|
||||
background-size: cover; /* Adjust as needed */
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
}
|
||||
body {
|
||||
background-image: url('assets/images/bg1-1.png');
|
||||
background-size: cover; /* Adjust as needed */
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
background-color: #00000073;
|
||||
|
||||
}
|
||||
|
||||
h1.title{
|
||||
font-size: 20px;
|
||||
margin-top: 100px;
|
||||
text-align: center;
|
||||
font-weight: 500;
|
||||
}
|
||||
.landing-icons{
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
margin-bottom: -32px;
|
||||
margin-left: -16px;
|
||||
}
|
||||
|
||||
|
||||
.landing-icons{
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
margin-bottom: -32px;
|
||||
}
|
||||
.list-box {
|
||||
/* width: 85%; */
|
||||
margin-left: 23px;
|
||||
/* margin-top: 10%; */
|
||||
padding-bottom: 75px;
|
||||
margin-top: 35px;
|
||||
color: #1d3557
|
||||
}
|
||||
|
||||
.main-header {
|
||||
position: fixed!important;
|
||||
top: 0!important;
|
||||
width: 100%!important;
|
||||
background-color: #fff!important;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1)!important;
|
||||
z-index: 999!important;
|
||||
border-bottom: 2px solid #A8DADC !important;
|
||||
}
|
||||
|
||||
.nav-menu {
|
||||
margin-top: -9px!important;
|
||||
}
|
||||
|
||||
.logo-d{
|
||||
width: 150px!important;
|
||||
padding-top: 10px !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
.heder-menu ul li a {
|
||||
font-weight: 400 !important;
|
||||
color: #1d3557 !important;
|
||||
}
|
||||
.heder-menu ul li a:hover {
|
||||
filter: invert(23%) sepia(67%) saturate(2476%) hue-rotate(335deg) brightness(89%) contrast(89%);
|
||||
}
|
||||
|
||||
.resent-post-single-box {
|
||||
border-bottom: 1px solid #E8E8E8 !important;
|
||||
padding-top: 10px !important;
|
||||
}
|
||||
|
||||
.landing-icons a {
|
||||
margin-right: 25px;
|
||||
}
|
||||
|
||||
/* .icons i {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
border-radius: 50%;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.icons i:hover {
|
||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0);
|
||||
background-color: #e4d3f8b4;
|
||||
} */
|
||||
|
||||
.icons img:hover{
|
||||
|
||||
filter: invert(3%) sepia(5%) saturate(5916%) hue-rotate(172deg) brightness(103%) contrast(98%);
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
@ -142,94 +212,56 @@
|
||||
|
||||
|
||||
<!-- main-header -->
|
||||
<div class="main-header">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div id="sticky-header" class="nav-menu">
|
||||
<div class="header-logo">
|
||||
<a href="dashboard.html" ><h2 style="margin-top: 25px;"><img src="assets/images/fav-icon/icon.png" alt=""> PROJECT-B</h2></a>
|
||||
<a class="main_sticky" href="dashboard.html" class="project"><h2><img src="assets/images/fav-icon/icon.png" alt=""> PROJECT-B</h2></a>
|
||||
</div>
|
||||
<div class="heder-menu">
|
||||
<ul>
|
||||
<li><a href="addform.html"><i class="fa fa-plus" aria-hidden="true" style="font-size: 24px;"></i> New</a></li>
|
||||
<li><a href="#" id="myBtn"><i class="fa fa-folder-open" aria-hidden="true" style="font-size: 24px;"></i> Open</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mobile-menu-area d-sm-block d-md-block d-lg-none ">
|
||||
<div class="mobile-menu">
|
||||
<nav class="itsoft_menu">
|
||||
<ul class="nav_scroll">
|
||||
<li><a href="dashboard.html">home </a></li>
|
||||
<li><a href="addform.html">Add New</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- <div class="blog-area" >
|
||||
<div class="row" style="margin-left: 140px;margin-right: 140px;">
|
||||
<div class="col-lg-12" style="text-align: right;padding: 0px; margin-left: 70px;
|
||||
margin-right: 70px;">
|
||||
<div class="slider-btn" style="margin-top: -43px;">
|
||||
<a href="#" class="float-right" id="listview">List View</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="main-header">
|
||||
<div class="container">
|
||||
<div class="row" id="card"></div>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<div class="Recent">Recent</div>
|
||||
<div class="row section" style="margin-left: 140px;margin-right: 140px;">
|
||||
<div class="col-lg-12" style="text-align: right;padding: 0px;margin-left: 70px;
|
||||
margin-right: 70px;">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="sideber-box" style="width: 87%;margin-right: 6%;margin-left: 6%; margin-top: 50px" >
|
||||
<div class="sideber-content">
|
||||
<div class="sideber-title">
|
||||
<div class="col-lg-12">
|
||||
<div class="nav-menu">
|
||||
<div class="header-logo">
|
||||
<a href="dashboard.html" ><img class="logo-d" src="assets/images/project-b-logo.png" alt=""></a>
|
||||
</div>
|
||||
<div class="heder-menu">
|
||||
<ul>
|
||||
<li><a href="addform.html"><img class="addPageMenu" src="assets/images/new.svg" alt="">New</a></li>
|
||||
<li><a href="#" id="myBtn"><img class="addPageMenu" src="assets/images/open.svg" alt="">Open</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="list"></div>
|
||||
</div>
|
||||
|
||||
<h1 class="title">Question Papers</h1>
|
||||
|
||||
<div class="container">
|
||||
<div class="sideber-box list-box">
|
||||
<div class="sideber-content">
|
||||
<div class="sideber-title">
|
||||
</div>
|
||||
</div>
|
||||
<div id="list"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- The Modal -->
|
||||
<div id="myModal" class="modal">
|
||||
|
||||
<!-- Modal content -->
|
||||
<div class="modal-content" style="width: 600px; height: 200px;">
|
||||
<span class="close" style="margin-left: 530px;">×</span>
|
||||
|
||||
<span style="margin-top: -13px; font-size: 18px;color: black;font-weight: 500;
|
||||
">Select File To Import:</span>
|
||||
|
||||
<div class = "form_box">
|
||||
<input type="file" id="fileInput" accept="application/xml,text/xml" onchange="validateFile(this)" style="margin-top: 15px; border: 3px solid #EEECFE;">
|
||||
</div>
|
||||
<div class="form-button" style="margin-top: 5px; margin-left: 10px;">
|
||||
<button onclick="uploadFile()">Import</button><span id="Message" style="color: rgb(243, 21, 21);"></span>
|
||||
<!-- Modal content -->
|
||||
<div class="modal-content" style="width: 600px; height: 200px;">
|
||||
<span class="close" style="margin-left: 530px;">×</span>
|
||||
<span style="margin-top: -13px; font-size: 18px;color: black;font-weight: 500;">Select File To Upload:</span>
|
||||
|
||||
<div class = "modal_form_box">
|
||||
<input type="file" id="fileInput" accept="application/xml,text/xml" onchange="validateFile(this)" style="margin-top: 15px; border: 3px solid #EEECFE;">
|
||||
</div>
|
||||
<div class="modal_form_button" style="margin-top: 5px; margin-left: 0px;">
|
||||
<button onclick="uploadFile()">Upload</button><span id="Message" style="color: rgb(243, 21, 21);"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="copy-right-area">
|
||||
<div class="copy-left">
|
||||
<span style="color: #533dfd;">© 2023 Project-B. All rights reserved.</span>
|
||||
<span style="color: #1D3557;">© 2023 Project-B. All rights reserved.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -275,16 +307,17 @@
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
const Swal = require('sweetalert2');
|
||||
|
||||
function uploadFile() {
|
||||
console.log("file upload");
|
||||
const fileInput = document.getElementById('fileInput');
|
||||
const selectedFile = fileInput.files[0];
|
||||
console.log(selectedFile)
|
||||
|
||||
fileupload(selectedFile)
|
||||
}
|
||||
function uploadFile() {
|
||||
console.log("file upload");
|
||||
const fileInput = document.getElementById('fileInput');
|
||||
const selectedFile = fileInput.files[0];
|
||||
console.log(selectedFile)
|
||||
|
||||
fileupload(selectedFile)
|
||||
}
|
||||
|
||||
var msgDiv = document.getElementById('Message');
|
||||
var modal = document.getElementById('myModal');
|
||||
@ -332,115 +365,75 @@ sourceStream.on('error', (err) => {
|
||||
console.error('File Upload error:', err);
|
||||
modal.style.display = 'none';
|
||||
fileInput.value = "";
|
||||
Swal.fire('<i class="fa fa-ban" aria-hidden="true" style="color:red"></i>File Upload error:', err)
|
||||
Swal.fire('<i class="fa fa-ban" style="color:red"></i>File Upload error:', err)
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
// Get the modal
|
||||
var modal = document.getElementById("myModal");
|
||||
|
||||
// Get the button that opens the modal
|
||||
var btn = document.getElementById("myBtn");
|
||||
|
||||
// Get the <span> element that closes the modal
|
||||
var span = document.getElementsByClassName("close")[0];
|
||||
|
||||
// When the user clicks the button, open the modal
|
||||
btn.onclick = function() {
|
||||
modal.style.display = "block";
|
||||
}
|
||||
|
||||
// When the user clicks on <span> (x), close the modal
|
||||
span.onclick = function() {
|
||||
modal.style.display = "none";
|
||||
}
|
||||
|
||||
// When the user clicks anywhere outside of the modal, close it
|
||||
window.onclick = function(event) {
|
||||
if (event.target == modal) {
|
||||
modal.style.display = "none";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// $(document).ready(function(){
|
||||
|
||||
|
||||
|
||||
// $('.blog-area').show();
|
||||
// $('.sideber-box').hide();
|
||||
// $('#cardview').hide();
|
||||
// $('#listview').show();
|
||||
// })
|
||||
|
||||
// function switchToListView() {
|
||||
// $('.blog-area').hide();
|
||||
// $('.sideber-box').show();
|
||||
// $('#cardview').show();
|
||||
// $('#listview').hide();
|
||||
// }
|
||||
|
||||
// // Function to handle switching to card view
|
||||
// function switchToCardView() {
|
||||
// $('.blog-area').show();
|
||||
// $('.sideber-box').hide();
|
||||
// $('#cardview').hide();
|
||||
// $('#listview').show();
|
||||
// }
|
||||
|
||||
// // Handle the click event for switching to list view
|
||||
// $('#listview').on('click', function () {
|
||||
// switchToListView();
|
||||
// });
|
||||
|
||||
// // Handle the click event for switching to card view
|
||||
// $('#cardview').on('click', function () {
|
||||
// switchToCardView();
|
||||
// });
|
||||
|
||||
// Get the modal
|
||||
var modal = document.getElementById("myModal");
|
||||
|
||||
// Get the button that opens the modal
|
||||
var btn = document.getElementById("myBtn");
|
||||
|
||||
// Get the <span> element that closes the modal
|
||||
var span = document.getElementsByClassName("close")[0];
|
||||
|
||||
|
||||
|
||||
// When the user clicks the button, open the modal
|
||||
btn.onclick = function() {
|
||||
modal.style.display = "block";
|
||||
}
|
||||
|
||||
// When the user clicks on <span> (x), close the modal
|
||||
span.onclick = function() {
|
||||
modal.style.display = "none";
|
||||
}
|
||||
|
||||
// When the user clicks anywhere outside of the modal, close it
|
||||
window.onclick = function(event) {
|
||||
if (event.target == modal) {
|
||||
modal.style.display = "none";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function validateFile(input) {
|
||||
const file = input.files[0];
|
||||
const allowedExtensions = ["xml"];
|
||||
const fileExtension = file.name.split(".").pop().toLowerCase();
|
||||
if (!allowedExtensions.includes(fileExtension)) {
|
||||
alert('Invalid file type. Only xml files are allowed.')
|
||||
input.value = "";
|
||||
return;
|
||||
}
|
||||
}
|
||||
//Function for validate the File Type is only XML
|
||||
function validateFile(input) {
|
||||
const file = input.files[0];
|
||||
const allowedExtensions = ["xml"];
|
||||
const fileExtension = file.name.split(".").pop().toLowerCase();
|
||||
if (!allowedExtensions.includes(fileExtension)) {
|
||||
alert('Invalid file type. Only xml files are allowed.')
|
||||
input.value = "";
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Function to download a file by filename
|
||||
// Function to download a file by filename
|
||||
function downloadFile(filename) {
|
||||
|
||||
// You can change the path to your server or specify a URL to download the file
|
||||
const fileURL = `${xmlPath}${filename}`;
|
||||
console.log(fileURL)
|
||||
// Create a hidden anchor element to trigger the download
|
||||
const a = document.createElement('a');
|
||||
a.style.display = 'none';
|
||||
a.href = fileURL;
|
||||
a.download = filename;
|
||||
|
||||
// Append the anchor to the body and click it to trigger the download
|
||||
document.body.appendChild(a);
|
||||
a.click();
|
||||
|
||||
// Remove the anchor element
|
||||
document.body.removeChild(a);
|
||||
const fileURL = `${xmlPath}${filename}`;
|
||||
console.log(fileURL)
|
||||
|
||||
// Create a hidden anchor element to trigger the download
|
||||
const a = document.createElement('a');
|
||||
a.style.display = 'none';
|
||||
a.href = fileURL;
|
||||
a.download = filename;
|
||||
|
||||
// Append the anchor to the body and click it to trigger the download
|
||||
document.body.appendChild(a);
|
||||
a.click();
|
||||
|
||||
// Remove the anchor element
|
||||
document.body.removeChild(a);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
@ -93,7 +93,7 @@ function json2nav() {
|
||||
groupQuestion['question_group_id'] = 'subSection_title_text_' + rand_id;
|
||||
groupQuestion['group_attempt_any'] = ((typeof group_attempt_any !== null && group_attempt_any !== 'undefined') ? (group_attempt_any !== null ? group_attempt_any.value : null) : null);
|
||||
groupQuestion['group_marks'] = ((typeof group_marks !== null && group_marks !== 'undefined') ? (group_marks !== null ? group_marks.value : null) : null);
|
||||
|
||||
groupQuestion['question_type'] = 'question_group';
|
||||
if (group_title !== null) {
|
||||
var questionsData = $.fn.getQuestionsData(rand_id, 'group');
|
||||
groupQuestion['questions'] = questionsData;
|
||||
|
||||
18
index.js
@ -62,22 +62,22 @@ async function loadMultipleXMLs() {
|
||||
// Handle list view
|
||||
const html_for_list = `
|
||||
<div class="landing-icons">
|
||||
<a class="icons" href="QuestionPreview.html?filename=${xmlFile}" title="PreView">
|
||||
<i class="fa fa-eye" aria-hidden="true" style="font-size: 24px"></i>
|
||||
</a>
|
||||
<a class="icons" href="QuestionPreview.html?filename=${xmlFile}" title="Preview">
|
||||
<i><img src="assets/images/view.svg" alt=""></i>
|
||||
</a>
|
||||
<a class="icons" href="addform.html?filename=${xmlFile}" title="Edit">
|
||||
<i class="fa fa-pencil-square-o" aria-hidden="true" style="font-size: 24px"></i>
|
||||
</a>
|
||||
<a class="icons" href="#" id="${dynamicId}" data-filename="${xmlFile}" title="Export">
|
||||
<i class="fa fa-upload" aria-hidden="true" style="font-size: 24px"></i>
|
||||
<i><img src="assets/images/edit.svg" alt=""></i>
|
||||
</a>
|
||||
<a class="icons" href="#" id="${dynamicId}" data-filename="${xmlFile}" title="Download">
|
||||
<i><img src="assets/images/download.svg" alt=""></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="resent-post-single-box">
|
||||
<div class="resent-thunb">
|
||||
<i class="fa fa-file-text-o" aria-hidden="true" style="font-size: 50px; color:#533dfd;"></i>
|
||||
<i class="fa fa-file-text-o" style="font-size: 25px; color:#457B9D; margin-left: 5px"></i>
|
||||
</div>
|
||||
<div class="xmlFileName">
|
||||
<a href="#">${xmlFile}</a>
|
||||
<a style="font-size: 16px; font-weight: 300">${xmlFile}</a>
|
||||
</div>
|
||||
</div>`;
|
||||
$('#list').append(html_for_list);
|
||||
|
||||
11
json2html.js
@ -3,6 +3,12 @@ function jsonToHtml(jsonData) {
|
||||
// console.log(jsonData);
|
||||
|
||||
localStorage.setItem('scroll', 1)
|
||||
localStorage.setItem('EditNavExpend', 1)
|
||||
|
||||
const count = jsonData.sections.length;
|
||||
// console.log(`Count of sections: ${count}`);
|
||||
|
||||
|
||||
|
||||
if(jsonData == "" || jsonData == null)
|
||||
{
|
||||
@ -46,7 +52,7 @@ function jsonToHtml(jsonData) {
|
||||
|
||||
}
|
||||
jsonData.sections.forEach(function(section, index) {
|
||||
|
||||
|
||||
const random_no = Date.now();
|
||||
var questionAreaId = 'question_area_'+random_no; //Add section to this id of the question paper
|
||||
|
||||
@ -80,6 +86,7 @@ function jsonToHtml(jsonData) {
|
||||
|
||||
})
|
||||
localStorage.removeItem('scroll');
|
||||
localStorage.removeItem('EditNavExpend');
|
||||
}
|
||||
|
||||
|
||||
@ -137,7 +144,7 @@ function QuestionsForEach(Question, questionAreaId, questionRandomNo){
|
||||
var choiceID = choicenames.id;
|
||||
var choice_mathEnabled = choicenames.is_math_enabled;
|
||||
|
||||
addNewChoice(false , choiceName, questionRandomNo, choiceID, choice_mathEnabled);
|
||||
addNewChoice(false , false, choiceName, questionRandomNo, choiceID, choice_mathEnabled);
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
98
main.js
@ -1,6 +1,6 @@
|
||||
// main.js
|
||||
// const { app, BrowserWindow} = require('electron');
|
||||
const { app, BrowserWindow, ipcMain } = require('electron');
|
||||
const { app, BrowserWindow, ipcMain, Menu } = require('electron');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const jquery = require('jquery');
|
||||
@ -25,9 +25,25 @@ async function createWindow() {
|
||||
contextIsolation: false,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
// mainWindow.removeMenu()
|
||||
mainWindow.loadFile('dashboard.html'); // Create an HTML file for your interface
|
||||
|
||||
if(process.env.ENABLE_DEV_TOOLS === 'TRUE')
|
||||
{
|
||||
if (mainWindow) {
|
||||
mainWindow.webContents.toggleDevTools();
|
||||
}
|
||||
}
|
||||
else{
|
||||
mainWindow.webContents.on('did-finish-load', () => {
|
||||
const customMenu = buildCustomMenu();
|
||||
Menu.setApplicationMenu(customMenu);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
mainWindow.on('closed', function () {
|
||||
mainWindow = null;
|
||||
});
|
||||
@ -35,6 +51,86 @@ async function createWindow() {
|
||||
setInterval(checkInternetConnection, 5000);
|
||||
}
|
||||
|
||||
|
||||
//Function for Remove the FrocewReload, Reload, ToggleDeveloperOption
|
||||
function buildCustomMenu() {
|
||||
const template = [
|
||||
{
|
||||
label: 'File',
|
||||
submenu: [
|
||||
{
|
||||
label: 'Exit',
|
||||
click: () => app.quit(),
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: 'Edit',
|
||||
submenu: [
|
||||
{
|
||||
role: 'copy',
|
||||
},
|
||||
{
|
||||
role: 'cut',
|
||||
},
|
||||
{
|
||||
role: 'paste',
|
||||
},
|
||||
{
|
||||
role: 'undo',
|
||||
},
|
||||
{
|
||||
role: 'redo',
|
||||
},
|
||||
].filter(Boolean),
|
||||
},
|
||||
{
|
||||
label: 'View',
|
||||
submenu: [
|
||||
{
|
||||
label: 'Actual Size',
|
||||
click: () => {
|
||||
mainWindow.webContents.setZoomLevel(0);
|
||||
},
|
||||
},
|
||||
{
|
||||
label: 'Zoom In',
|
||||
click: () => {
|
||||
const currentZoomLevel = mainWindow.webContents.getZoomLevel();
|
||||
mainWindow.webContents.setZoomLevel(currentZoomLevel + 1);
|
||||
},
|
||||
},
|
||||
{
|
||||
label: 'Zoom Out',
|
||||
click: () => {
|
||||
const currentZoomLevel = mainWindow.webContents.getZoomLevel();
|
||||
mainWindow.webContents.setZoomLevel(currentZoomLevel - 1);
|
||||
},
|
||||
},
|
||||
{
|
||||
role: 'togglefullscreen',
|
||||
},
|
||||
].filter(Boolean),
|
||||
},
|
||||
{
|
||||
label: 'Window',
|
||||
submenu: [
|
||||
{
|
||||
role: 'minimize',
|
||||
},
|
||||
{
|
||||
role: 'close',
|
||||
},
|
||||
].filter(Boolean),
|
||||
},
|
||||
];
|
||||
|
||||
return Menu.buildFromTemplate(template);
|
||||
}
|
||||
//End of Function for Remove the FrocewReload, Reload, ToggleDeveloperOption
|
||||
|
||||
|
||||
|
||||
async function checkInternetConnection() {
|
||||
try {
|
||||
const response = await fetch('https://www.google.com');
|
||||
|
||||
@ -98,6 +98,14 @@ function generateSingleQuestions(ParentObjects)
|
||||
var DivideValue = parentMarks / parentAttemptAny;
|
||||
const twoDigitsAfterDecimal = DivideValue.toFixed(2);
|
||||
var MarkDivideValue = parseFloat(twoDigitsAfterDecimal);
|
||||
|
||||
//this flag for avoid to show Infinity and NaN in the MarkField
|
||||
if (MarkDivideValue === Infinity || MarkDivideValue === NaN) {
|
||||
MarkDivideValue = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// console.log(MarkDivideValue)
|
||||
|
||||
// console.log('parentMarks : ', parentMarks);
|
||||
|
||||
100
nav_pane.js
@ -6,7 +6,8 @@ function navpane() {
|
||||
let currentlyHighlightedElement = null; // Track the currently highlighted element
|
||||
// console.log('navpane called');
|
||||
var jsonData = JSON.parse(localStorage.getItem('JSON_FOR_NAV'));
|
||||
// console.log(jsonData);
|
||||
var editPage = localStorage.getItem('EditNavExpend');
|
||||
// console.log(localStorage.getItem('JSON_FOR_NAV'));
|
||||
// var arr = JSON.parse( localStorage.getItem('memoriesdata') );
|
||||
// var jsonData2 = JSON.parse(jsonData);
|
||||
// console.log(typeof jsonData);
|
||||
@ -21,7 +22,7 @@ function navpane() {
|
||||
function createTreeWithHeading(data, container) {
|
||||
const treeTitle = removeParagraphTags(data.question_paper_title);
|
||||
const heading = document.createElement('a');
|
||||
heading.style.color = '#740fd6';
|
||||
heading.style.color = '#1D3557';
|
||||
const truncatedTitle = treeTitle.length > 20 ? treeTitle.substring(0, 20) + '.....' : treeTitle;
|
||||
heading.innerHTML = truncatedTitle;
|
||||
container.appendChild(heading);
|
||||
@ -29,7 +30,7 @@ function navpane() {
|
||||
}
|
||||
|
||||
function createTree(data, container) {
|
||||
data.sections.forEach(section => {
|
||||
data.sections.forEach(section => {
|
||||
const sectionDiv = document.createElement('div');
|
||||
const sectionId = section.section_id;;
|
||||
sectionDiv.setAttribute('data-id', sectionId);
|
||||
@ -48,7 +49,12 @@ function navpane() {
|
||||
} else {
|
||||
sectionDiv.classList.add('collapsed');
|
||||
}
|
||||
|
||||
|
||||
if(editPage == 1)
|
||||
{
|
||||
sectionDiv.classList.add('collapsed');
|
||||
}
|
||||
|
||||
container.appendChild(sectionDiv);
|
||||
|
||||
const sectionArrow = document.createElement('span');
|
||||
@ -67,6 +73,7 @@ function navpane() {
|
||||
}
|
||||
|
||||
sectionArrow.addEventListener('click', () => {
|
||||
|
||||
contentDiv.classList.toggle('visible');
|
||||
sectionDiv.classList.toggle('collapsed');
|
||||
|
||||
@ -84,7 +91,31 @@ function navpane() {
|
||||
sectionArrow.classList.add('arrow-down');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
if(editPage == 1)
|
||||
{
|
||||
sectionDiv.classList.add('collapsed');
|
||||
|
||||
contentDiv.classList.toggle('visible');
|
||||
sectionDiv.classList.toggle('collapsed');
|
||||
|
||||
// Check if the section is expanded or collapsed
|
||||
if (sectionDiv.classList.contains('collapsed')) {
|
||||
const index = expandedSections.indexOf(sectionId);
|
||||
if (index !== -1) {
|
||||
expandedSections.splice(index, 1);
|
||||
}
|
||||
sectionArrow.classList.remove('arrow-down');
|
||||
sectionArrow.classList.add('arrow-right');
|
||||
} else {
|
||||
expandedSections.push(sectionId);
|
||||
sectionArrow.classList.remove('arrow-right');
|
||||
sectionArrow.classList.add('arrow-down');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
const sectionLink = document.createElement('a');
|
||||
sectionLink.href = '#' + section.section_id;
|
||||
|
||||
@ -96,7 +127,7 @@ function navpane() {
|
||||
});
|
||||
|
||||
|
||||
sectionLink.style.color = '#740fd6';
|
||||
sectionLink.style.color = '#000000';
|
||||
|
||||
//click event listener to toggle highlighting and boldness if click the Section
|
||||
sectionLink.addEventListener('click', function () {
|
||||
@ -158,10 +189,10 @@ function navpane() {
|
||||
var RawID = "";
|
||||
if(nodeDataType == 'text')
|
||||
{
|
||||
bulletPoint = document.createElement('span');
|
||||
bulletPoint.className = "fa fa-text-width";
|
||||
bulletPoint = document.createElement('img');
|
||||
bulletPoint.src = 'assets/images/navtext.svg';
|
||||
bulletPoint.style.marginRight = '5px';
|
||||
bulletPoint.style.fontSize = '15px';
|
||||
bulletPoint.style.width = '13px';
|
||||
bulletPoint.style.fontWeight = 'bold';
|
||||
bulletPoint.style.color = '#00aaff';
|
||||
// bulletPoint.textContent = '\u2022';
|
||||
@ -174,10 +205,10 @@ function navpane() {
|
||||
|
||||
}else if(nodeDataType == 'group')
|
||||
{
|
||||
bulletPoint = document.createElement('span');
|
||||
bulletPoint.className = "fa fa-check-circle-o";
|
||||
bulletPoint = document.createElement('img');
|
||||
bulletPoint.src = 'assets/images/navchoice.svg';
|
||||
bulletPoint.style.marginRight = '5px';
|
||||
bulletPoint.style.fontSize = '15px';
|
||||
bulletPoint.style.width = '13px';
|
||||
bulletPoint.style.fontWeight = 'bold';
|
||||
bulletPoint.style.color = '#00aaff';
|
||||
bulletPoint.setAttribute("title", "MCQ");
|
||||
@ -201,7 +232,8 @@ function navpane() {
|
||||
const targetId = this.getAttribute('href').substring(1); // Get the target element's ID
|
||||
scrollToElement(targetId);
|
||||
});
|
||||
questionLink.style.color = '#740fd6';
|
||||
questionLink.style.color = '#000000';
|
||||
questionLink.style.fontSize = '13px';
|
||||
|
||||
if(nodeDataType == 'text')
|
||||
{
|
||||
@ -264,6 +296,12 @@ function navpane() {
|
||||
} else {
|
||||
groupTitleDiv.classList.add('collapsed');
|
||||
}
|
||||
|
||||
if(editPage == 1){
|
||||
|
||||
groupTitleDiv.classList.add('collapsed');
|
||||
|
||||
}
|
||||
|
||||
parentNode.appendChild(groupTitleDiv);
|
||||
|
||||
@ -301,6 +339,28 @@ function navpane() {
|
||||
groupTitleArrow.classList.add('arrow-down');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
if(editPage == 1){
|
||||
|
||||
groupQuestionsDiv.classList.toggle('visible');
|
||||
groupTitleDiv.classList.toggle('collapsed');
|
||||
|
||||
// Check if the group is expanded or collapsed
|
||||
if (groupTitleDiv.classList.contains('collapsed')) {
|
||||
const index = expandedSections.indexOf(groupTitleId);
|
||||
if (index !== -1) {
|
||||
expandedSections.splice(index, 1);
|
||||
}
|
||||
groupTitleArrow.classList.remove('arrow-down');
|
||||
groupTitleArrow.classList.add('arrow-right');
|
||||
} else {
|
||||
expandedSections.push(groupTitleId);
|
||||
groupTitleArrow.classList.remove('arrow-right');
|
||||
groupTitleArrow.classList.add('arrow-down');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
const groupQuestionLink = document.createElement('a');
|
||||
groupQuestionLink.href = '#' + groupTitleId;
|
||||
@ -311,7 +371,7 @@ function navpane() {
|
||||
const targetId = this.getAttribute('href').substring(1); // Get the target element's ID
|
||||
scrollToElement(targetId);
|
||||
});
|
||||
groupQuestionLink.style.color = '#740fd6';
|
||||
groupQuestionLink.style.color = '#000000';
|
||||
|
||||
groupQuestionLink.addEventListener('click', function () {
|
||||
if (currentlyHighlightedElement !== null && currentlyHighlightedElement !== groupQuestionLink) {
|
||||
@ -373,7 +433,19 @@ function navpane() {
|
||||
localStorage.setItem('sb|sidebar-toggle', document.body.classList.contains('sb-sidenav-toggled'));
|
||||
});
|
||||
}
|
||||
const sidebarToggle1 = document.body.querySelector('#sidebarToggle1');
|
||||
if (sidebarToggle1) {
|
||||
sidebarToggle1.addEventListener('click', event => {
|
||||
event.preventDefault();
|
||||
document.body.classList.toggle('sb-sidenav-toggled');
|
||||
let qP = document.getElementById('questionPaper');
|
||||
qP.classList.toggle('qP-style');
|
||||
localStorage.setItem('sb|sidebar-toggle', document.body.classList.contains('sb-sidenav-toggled'));
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
// Function to scroll to the specified element with smooth behavior
|
||||
|
||||
22
package-lock.json
generated
@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "project-b",
|
||||
"name": "projectb",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "project-b",
|
||||
"name": "projectb",
|
||||
"version": "1.0.0",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
@ -28,6 +28,7 @@
|
||||
"quill": "^1.3.6",
|
||||
"sweetalert2": "^11.6.13",
|
||||
"tinymce": "^6.7.0",
|
||||
"tippy.js": "^6.3.7",
|
||||
"uuid": "^9.0.1",
|
||||
"xml2js": "^0.6.2"
|
||||
},
|
||||
@ -282,6 +283,15 @@
|
||||
"node": ">= 10"
|
||||
}
|
||||
},
|
||||
"node_modules/@popperjs/core": {
|
||||
"version": "2.11.8",
|
||||
"resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.8.tgz",
|
||||
"integrity": "sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==",
|
||||
"funding": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/popperjs"
|
||||
}
|
||||
},
|
||||
"node_modules/@sindresorhus/is": {
|
||||
"version": "4.6.0",
|
||||
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz",
|
||||
@ -3315,6 +3325,14 @@
|
||||
"resolved": "https://registry.npmjs.org/tinymce/-/tinymce-6.7.2.tgz",
|
||||
"integrity": "sha512-6h/02jHmXyghekFzmzccZxUUEFtlPEKHxOd+gd49bjno3ybavZInPIaDd/pp2GeEwsFm20oGgJCL7UiebXm9dw=="
|
||||
},
|
||||
"node_modules/tippy.js": {
|
||||
"version": "6.3.7",
|
||||
"resolved": "https://registry.npmjs.org/tippy.js/-/tippy.js-6.3.7.tgz",
|
||||
"integrity": "sha512-E1d3oP2emgJ9dRQZdf3Kkn0qJgI6ZLpyS5z6ZkY1DF3kaQaBsGZsndEpHwx+eC+tYM41HaSNvNtLx8tU57FzTQ==",
|
||||
"dependencies": {
|
||||
"@popperjs/core": "^2.9.0"
|
||||
}
|
||||
},
|
||||
"node_modules/tough-cookie": {
|
||||
"version": "4.1.3",
|
||||
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz",
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "project-b",
|
||||
"name": "projectb",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "main.js",
|
||||
@ -35,6 +35,7 @@
|
||||
"quill": "^1.3.6",
|
||||
"sweetalert2": "^11.6.13",
|
||||
"tinymce": "^6.7.0",
|
||||
"tippy.js": "^6.3.7",
|
||||
"uuid": "^9.0.1",
|
||||
"xml2js": "^0.6.2"
|
||||
}
|
||||
|
||||
13
savexml.js
@ -34,8 +34,8 @@ files.forEach((file) => {
|
||||
////////
|
||||
//end the autosave
|
||||
|
||||
function saveXmlToFile(xmlData, filePath,reorder=false) {
|
||||
console.log(filePath);
|
||||
function saveXmlToFile(xmlData, filePath,reorder=false, xmlfilename) {
|
||||
// console.log(xmlfilename);
|
||||
// console.log(filePath);
|
||||
// Check if the file path is provided
|
||||
if (!filePath) {
|
||||
@ -61,7 +61,9 @@ function saveXmlToFile(xmlData, filePath,reorder=false) {
|
||||
if(reorder){
|
||||
window.location.reload();
|
||||
}else{
|
||||
window.location.href = 'dashboard.html';
|
||||
window.location.href = 'addform.html?filename=' + xmlfilename;
|
||||
// window.location.reload();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@ -87,6 +89,7 @@ function savexml(UserFilename,reorder=false) {
|
||||
|
||||
// Create a filename using on the subtitle
|
||||
var xmlfilename = `${UserFilename}.xml`;
|
||||
console.log('xmlfilename : ', xmlfilename)
|
||||
// var jsonfilename = `${UserFilename}.json`;
|
||||
|
||||
// file path where you want to save the XML file
|
||||
@ -96,10 +99,10 @@ function savexml(UserFilename,reorder=false) {
|
||||
// const jsonfilePath = process.cwd() + '/xml/' + jsonfilename;
|
||||
|
||||
if(reorder){
|
||||
saveXmlToFile(enc, xmlfilePath,reorder=true);
|
||||
saveXmlToFile(enc, xmlfilePath,reorder=true, xmlfilename);
|
||||
}else{
|
||||
// Call the function to save the XML file
|
||||
saveXmlToFile(enc, xmlfilePath);
|
||||
saveXmlToFile(enc, xmlfilePath, false, xmlfilename);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
397
style.css
@ -14,13 +14,18 @@
|
||||
overflow: hidden;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.sticky-nav{
|
||||
padding: 0 80px 7px!important;
|
||||
}
|
||||
|
||||
/*<!-- ============================================================== -->
|
||||
<!-- Start main-header Css -->
|
||||
<!-- ============================================================== -->*/
|
||||
.main-header {
|
||||
position: relative;
|
||||
z-index: 99;
|
||||
padding: 0 20px 15px;
|
||||
/* padding: 0 20px 15px; */
|
||||
}
|
||||
.nav-menu {
|
||||
display: flex;
|
||||
@ -1054,9 +1059,9 @@ input::focus {
|
||||
|
||||
|
||||
.row.section {
|
||||
box-shadow: 8px 9px 35px 0px rgb(145 145 145 / 24%);
|
||||
/* box-shadow: 8px 9px 35px 0px rgb(145 145 145 / 24%); */
|
||||
padding: 0px 0px 0px 0px!important;
|
||||
background: #fff;
|
||||
background: transparent;
|
||||
/* background: #b3ffd9; */
|
||||
position: relative;
|
||||
border-radius: 39px;
|
||||
@ -1702,7 +1707,7 @@ input::focus {
|
||||
text-transform: capitalize;
|
||||
}
|
||||
.form_box {
|
||||
margin-bottom: 15px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.form_box input {
|
||||
width: 100%;
|
||||
@ -2095,12 +2100,12 @@ input::focus {
|
||||
font-weight: 400;
|
||||
}
|
||||
.copy-right-area {
|
||||
padding: 100px 0px 20px 0px;
|
||||
padding: 0px 0px 20px 0px;
|
||||
color: white;
|
||||
}
|
||||
.copy-left {
|
||||
text-align: center;
|
||||
padding: 148px 0px 0px 0px;
|
||||
/* padding: 148px 0px 0px 0px; */
|
||||
}
|
||||
.copy-right-area span {
|
||||
font-size: 16px;
|
||||
@ -3154,32 +3159,29 @@ a.main_sticky {
|
||||
}
|
||||
.loader-wrapper .loder-section.left-section {
|
||||
left: 0;
|
||||
transition: 1s 1.4s ease;
|
||||
transition: 1s 1.5s ease;
|
||||
}
|
||||
.loader-wrapper .loder-section.right-section {
|
||||
right: 0;
|
||||
transition: 1s 1.4s ease;
|
||||
transition: 1s 1.5s ease;
|
||||
}
|
||||
|
||||
/* When page loaded */
|
||||
.loaded .loder-section.left-section {
|
||||
left: -100%;
|
||||
}
|
||||
.loaded .loder-section.right-section {
|
||||
right: -100%;
|
||||
.loaded .loder-section {
|
||||
display: none;
|
||||
transition: 1s 1.5s ease;
|
||||
}
|
||||
.loaded .loader-wrapper {
|
||||
visibility: hidden;
|
||||
display: none;
|
||||
transition: 1s 1.5s ease;
|
||||
}
|
||||
.loaded .loader {
|
||||
top: -100%;
|
||||
opacity: 0;
|
||||
top: -100%;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
|
||||
/* New Add CSS Class */
|
||||
|
||||
|
||||
/* toggle switch */
|
||||
|
||||
.switch {
|
||||
@ -3220,7 +3222,8 @@ a.main_sticky {
|
||||
}
|
||||
|
||||
input:checked + .slider {
|
||||
background-color: #740fd6;
|
||||
/* background-color: #740fd6; */
|
||||
background-color: #BF303B;
|
||||
}
|
||||
|
||||
input:focus + .slider {
|
||||
@ -3273,58 +3276,77 @@ a.main_sticky {
|
||||
}
|
||||
|
||||
.question-papper-title{
|
||||
width: 86%; /* 100% */
|
||||
width: 100%; /* 100% */
|
||||
position: relative;
|
||||
padding: 25px 25px 25px 25px!important;
|
||||
margin-left: 63px;
|
||||
margin-right: 70px;
|
||||
margin-top: 50px;
|
||||
background-color: rgb(245, 245, 245);
|
||||
color: #740fd6;
|
||||
border-radius: 5px;
|
||||
padding: 25px 60px 55px 60px !important;
|
||||
margin-left: 30px;
|
||||
/* margin-right: 70px; */
|
||||
margin-top: 95px;
|
||||
background-color: #FFFFFF;
|
||||
color: #000000;
|
||||
border-radius: 10px;
|
||||
margin-bottom: 50px;
|
||||
border-bottom: 2px solid;
|
||||
box-shadow: 8px 9px 35px 0px rgba(8, 8, 8, 0.24);
|
||||
|
||||
}
|
||||
|
||||
.question-pallete{
|
||||
width: 100%;
|
||||
position: relative;
|
||||
margin-left: 63px;
|
||||
/* margin-left: 63px;
|
||||
margin-right: 70px;
|
||||
margin-top: 20px;
|
||||
margin-top: 20px; */
|
||||
margin-bottom: 45px;
|
||||
}
|
||||
|
||||
.question-pallete .section{
|
||||
padding: 50px 0px 25px 0px!important;
|
||||
/* background: #fff; */
|
||||
padding-top:25px;
|
||||
padding-bottom:20px;
|
||||
margin-bottom:20px;
|
||||
background: #fff;
|
||||
margin-bottom:15px;
|
||||
/* margin-top: -80px */
|
||||
border-radius: 10px;
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.section-reorder{
|
||||
margin-bottom:60px;
|
||||
}
|
||||
|
||||
.question-pallete .groupsection{
|
||||
padding: 50px 0px 25px 0px!important;
|
||||
/* background: #fff; */
|
||||
/* padding: 50px 0px 25px 0px!important; */
|
||||
background: rgba(245, 247, 248, 1);
|
||||
margin-bottom:15px;
|
||||
margin-top: -80px
|
||||
border-radius: 0px 0px 10px 10px;
|
||||
}
|
||||
.sidebar-fixed{
|
||||
position: fixed;
|
||||
top: 70px;
|
||||
left: 0;
|
||||
|
||||
max-height: 532px;
|
||||
padding: 0 10px 20px;
|
||||
width: 235px;
|
||||
height: -webkit-fill-available;
|
||||
}
|
||||
|
||||
.question{
|
||||
|
||||
background-color: rgb(245, 245, 245);
|
||||
color: #740fd6;
|
||||
padding: 25px 25px 25px 25px!important;
|
||||
/* border-radius: 5px; */
|
||||
border-top: solid;
|
||||
margin-bottom: -52px
|
||||
|
||||
/* background-color: #FFFFFF; */
|
||||
color: #000000;
|
||||
padding: 0 60px 55px 60px!important;
|
||||
border-radius: 10px;
|
||||
margin-bottom: -52px;
|
||||
/* box-shadow: 8px 9px 35px 0px rgba(8, 8, 8, 0.24); */
|
||||
}
|
||||
|
||||
.sectionTitle{
|
||||
margin-bottom:50px;
|
||||
margin-bottom:19px;
|
||||
}
|
||||
|
||||
|
||||
.type1-switch{
|
||||
/* margin-left: 535px; */
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
@ -3399,7 +3421,7 @@ a.main_sticky {
|
||||
.drag-handle{
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
margin-top: -20px;
|
||||
margin-top:10px;
|
||||
}
|
||||
.row question{
|
||||
border-top: solid;
|
||||
@ -3407,18 +3429,10 @@ a.main_sticky {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.icons {
|
||||
|
||||
color: #36B9FD;
|
||||
|
||||
}
|
||||
.icons:hover {
|
||||
color: #5a34f6;
|
||||
}
|
||||
.xmlFileName{
|
||||
|
||||
margin-top: -39px;
|
||||
margin-left: 55px;
|
||||
margin-top: -33px;
|
||||
margin-left: 45px;
|
||||
}
|
||||
.Recent{
|
||||
margin-left: 80px;
|
||||
@ -3475,8 +3489,8 @@ em {
|
||||
|
||||
|
||||
input::placeholder {
|
||||
font-style: normal; /* You can set the desired font style here */
|
||||
color: #999; /* You can set the color of the placeholder text here */
|
||||
font-style: normal;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
|
||||
@ -3493,43 +3507,194 @@ input:disabled {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.element {
|
||||
border-left: 9px solid transparent; /* Initially, set a transparent border */
|
||||
border-right: 0px solid transparent; /* Initially, set a transparent border */
|
||||
transition: border-left-color 0.3s; /* Add a smooth transition effect */
|
||||
border-radius: 10px;
|
||||
}
|
||||
.question:hover .type1-switch{
|
||||
/* .element {
|
||||
border-left: 9px solid transparent;
|
||||
border-right: 0px solid transparent;
|
||||
transition: border-left-color 0.3s;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.element:hover {
|
||||
border-left-color: #00aaff;
|
||||
} */
|
||||
|
||||
/* .Question-Border-Top{
|
||||
|
||||
border-top: 4px solid #9940f2!important;
|
||||
border-radius: 10px;
|
||||
|
||||
} */
|
||||
|
||||
.question:hover .type1-switch{
|
||||
display:block !important;
|
||||
}
|
||||
.element:hover {
|
||||
border-left-color: #00aaff; /* Change the border color on hover */
|
||||
}
|
||||
|
||||
|
||||
.Question-Border-Top{
|
||||
}
|
||||
|
||||
border-top: 4px solid #9940f2!important; /* Initially, set a transparent border */
|
||||
border-radius: 10px;
|
||||
.MetaData{
|
||||
margin-top: -5px;
|
||||
color: #6d6d6d;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.MetaData{
|
||||
|
||||
margin-top: -5px;
|
||||
color: #6d6d6d;
|
||||
}
|
||||
|
||||
.comment{
|
||||
color: #6d6d6d;
|
||||
}
|
||||
.comment{
|
||||
color: #6d6d6d;
|
||||
}
|
||||
|
||||
|
||||
.buttons i {
|
||||
display: inline-block;
|
||||
color: #fff;
|
||||
font-weight: 900;
|
||||
padding: 10px 0px;
|
||||
text-transform: capitalize;
|
||||
transition: 0.5s;
|
||||
font-size: 15px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
border-radius: 5px;
|
||||
overflow: hidden;
|
||||
margin-top: 5px;
|
||||
background: linear-gradient(to right,#00aaff,#00aaff);
|
||||
border: none;
|
||||
margin-right: 15px;
|
||||
width: 40px;
|
||||
padding-right: 12px;
|
||||
margin-top: -5px;
|
||||
|
||||
}
|
||||
.buttons i {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
left: 5px;
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
}
|
||||
.buttons i:hover {
|
||||
color: #fff;
|
||||
background: linear-gradient(to left, #533efe, #740fd6);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.checkbox{
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
float: right;
|
||||
margin-right: 5px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.math{
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
}
|
||||
.mathQuestions{
|
||||
font-weight: 500;
|
||||
float: right;
|
||||
font-size: 14px;
|
||||
|
||||
}
|
||||
|
||||
.navContain{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
}
|
||||
|
||||
/* .titleSpace{
|
||||
margin-bottom: 0px;
|
||||
} */
|
||||
|
||||
|
||||
/* section menu button */
|
||||
.menuButton{
|
||||
display: inline-block;
|
||||
color: #fff;
|
||||
font-weight: 400;
|
||||
padding: 2px 0px;
|
||||
text-transform: capitalize;
|
||||
transition: 0.5s;
|
||||
font-size: 15px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
border-radius: 5px;
|
||||
overflow: hidden;
|
||||
/* margin-top: 5px; */
|
||||
background: linear-gradient(to right,#533dfd,#730fd5);
|
||||
border: none;
|
||||
/* margin-right: 15px; */
|
||||
width:85px;
|
||||
}
|
||||
|
||||
.addPageMenu{
|
||||
margin-top: -3px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.addButtonIcons{
|
||||
border: 1px solid #4F4F4F;
|
||||
border-radius: 5px;
|
||||
width:32px;
|
||||
height:32px;
|
||||
line-height:30px;
|
||||
text-align:center;
|
||||
margin-bottom:15px;
|
||||
}
|
||||
.addButtonIcons:hover{
|
||||
background:#BF303B;
|
||||
border-color:#BF303B;
|
||||
}
|
||||
.addButtonIcons:hover img{
|
||||
filter:brightness(0) invert(1);
|
||||
|
||||
}
|
||||
|
||||
.question-linestyle img{
|
||||
width:100%;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
margin-top: 27px;
|
||||
}
|
||||
.question-group-linestyle img{
|
||||
width:89%;
|
||||
/* height: auto;
|
||||
max-width: 100%; */
|
||||
margin-top: -25px;
|
||||
margin-left: 55px;
|
||||
}
|
||||
|
||||
.section-titleHead{
|
||||
text-align: center;
|
||||
font-weight: 400;
|
||||
}
|
||||
.QuestionGroup-titleHead{
|
||||
text-align: center;
|
||||
font-weight: 400;
|
||||
position: relative;
|
||||
left: 369px;
|
||||
}
|
||||
|
||||
.QGButtons{
|
||||
position: absolute;
|
||||
top: 73px;
|
||||
right: -185px;
|
||||
float: right;
|
||||
text-align: -webkit-right;
|
||||
}
|
||||
|
||||
.modal_form_box input {
|
||||
width: 100%;
|
||||
height: 50px;
|
||||
padding-left: 8px;
|
||||
background: #fff;
|
||||
border-radius: 3px;
|
||||
transition: .5s;
|
||||
border: 2px solid #EEECFE;
|
||||
border-radius: 6px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
.modal_form_button button {
|
||||
display: inline-block;
|
||||
color: #fff;
|
||||
font-weight: 900;
|
||||
padding: 10px 0px;
|
||||
font-weight: 400;
|
||||
padding: 5px 10px;
|
||||
text-transform: capitalize;
|
||||
transition: 0.5s;
|
||||
font-size: 15px;
|
||||
@ -3538,58 +3703,26 @@ input:disabled {
|
||||
border-radius: 5px;
|
||||
overflow: hidden;
|
||||
margin-top: 5px;
|
||||
background: linear-gradient(to right,#00aaff,#00aaff);
|
||||
background: #1D3557;
|
||||
border: none;
|
||||
margin-right: 15px;
|
||||
width: 40px;
|
||||
padding-right: 12px;
|
||||
margin-top: -5px;
|
||||
|
||||
}
|
||||
.buttons i {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
left: 5px;
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
}
|
||||
.buttons i:hover {
|
||||
color: #fff;
|
||||
background: linear-gradient(to left, #533efe, #740fd6);
|
||||
cursor: pointer;
|
||||
width: 130px;
|
||||
}
|
||||
|
||||
.checkbox{
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
float: right;
|
||||
margin-right: 5px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.math{
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
}
|
||||
.mathQuestions{
|
||||
font-weight: 500;
|
||||
float: right;
|
||||
font-size: 14px;
|
||||
.modal_form_button button:hover{
|
||||
background: #bf303b;
|
||||
|
||||
}
|
||||
|
||||
.navContain{
|
||||
display: flex; /* Use a flex container to control spacing */
|
||||
align-items: center; /* Vertically center the items */
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: #797a7c;
|
||||
border-radius: 15px;
|
||||
height: 5px;
|
||||
}
|
||||
|
||||
.titleSpace{
|
||||
margin-bottom: 0px;
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||