<?php
// Copyright 1999-2023. Plesk International GmbH. All rights reserved.
?>
<?php if ($this->limitDetails['limitValue'] > 0): ?>

<div class="progress-box">
    <div class="progress progress-sm">
        <div class="progress-bar" style="width: <?php echo $this->escape(min($this->limitDetails['percent'], 100)); ?>%;"></div>
    </div>
    <div class="progress-label"><?php echo $this->escape($this->limitDetails['usageString']) . ($this->showPercent ? " ({$this->limitDetails['percent']}%)" : ''); ?></div>
</div>

<?php else: ?>
<?php echo $this->escape($this->limitDetails['usageString']); ?>
<?php endif; ?>

