Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion agentidentity/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func managementHTML(o ManagementOptions, tenants []TenantConfig) ([]byte, error)
}

const managementTemplate = `<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>Agent access</title>
<style>body{font:15px/1.5 system-ui;background:#f7f8fa;color:#172033;margin:0}main{max-width:880px;padding:24px;margin:auto}section{background:white;border:1px solid #c4cad5;border-radius:8px;padding:20px;margin:16px 0}label{display:block;margin:10px 0}input,select,textarea,button{font:inherit;max-width:100%%;box-sizing:border-box;padding:8px}input[type=text],input[type=url],textarea{width:100%%}button{background:#0f766e;color:white;border:0;border-radius:4px;cursor:pointer}textarea{min-height:140px}small{display:block;color:#414c61}pre{white-space:pre-wrap;overflow-wrap:anywhere}ul{padding-left:24px}:focus-visible{outline:3px solid #2563eb;outline-offset:3px}</style></head>
<style>body{font:15px/1.5 system-ui;background:#f7f8fa;color:#172033;margin:0}main{max-width:880px;padding:24px;margin:auto}section{background:white;border:1px solid #c4cad5;border-radius:8px;padding:20px;margin:16px 0}label{display:block;margin:10px 0}input,select,textarea,button{font:inherit;max-width:100%%;box-sizing:border-box;padding:8px}input[type=text],input[type=url],textarea{width:100%%}button{background:#0f766e;color:white;border:0;border-radius:4px;cursor:pointer}textarea{min-height:140px}small{display:block;color:#414c61}pre{white-space:pre-wrap;overflow-wrap:anywhere}#boundary,#grants{overflow-wrap:anywhere}ul{padding-left:24px}:focus-visible{outline:3px solid #2563eb;outline-offset:3px}</style></head>
<body data-agent-grant-admin="1"><main><h1>Agent access</h1><p>Approve a separate assistant for a preview site. Access expires automatically and can be revoked here. Your personal account and login stay separate.</p>
<section><h2>Approve access</h2><form id="grant-form">
<label for="tenant">Preview site</label><select id="tenant" required></select><p id="boundary"></p>
Expand Down