From 2e7f262724dd64a209e0bad5930ba29bb4f801c3 Mon Sep 17 00:00:00 2001 From: Kim <1877318+kimsible@users.noreply.github.com> Date: Fri, 24 Jul 2020 08:53:25 +0200 Subject: Display user quota progress bars above upload form (#2981) * Move user-quota to my-user-quota shared component * Add user-quota to upload form * Increase progress bar height and make it focusable * Correct syntax parenthesis * Add explicit title to user-quota bars + tooltip with quota values * Hide user-quota in second upload step * Customize focus styles on user-quota Co-authored-by: kimsible --- .../shared-main/users/user-quota.component.html | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 client/src/app/shared/shared-main/users/user-quota.component.html (limited to 'client/src/app/shared/shared-main/users/user-quota.component.html') diff --git a/client/src/app/shared/shared-main/users/user-quota.component.html b/client/src/app/shared/shared-main/users/user-quota.component.html new file mode 100644 index 000000000..f9fb32133 --- /dev/null +++ b/client/src/app/shared/shared-main/users/user-quota.component.html @@ -0,0 +1,21 @@ +
+
+ Total video quota +
+
+ {{ userVideoQuotaUsed | bytes: 0 }}
+ {{ userVideoQuota }} +
+
+ +
+ Daily video quota +
+
+ {{ userVideoQuotaUsedDaily | bytes: 0 }}
+ {{ userVideoQuotaDaily }} +
+
+
\ No newline at end of file -- cgit v1.2.3