Migrated to using free library of icons for images and fixed button layout for index pages.

This commit is contained in:
Daniel Wathen
2023-01-11 12:36:28 -07:00
parent 7fbbca61b8
commit f23c7136c0
40 changed files with 18886 additions and 18 deletions

View File

@ -65,7 +65,7 @@ function checkboxStatusChange() {
}
var dropdownText = "Nothing is selected";
var dropdownValue = "Nothing is selected";
var dropdownValue = "";
if (values.length > 0) {
dropdownText = values.join(', ');
dropdownValue = values.join(',');
@ -92,7 +92,7 @@ function allCheckboxStatusCheck() {
}
var dropdownText = "Nothing is selected";
var dropdownValue = "Nothing is selected";
var dropdownValue = "";
if (values.length > 0) {
dropdownText = values.join(', ');
dropdownValue = values.join(',');
@ -138,18 +138,17 @@ function toggleCheckboxArea(onlyHide = false) {
}
function expandYield() {
var yieldDivs = document.getElementsByClassName("yield");
for (let i = 0; i < yieldDivs.length; i++) {
yieldDivs[i].classList.toggle("hidden");
}
var source = document.getElementById("yieldImage").src;
var source = document.getElementById("yieldIcon");
if (source.substring(source.indexOf("Images/") + 7) == "plusIcon.png")
document.getElementById("yieldImage").src = "../Images/minusIcon.png";
else
document.getElementById("yieldImage").src = "../Images/plusIcon.png";
source.classList.toggle("fa-plus-circle");
source.classList.toggle("fa-minus-circle");
}
function toggleWeek() {