added usage limit visuals and DB
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
{% from 'components/recent_activity.html' import recent_activity %}
|
||||
{% from 'components/conversation_storage.html' import conversation_storage %}
|
||||
{% from 'components/notification_overview.html' import notification_overview %}
|
||||
{% from 'components/usage_limits.html' import usage_limits %}
|
||||
|
||||
<style>
|
||||
.masonry {
|
||||
@@ -54,6 +55,9 @@
|
||||
<!-- Storage Section -->
|
||||
<div class="mb-4">
|
||||
<h2 class="section-title">Storage Overview</h2>
|
||||
{% if current_user.is_admin %}
|
||||
{{ usage_limits(usage_stats) }}
|
||||
{% endif %}
|
||||
<div class="masonry">
|
||||
{{ storage_overview(room_count, file_count, folder_count, total_size) }}
|
||||
{{ storage_usage(storage_by_type) }}
|
||||
|
||||
Reference in New Issue
Block a user