From 41ace0391104ca7b65167d3bcee3b1960d21bb89 Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <hey@jancborchardt.net>
Date: Fri, 29 Aug 2014 16:46:08 +0200
Subject: [PATCH] color quota bar yellow for feedback if usage is over 90%

---
 settings/templates/personal.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 661c242ea6..33534e59f1 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -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): ?>background-color:#fc4;<?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'])));?>
-- 
GitLab