diff --git a/litellm/proxy/common_utils/html_forms/ui_login.py b/litellm/proxy/common_utils/html_forms/ui_login.py index 5820f2b042..8478d41e47 100644 --- a/litellm/proxy/common_utils/html_forms/ui_login.py +++ b/litellm/proxy/common_utils/html_forms/ui_login.py @@ -1,10 +1,13 @@ import os +from litellm.proxy.utils import get_custom_url + url_to_redirect_to = os.getenv("PROXY_BASE_URL", "") server_root_path = os.getenv("SERVER_ROOT_PATH", "") if server_root_path != "": url_to_redirect_to += server_root_path url_to_redirect_to += "/login" +new_ui_login_url = get_custom_url("", "ui/login") html_form = f""" @@ -185,10 +188,32 @@ html_form = f""" margin-top: -12px; margin-bottom: 20px; }} + + .deprecation-banner {{ + background-color: #fee2e2; + border: 1px solid #ef4444; + color: #991b1b; + padding: 14px 16px; + border-radius: 6px; + margin-bottom: 20px; + font-size: 14px; + line-height: 1.5; + }} + + .deprecation-banner a {{ + color: #991b1b; + font-weight: 600; + text-decoration: underline; + }}