diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/head_tags.php | 1 | ||||
| -rw-r--r-- | templates/settings_field.php | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/head_tags.php b/templates/head_tags.php index 395b707..9f9cb1c 100644 --- a/templates/head_tags.php +++ b/templates/head_tags.php @@ -1,4 +1,5 @@ <link rel="stylesheet" href="/static/style.css"> +<link rel="stylesheet" href="/instance-style.css"> <link rel="stylesheet" href="https://fonts.bunny.net/css?family=nunito-sans:400,400i,800,800i"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#3b005e"> diff --git a/templates/settings_field.php b/templates/settings_field.php index f9de886..b58892d 100644 --- a/templates/settings_field.php +++ b/templates/settings_field.php @@ -34,6 +34,10 @@ $fieldName ??= str_replace('.', '<DOT>', $key); <textarea id="<?= $id ?>" name="<?= $fieldName ?>" autocomplete="off"><?= $value ?></textarea> + <?php elseif ($inputType == 'code'): ?> + + <textarea id="<?= $id ?>" name="<?= $fieldName ?>" autocomplete="off" class="codeEdit"><?= $value ?></textarea> + <?php else: ?> <input id="<?= $id ?>" name="<?= $fieldName ?>" value="<?= $value ?>" type="<?= $inputType ?>" autocomplete="off"> |
