jr: gajumaru color scheme

This commit is contained in:
2024-03-20 00:44:09 -06:00
parent aab6f34ba6
commit 708b4bc612
4 changed files with 60 additions and 19 deletions
+4 -4
View File
@@ -253,12 +253,12 @@ pi_repop
this_li.appendChild(rkp_ul);
// if active, make background green
// if active, make background "active"
if (this_rkp.active)
this_li.style.background = 'green';
// otherwise make background red and add activate li
this_li.classList.add('account-active');
// otherwise make background "inactive" and add activate li
else {
this_li.style.background = 'red';
this_li.classList.add('account-inactive');
let activate_li = document.createElement('li');
let activate_a = document.createElement('a');
activate_a.innerHTML = 'Switch to this key';