FEATURE refine component
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f27ff1d3a4
commit
b9e185d6d4
|
|
@ -28,7 +28,8 @@ write_log($documents_statistics);
|
|||
aria-controls="tabpanel-0"
|
||||
tabindex="0"
|
||||
data-tab="0">
|
||||
<span>Toutes nos collections</span>
|
||||
Toutes nos collections
|
||||
|
||||
</button>
|
||||
<?php foreach ($documents_statistics as $index => $document_statistic) : ?>
|
||||
<button
|
||||
|
|
@ -38,7 +39,7 @@ write_log($documents_statistics);
|
|||
aria-controls="tabpanel-<?php echo esc_attr($index + 1); ?>"
|
||||
tabindex="-1"
|
||||
data-tab="<?php echo esc_attr($index + 1); ?>">
|
||||
<span><?php echo esc_html($document_statistic['name']); ?></span>
|
||||
<?php echo esc_html($document_statistic['name']); ?>
|
||||
</button>
|
||||
<?php endforeach; ?>
|
||||
|
||||
|
|
@ -70,12 +71,12 @@ write_log($documents_statistics);
|
|||
</div>
|
||||
|
||||
<div class="amount-container">
|
||||
<div class="percentage-bar" data-percentage="<?php echo esc_attr($percentage); ?>"><?php echo esc_html($document_statistic['number']); ?></div>
|
||||
<div class="percentage-bar" style="width: <?php echo esc_attr($percentage); ?>%;" data-percentage="<?php echo esc_attr($percentage); ?>"><?php echo esc_html($document_statistic['number']); ?></div>
|
||||
<p class="percentage-label"><?php echo round($percentage, 2); ?> % </p>
|
||||
</div>
|
||||
|
||||
<p class="stat-item-description">
|
||||
<?php echo esc_html($document_statistic['description']); ?>
|
||||
<?php echo $document_statistic['description']; ?>
|
||||
</p>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user