summaryrefslogtreecommitdiffstats
path: root/apps/files/templates/appnavigation.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/templates/appnavigation.php')
-rw-r--r--apps/files/templates/appnavigation.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php
index 09b02943688..6a7b4e4b11e 100644
--- a/apps/files/templates/appnavigation.php
+++ b/apps/files/templates/appnavigation.php
@@ -11,7 +11,7 @@
</a>
</li>
<?php } ?>
- <li id="quota" class="section pinned <?php
+ <li id="quota" class="pinned <?php
if ($_['quota'] !== \OCP\Files\FileInfo::SPACE_UNLIMITED) {
?>has-tooltip" title="<?php p($_['usage_relative'] . '%');
} ?>">
@@ -23,9 +23,8 @@
p($l->t('%s used', [$_['usage']]));
} ?></p>
<div class="quota-container">
- <div style="width:<?php p($_['usage_relative']);?>%"
- <?php if($_['usage_relative'] > 80): ?>class="quota-warning"<?php endif; ?>>
- </div>
+ <progress value="<?php p($_['usage_relative']); ?>" max="100"
+ <?php if($_['usage_relative'] > 80): ?> class="quota-warning" <?php endif; ?>></progress>
</div>
</a>
</li>