+
+ // The switch only allows cycling when it's on.
+ cell = row.insertCell(-1);
+ button = document.createElement('input');
+ button.type = 'button';
+ button.id = `${outlet_num}:cycle`;
+ button.value = '🗘';
+ button.data = 'CCL';
+ button.title = 'Power cycle';
+ button.onclick = confirmable ? toggle_confirm : toggle;
+ if (current_status.toUpperCase() === 'OFF') {
+ button.style.display = 'none';
+ }
+ button.style.fontSize = 'smaller';
+ cell.appendChild(button);