Skip to content

Commit

Permalink
explorer page title
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas ONeil <lucasoneil@gmail.com>
  • Loading branch information
loneil committed May 8, 2024
1 parent 961de70 commit 2becfe0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 4 additions & 2 deletions oidc-controller/api/templates/ver_config_explorer.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
/>

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>{{ title }}</title>
</head>

<style>
Expand Down Expand Up @@ -61,7 +63,7 @@
</nav>
<main class="container mt-3">
<div class="alert alert-primary mb-5" role="alert">
VCAuthN Development environment
Proof of Concept. For internal use only at this time.
</div>

<table class="table" id="myTable">
Expand Down Expand Up @@ -160,7 +162,7 @@ <h5 class="card-title">Integrating with VCAuthN-OIDC</h5>
<h6 class="card-subtitle mb-2 text-muted">Onboarding to SSO</h6>
<p class="card-text">
Some text here about linking to "how to onboard" instructions.
<br>
<br />
SSO Keyloak integration details, etc
</p>
<a href="#" class="card-link">SSO Team</a>
Expand Down
8 changes: 3 additions & 5 deletions oidc-controller/api/verificationConfigs/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,11 @@ async def create_ver_config(
async def get_all_ver_configs(db: Database = Depends(get_db)):
return await VerificationConfigCRUD(db).get_all()

@router.get("/explorer")

@router.get("/explorer", include_in_schema=False)
async def get_proof_request_explorer(db: Database = Depends(get_db)):
# return a hello world html page
data = {
"title": "Proof Request Explorer",
"content": "Hello World",
"title": "Presentation Request Explorer",
}
template_file = open("api/templates/ver_config_explorer.html", "r").read()
template = Template(template_file)
Expand All @@ -62,7 +61,6 @@ async def get_proof_request_explorer(db: Database = Depends(get_db)):
return HTMLResponse(template.render(data))



@router.get(
"/{ver_config_id}",
status_code=http_status.HTTP_200_OK,
Expand Down

0 comments on commit 2becfe0

Please sign in to comment.