Skip to content
Snippets Groups Projects
Commit 9b1c4a1e authored by jbtbnl's avatar jbtbnl
Browse files

Merge pull request #10738 from owncloud/fix-quotabar-width

Fix quota bar width, and indicate almost full storage
parents 35276def 0aede0f4
Branches
No related tags found
No related merge requests found
......@@ -736,9 +736,16 @@ code { font-family:"Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono
font-weight: normal;
white-space: nowrap;
border-bottom-left-radius: 3px;
border-top-left-radius: 3px; }
border-top-left-radius: 3px;
min-width: 1%;
max-width: 100%;
}
#quotatext {padding:.6em 1em;}
#quota div.quota-warning {
background-color: #fc4;
}
.pager { list-style:none; float:right; display:inline; margin:.7em 13em 0 0; }
.pager li { display:inline-block; }
......
......@@ -34,7 +34,8 @@
<div id="quota" class="section">
<div style="width:<?php p($_['usage_relative']);?>%;">
<div style="width:<?php p($_['usage_relative']);?>%"
<?php if($_['usage_relative'] > 80): ?> class="quota-warning" <?php endif; ?>>
<p id="quotatext">
<?php print_unescaped($l->t('You have used <strong>%s</strong> of the available <strong>%s</strong>',
array($_['usage'], $_['total_space'])));?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment