pinakes-ui: streamline sidebar design
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I0176fa480e5ba40eea5a39685a4f97896a6a6964
This commit is contained in:
parent
3e14bbe607
commit
278bcaa4b0
25 changed files with 1805 additions and 1686 deletions
|
|
@ -64,7 +64,16 @@ pub fn Statistics(
|
|||
}
|
||||
}
|
||||
|
||||
// Media by Type
|
||||
// Media by Type
|
||||
|
||||
|
||||
// Storage by Type
|
||||
|
||||
// Top Tags
|
||||
|
||||
// Top Collections
|
||||
|
||||
// Date Range
|
||||
if !s.media_by_type.is_empty() {
|
||||
div { class: "card mt-16",
|
||||
h4 { class: "card-title", "Media by Type" }
|
||||
|
|
@ -87,7 +96,6 @@ pub fn Statistics(
|
|||
}
|
||||
}
|
||||
|
||||
// Storage by Type
|
||||
if !s.storage_by_type.is_empty() {
|
||||
div { class: "card mt-16",
|
||||
h4 { class: "card-title", "Storage by Type" }
|
||||
|
|
@ -110,7 +118,6 @@ pub fn Statistics(
|
|||
}
|
||||
}
|
||||
|
||||
// Top Tags
|
||||
if !s.top_tags.is_empty() {
|
||||
div { class: "card mt-16",
|
||||
h4 { class: "card-title", "Top Tags" }
|
||||
|
|
@ -133,7 +140,6 @@ pub fn Statistics(
|
|||
}
|
||||
}
|
||||
|
||||
// Top Collections
|
||||
if !s.top_collections.is_empty() {
|
||||
div { class: "card mt-16",
|
||||
h4 { class: "card-title", "Top Collections" }
|
||||
|
|
@ -156,7 +162,6 @@ pub fn Statistics(
|
|||
}
|
||||
}
|
||||
|
||||
// Date Range
|
||||
div { class: "card mt-16",
|
||||
h4 { class: "card-title", "Date Range" }
|
||||
div { class: "stats-grid",
|
||||
|
|
@ -171,7 +176,7 @@ pub fn Statistics(
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
None => rsx! {
|
||||
div { class: "empty-state",
|
||||
p { "Loading statistics..." }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue