summaryrefslogtreecommitdiff
path: root/bin/ui
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-03-26 16:16:51 -0600
committermo khan <mo@mokhan.ca>2025-03-26 16:16:51 -0600
commit739ff3c99773e1310f403843fe5fac8059fb9fe6 (patch)
treefa296cc5de62737a4829f5cde3faec0152ee561f /bin/ui
parent2e636ea73e44a84dd2be64c1e199f29fb2236a1d (diff)
feat: add nav to idp pages
Diffstat (limited to 'bin/ui')
-rwxr-xr-xbin/ui16
1 files changed, 14 insertions, 2 deletions
diff --git a/bin/ui b/bin/ui
index d139c2f4..34e4e4bf 100755
--- a/bin/ui
+++ b/bin/ui
@@ -453,8 +453,20 @@ class UI
html = with_layout(binding) do
<<~ERB
- <a href="/index.html">Home</a>
- <a href="/groups.html">Groups</a>
+ <nav>
+ <ul>
+ <li><strong>UI</strong></li>
+ </ul>
+ <ul>
+ <li><a href="/index.html">Home</a></li>
+ <li><a href="/groups.html">Groups</a></li>
+ <li>
+ <form action="/logout" method="post">
+ <input type="submit" value="Logout" />
+ </form>
+ </li>
+ </ul>
+ </nav>
<h2>Received SAML Response</h2>
<textarea readonly="readonly" disabled="disabled" cols=220 rows=40><%=- saml_response.to_xml(pretty: true) -%></textarea>