diff --git a/idp/dex/web/templates/home.html b/idp/dex/web/templates/home.html index 02445adc7..719255324 100644 --- a/idp/dex/web/templates/home.html +++ b/idp/dex/web/templates/home.html @@ -1,99 +1,12 @@ - -{{ define "info-value" }} - {{ if gt (len .) 24 }} -
- {{ . }} -
{{ . }}
-
- {{ else }} - {{ . }} - {{ end }} -{{ end }} - {{ template "header.html" . }} -
-
- {{ issuer }} -
- - {{ if .LoggedIn }} -
-
- {{ if .Username }} -
- Username - {{ template "info-value" .Username }} + +
-
- -
- Logout -
- {{ else }} -
-
Not logged in
-
- {{ end }} - -
- Discovery -
-
- -{{ if .LastLoginEpoch }} - -{{ end }} + {{ template "footer.html" . }} diff --git a/idp/dex/web/templates/logout.html b/idp/dex/web/templates/logout.html index e084859af..b623d35af 100644 --- a/idp/dex/web/templates/logout.html +++ b/idp/dex/web/templates/logout.html @@ -1,13 +1,8 @@ {{ template "header.html" . }}
- {{ if .LoggedOut }}

Logged Out

You have been successfully logged out.

- {{ else }} -

Session Not Found

-

No active session found.

- {{ end }} {{ if .BackURL }}