12345678910111213141516171819202122232425262728293031 |
- <div class="page-header">
- <h2><?= t("Project Branding Settings") ?></h2>
- </div>
- <form method="post" action="<?= $this->url->to('ProjectBrandingController', 'show', ['project_id' => $project['id'], 'plugin' => 'OMIProjectBranding']) ?>" autocomplete="off">
- <?= $this->form->csrf() ?>
-
- <p>
- <?= t("Configure the header logo and colours for this project.") ?>
- </p>
-
- <?= $this->form->label(t("Enable custom branding"), "enabled") ?>
- <?= $this->form->checkbox("enabled", "", 1, $branding["enabled"] ?? 0) ?>
-
- <?= $this->form->label(t("Logo URL"), "logo_url") ?>
- <?= $this->form->text("logo_url", $branding, [], ['placeholder="https://example.com/logo.png"']) ?>
-
- <?= $this->form->label(t("Foreground Color"), "foreground_color") ?>
- <?= $this->form->colorSelect("foreground_color", $branding) ?>
-
- <?= $this->form->label(t("Background Color"), "background_color") ?>
- <?= $this->form->colorSelect("background_color", $branding) ?>
- <?= $this->form->label(t("Secondary Background Color"), "second_background_color") ?>
- <?= $this->form->colorSelect("second_background_color", $branding) ?>
-
- <div class="form-actions">
- <button type="submit" class="btn btn-blue"><?= t("Save") ?></button>
- </div>
- </form>
|