redesign options.php

This commit is contained in:
Tealk
2021-03-19 12:05:36 +01:00
parent 0490a91b70
commit 85f29d89c1
3 changed files with 102 additions and 69 deletions
+2 -2
View File
@@ -169,14 +169,14 @@ class Template
public static function render_toggle($toggletext, $input_name, $checked)
{
?>
<div>
<h3><?php echo $toggletext; ?></h3>
<div id="switch">
<label class="switch">
<input type="checkbox" name="<?php echo $input_name; ?>" <?php if ($checked) {
echo "checked";
} ?>>
<span class="slider round"></span>
</label>
<?php echo $toggletext; ?>
</div>
<?php
}