Disabled buttons with no click handlers and added comments. Also updated Settings button styling
This commit is contained in:
@@ -69,7 +69,9 @@ document.addEventListener('pageshow', async () => {
|
||||
var cell1 = row.insertCell(0);
|
||||
var cell2 = row.insertCell(1);
|
||||
cell1.innerHTML = moviesInfo[i].Name;
|
||||
cell2.innerHTML = "<button>Delete</button>";
|
||||
// Will need to be enabled once radarr and sonarr integration is enabled.
|
||||
// Maybe change this to an element to remove hard coding.
|
||||
cell2.innerHTML = "<button type=\"button\" disabled>Delete</button>";
|
||||
}
|
||||
|
||||
for(let i = 0; i < seriesInfo.length; i++){
|
||||
@@ -79,7 +81,9 @@ document.addEventListener('pageshow', async () => {
|
||||
var cell3 = row.insertCell(2);
|
||||
cell1.innerHTML = seriesInfo[i].Name;
|
||||
cell2.innerHTML = seriesInfo[i].Seasons.map(season => season.replace("Season ", "")).join(", ");
|
||||
cell3.innerHTML = "<button>Delete</button>";
|
||||
// Will need to be enabled once radarr and sonarr integration is enabled.
|
||||
// Maybe change this to an element to remove hard coding.
|
||||
cell3.innerHTML = "<button type=\"button\" disabled>Delete</button>";
|
||||
cell3.className = "actions-cell";
|
||||
}
|
||||
};
|
||||
@@ -105,7 +109,7 @@ document.addEventListener('pageshow', async () => {
|
||||
linkbtns.forEach(btn => {
|
||||
btn.style.background = "#0f0f0f";
|
||||
btn.style.border = '1px solid';
|
||||
btn.style.padding = '1rem 2rem';
|
||||
btn.style.padding = '0.8rem 1.8rem';
|
||||
btn.style.fontSize = "1.2rem"
|
||||
btn.style.color = "white";
|
||||
btn.style.textDecoration = 'none';
|
||||
|
||||
Reference in New Issue
Block a user