💄 (user): Usa componentes base en Administración
Sustituye marcado propio y clases sin estilo por componentes de base, para que la interfaz se vea igual con cualquier tema.
This commit is contained in:
parent
c848b97450
commit
35f2b66161
6 changed files with 39 additions and 78 deletions
|
|
@ -333,8 +333,7 @@ async fn role_view_details(role: &role::Model, cx: &mut Context) -> Block {
|
|||
);
|
||||
|
||||
if role.locked {
|
||||
let badge = Badge::labeled(Lc::t("badge-system-role", &LOCALES_USER))
|
||||
.with_prop(PropsOp::add_classes("user-admin-badge-system"))
|
||||
let badge = Badge::warning(Lc::t("badge-system-role", &LOCALES_USER))
|
||||
.render(cx)
|
||||
.await;
|
||||
table = table.with_row(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue