diff options
author | Kim <1877318+kimsible@users.noreply.github.com> | 2020-07-24 08:53:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-24 08:53:25 +0200 |
commit | 2e7f262724dd64a209e0bad5930ba29bb4f801c3 (patch) | |
tree | ae722bf8df3331442a5f9eaa34eb5c12db21f6cf /client/src/app/shared/shared-main/shared-main.module.ts | |
parent | b40a219338fed042072decea203838ca5e2b265f (diff) | |
download | PeerTube-2e7f262724dd64a209e0bad5930ba29bb4f801c3.tar.gz PeerTube-2e7f262724dd64a209e0bad5930ba29bb4f801c3.tar.zst PeerTube-2e7f262724dd64a209e0bad5930ba29bb4f801c3.zip |
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 <kimsible@users.noreply.github.com>
Diffstat (limited to 'client/src/app/shared/shared-main/shared-main.module.ts')
-rw-r--r-- | client/src/app/shared/shared-main/shared-main.module.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-main/shared-main.module.ts b/client/src/app/shared/shared-main/shared-main.module.ts index 732914e34..22a207e51 100644 --- a/client/src/app/shared/shared-main/shared-main.module.ts +++ b/client/src/app/shared/shared-main/shared-main.module.ts | |||
@@ -26,7 +26,7 @@ import { DateToggleComponent } from './date' | |||
26 | import { FeedComponent } from './feeds' | 26 | import { FeedComponent } from './feeds' |
27 | import { LoaderComponent, SmallLoaderComponent } from './loaders' | 27 | import { LoaderComponent, SmallLoaderComponent } from './loaders' |
28 | import { HelpComponent, ListOverflowComponent, TopMenuDropdownComponent } from './misc' | 28 | import { HelpComponent, ListOverflowComponent, TopMenuDropdownComponent } from './misc' |
29 | import { UserHistoryService, UserNotificationsComponent, UserNotificationService } from './users' | 29 | import { UserHistoryService, UserNotificationsComponent, UserNotificationService, UserQuotaComponent } from './users' |
30 | import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video' | 30 | import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video' |
31 | import { VideoCaptionService } from './video-caption' | 31 | import { VideoCaptionService } from './video-caption' |
32 | import { VideoChannelService } from './video-channel' | 32 | import { VideoChannelService } from './video-channel' |
@@ -83,6 +83,7 @@ import { AUTH_INTERCEPTOR_PROVIDER } from './auth' | |||
83 | ListOverflowComponent, | 83 | ListOverflowComponent, |
84 | TopMenuDropdownComponent, | 84 | TopMenuDropdownComponent, |
85 | 85 | ||
86 | UserQuotaComponent, | ||
86 | UserNotificationsComponent | 87 | UserNotificationsComponent |
87 | ], | 88 | ], |
88 | 89 | ||
@@ -132,6 +133,7 @@ import { AUTH_INTERCEPTOR_PROVIDER } from './auth' | |||
132 | ListOverflowComponent, | 133 | ListOverflowComponent, |
133 | TopMenuDropdownComponent, | 134 | TopMenuDropdownComponent, |
134 | 135 | ||
136 | UserQuotaComponent, | ||
135 | UserNotificationsComponent | 137 | UserNotificationsComponent |
136 | ], | 138 | ], |
137 | 139 | ||