Correct class to quota
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
ca00e24504
commit
7f07ff48f2
|
@ -24,7 +24,7 @@
|
|||
} ?></p>
|
||||
<div class="quota-container">
|
||||
<progress value="<?php p($_['usage_relative']); ?>" max="100"
|
||||
<?php if($_['usage_relative'] > 80): ?> class="quota-warning" <?php endif; ?>></progress>
|
||||
<?php if($_['usage_relative'] > 80): ?> class="warn" <?php endif; ?>></progress>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
|
|
|
@ -39,10 +39,9 @@ vendor_style('jcrop/css/jquery.Jcrop');
|
|||
|
||||
<div id="quota" class="section">
|
||||
<progress value="<?php p($_['usage_relative']); ?>" max="100"
|
||||
<?php if($_['usage_relative'] > 80): ?> class="quota-warning" <?php endif; ?>></progress>
|
||||
<?php if($_['usage_relative'] > 80): ?> class="warn" <?php endif; ?>></progress>
|
||||
|
||||
<div style="width:<?php p($_['usage_relative']);?>%" class="quotatext-fg
|
||||
<?php if($_['usage_relative'] > 80): ?> quota-warning <?php endif; ?>">
|
||||
<div style="width:<?php p($_['usage_relative']);?>%" class="quotatext-fg">
|
||||
<p class="quotatext">
|
||||
<?php if ($_['quota'] === \OCP\Files\FileInfo::SPACE_UNLIMITED): ?>
|
||||
<?php print_unescaped($l->t('You are using <strong>%s</strong> of <strong>%s</strong>',
|
||||
|
|
Loading…
Reference in New Issue