From 14f073af864e7d9d94babe2bf094f3079331bb34 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 3 Jul 2023 11:20:34 +0300 Subject: Spruce up UI Make UI somewhat consistent with the GN2 UI. --- gn3/auth/authorisation/users/admin/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gn3/auth') diff --git a/gn3/auth/authorisation/users/admin/views.py b/gn3/auth/authorisation/users/admin/views.py index ca4be5f..c9f1887 100644 --- a/gn3/auth/authorisation/users/admin/views.py +++ b/gn3/auth/authorisation/users/admin/views.py @@ -189,7 +189,7 @@ def edit_client(): the_client = with_db_connection(partial( oauth2_client, client_id=uuid.UUID(form["client_id"]))) if the_client.is_nothing(): - flash("No such client.", "alert-error") + flash("No such client.", "alert-danger") return redirect(url_for("oauth2.admin.list_clients")) the_client = the_client.value client_metadata = { @@ -220,7 +220,7 @@ def delete_client(): the_client = with_db_connection(partial( oauth2_client, client_id=uuid.UUID(form["client_id"]))) if the_client.is_nothing(): - flash("No such client.", "alert-error") + flash("No such client.", "alert-danger") return redirect(url_for("oauth2.admin.list_clients")) the_client = the_client.value with_db_connection(partial(_delete_client, client=the_client)) -- cgit v1.2.3