Skip to content

Commit

Permalink
Add Palette Section Headings
Browse files Browse the repository at this point in the history
WIP  #1 #3 #4
  • Loading branch information
aljawaid committed Dec 24, 2022
1 parent 7b9463e commit 6ecff5c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Template/config/colours.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
</svg>
<?= t('Available Colours') ?> <span class="total-count"><?= count($this->task->colorModel->getList()) ?></span>
</h2>

<hr>
<div class="kbc-section">
<h3 class=""><?= t('Default Color Palette') ?><span class="total-count-section"><?= count($defaultColours); ?></span></h3>
</div>
<div class="colour-section">
<ul class="">
<li class="">
Expand Down Expand Up @@ -58,9 +61,8 @@
<?php endforeach ?>
</div>

<div class="">
<h3>KBColours Preinstalled Colours</h3>
<strong><?= t('Total Preinstalled KBColours') ?>:</strong> <?= count($this->task->colorModelExt->getStaticColors()); ?>
<div class="kbc-section">
<h3 class=""><?= t('Extra Color Palette') ?> <span class="total-count-section"><?= count($this->task->colorModelExt->getStaticColors()); ?></span></h3>
</div>

<div class="colour-boxes">
Expand Down Expand Up @@ -91,9 +93,8 @@
<?php endforeach ?>
</div>

<div class="">
<h3>Custom Colours</h3>
<strong><?= t('Total Custom Colours') ?>:</strong> <?= $customColours; ?>
<div class="kbc-section">
<h3 class=""><?= t('Custom Color Palette') ?><span class="total-count-section"><?= $customColours; ?></span></h3>
</div>

<button><?= $this->modal->small('add', t('Add Color'), 'KBColoursController', 'add', ['plugin' => 'kBColours'], false, 'popover') ?></button>
Expand Down

0 comments on commit 6ecff5c

Please sign in to comment.