|
@@ -1,31 +1,31 @@
|
|
<div class="page-header">
|
|
<div class="page-header">
|
|
- <h2><?= t("Project Branding Settings") ?></h2>
|
|
|
|
|
|
+ <h2><?= t("Project Branding Settings") ?></h2>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<form method="post" action="<?= $this->url->to('ProjectBrandingController', 'show', ['project_id' => $project['id'], 'plugin' => 'OMIProjectBranding']) ?>" autocomplete="off">
|
|
<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->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, $colors) ?>
|
|
|
|
|
|
|
|
|
|
- <?= $this->form->label(t("Background Color"), "background_color") ?>
|
|
|
|
- <?= $this->form->colorSelect("background_color", $branding) ?>
|
|
|
|
|
|
+ <?= $this->form->label(t("Background Color"), "background_color") ?>
|
|
|
|
+ <?= $this->form->colorSelect("background_color", $branding, $colors) ?>
|
|
|
|
|
|
- <?= $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>
|
|
|
|
|
|
+ <?= $this->form->label(t("Secondary Background Color"), "second_background_color") ?>
|
|
|
|
+ <?= $this->form->colorSelect("second_background_color", $branding, $colors) ?>
|
|
|
|
+
|
|
|
|
+ <div class="form-actions">
|
|
|
|
+ <button type="submit" class="btn btn-blue"><?= t("Save") ?></button>
|
|
|
|
+ </div>
|
|
</form>
|
|
</form>
|