123456789101112131415161718192021222324 |
- <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() ?>
-
- <div class="form-help">
- <?= t("Configure the logo and primary color for this project.") ?>
- </div>
-
- <?= $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("Accent Color"), "accent_color") ?>
- <?= $this->form->text("accent_color", $branding, [], ['type="color"']) ?>
-
- <div class="form-actions">
- <button type="submit" class="btn btn-blue"><?= t("Save") ?></button>
- </div>
- </form>
|