diff options
Diffstat (limited to 'ui/src/components/admin.rs')
| -rw-r--r-- | ui/src/components/admin.rs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ui/src/components/admin.rs b/ui/src/components/admin.rs index 831c746..e617ce3 100644 --- a/ui/src/components/admin.rs +++ b/ui/src/components/admin.rs @@ -6,9 +6,9 @@ use crate::RenderInfo; use jellycommon::{ - ADMIN_IMPORT_BUSY, ADMIN_IMPORT_ERROR, jellyobject::Object, routes::{u_admin_import, u_admin_import_post, u_admin_log}, + *, }; use jellyui_locale::tr; @@ -49,4 +49,10 @@ markup::define!( } } + AdminInfo<'a>(ri: &'a RenderInfo<'a>, data: Object<'a>) { + @let _ = ri; + h2 { @data.get(ADMIN_INFO_TITLE) } + pre { @data.get(ADMIN_INFO_TEXT) } + } + ); |