initial commit

master
VARUN 7 months ago
parent 7345b77a8e
commit 4ab69d3519

@ -0,0 +1,7 @@
asgiref==3.7.2
Django==4.2.11
mysqlclient==2.2.4
pillow==10.2.0
sqlparse==0.4.4
typing_extensions==4.10.0
tzdata==2024.1

@ -560,7 +560,22 @@ function hideClientDetails() {
clientDetailsContainer.style.display = 'none'; clientDetailsContainer.style.display = 'none';
} }
} }
function validateBudget() {
var budgetMin = parseFloat(document.getElementById("BudgetMin").value);
var budgetMax = parseFloat(document.getElementById("BudgetMax").value);
var budgetError = document.getElementById("budgetError");
if (budgetMin > budgetMax) {
budgetError.style.display = "inline"; // Show error message
} else {
budgetError.style.display = "none"; // Hide error message
}
}
function limitNumberOfPostings(input) {
var maxPostings = 100;
if (input.value > maxPostings) {
input.value = maxPostings; // Set the value to the maximum allowed
}
}
</script> </script>
</section> </section>

@ -130,7 +130,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="BudgetMin" class="required">Budget Min Rs:</label> <label for="BudgetMin" class="required">Budget Min Rs:</label>
<input type="number" id="BudgetMin" name="BudgetMin" required placeholder="" style="width: 80%;" tabindex="11"> <input type="number" id="BudgetMin" name="BudgetMin" required placeholder="" style="width: 80%;" tabindex="11" onchange="validateBudget()">
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="JobDescription" class="required">Job Description:</label> <label for="JobDescription" class="required">Job Description:</label>
@ -161,7 +161,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="BudgetMax" class="required">Budget Max Rs:</label> <label for="BudgetMax" class="required">Budget Max Rs:</label>
<input type="number" id="BudgetMax" name="BudgetMax" required placeholder="" style="width: 80%;" tabindex="12"> <input type="number" id="BudgetMax" name="BudgetMax" required placeholder="" style="width: 80%;" tabindex="12" onchange="validateBudget()">
</div> </div>
</div> </div>
<div class="col3"> <div class="col3">
@ -176,7 +176,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="NoOfPosting" class="required" style="margin-left: 1px;">No of Posting:</label> <label for="NoOfPosting" class="required" style="margin-left: 1px;">No of Posting:</label>
<input type="number" id="NoOfPosting" name="NoOfPosting" required placeholder="Ex. 5" style="width: 75%; margin-left: 1px;" tabindex="6"> <input type="number" id="NoOfPosting" name="NoOfPosting" required placeholder="Ex. 5" style="width: 75%; margin-left: 1px;" tabindex="6" oninput="limitNumberOfPostings(this)">
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="Type" class="required">Type:</label> <label for="Type" class="required">Type:</label>
@ -197,7 +197,7 @@
<div></div> <div></div>
<div class="form-group"> <div class="form-group">
<label for="Experience" class="required">Experience in Yrs:</label> <label for="Experience" class="required">Experience in Yrs:</label>
<input type="text" id="Experience" name="Experience_in_Yrs" required placeholder="" style="width:15%;" tabindex="10"> <input type="text" id="Experience" name="Experience_in_Yrs" required placeholder="" style="width:16%;" tabindex="10">
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save