removed popup modal
This commit is contained in:
@@ -2,26 +2,6 @@ document.addEventListener('DOMContentLoaded', (event) => {
|
||||
const form = document.querySelector('form');
|
||||
const formElements = form.elements;
|
||||
|
||||
const instructionsModal = new bootstrap.Modal(document.getElementById('instructionsModal'));
|
||||
instructionsModal.show();
|
||||
|
||||
document.getElementById('startModalBtn').addEventListener('click', function() {
|
||||
hideNavElementsAndQuestions();
|
||||
document.currentQuestion = 0;
|
||||
showQuestion('q0');
|
||||
setButtonVisiblity('next', true);
|
||||
setButtonVisiblity('back', true);
|
||||
setNextButtonAvailability();
|
||||
});
|
||||
|
||||
// Load saved form state
|
||||
/* loadFormState(formElements);
|
||||
|
||||
// Save form state on change
|
||||
form.addEventListener('change', () => {
|
||||
saveFormState(formElements);
|
||||
}); */
|
||||
|
||||
setUpNavigation()
|
||||
});
|
||||
|
||||
|
||||
@@ -1200,32 +1200,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal fade" id="instructionsModal" tabindex="-1" aria-labelledby="instructionsModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog modal-lg modal-dialog-centered">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="instructionsModalLabel"><strong>Instructions</strong></h5>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<p>
|
||||
Please select the most appropriate answer(s) for each question to help us understand the organization's inherent cybersecurity risk profile.
|
||||
</p>
|
||||
<ul>
|
||||
<li><strong>Basic Identification:</strong> Name, Email</li>
|
||||
<li><strong>Scale & Scope:</strong> Headcount, Revenue, Geography, Customer Base, Products, Suppliers</li>
|
||||
<li><strong>Operational Context:</strong> Industry, Tech Dependency, Critical Apps, Remote Work, Third Parties, Internal Dev, Network Model, System Integration</li>
|
||||
<li><strong>Data Focus:</strong> Sensitive Data Type/Level, IP Protection</li>
|
||||
<li><strong>Compliance:</strong> Regulatory Frameworks</li>
|
||||
<li><strong>Process:</strong> Optional additional details.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" id="startModalBtn" class="btn btn-warning btn-lg" data-bs-dismiss="modal">Start</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="/static/js/formHandling.js"></script>
|
||||
<script src='/static/js/bootstrap.js'></script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user