Skip to content

Commit

Permalink
NextTry
Browse files Browse the repository at this point in the history
  • Loading branch information
gboege committed Apr 21, 2024
1 parent 5287ef2 commit 468f72f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ body {

}

.header h2 {
#my-header-h2 {
color: #000;
text-align: center;
vertical-align: middle;
Expand Down Expand Up @@ -156,13 +156,13 @@ body {
padding: 0;
} /* margin: 0; */

.content div {
#my-divid {
margin: 20;
padding: 20;
}

.content h2 {
margin-top: 10px;
#my-h2 {
margin-top: 10px;
}

.content-row {
Expand Down
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ app.post('/portal', async (req, res) => {
for (var key in entity_keys) {
let attribute = {
attribute_name: key,
attribute_value: entity[key]
attribute_value: JSON.stringify(entity[key])
}
}
entity_attributes = Object.entries(entity)
Expand Down
2 changes: 1 addition & 1 deletion views/default.pug
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ html
a.header(href='/')
img.header(src='https://thebatterypass.io/_next/static/media/logo_primary.ff8fcc3a.png' alt='Homepage')
div
h2.header
h2#my-header-h2
|Demo: Login with Verifiable Credentials (VCs)
block topnav
block content
10 changes: 5 additions & 5 deletions views/index.pug
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
extends default

block content
div.content
h2.content Click link below to login
div#my-divid
h2#my-h2 Click link below to login
table(border='1' frame='void' rules='rows')
if siop
tr
Expand All @@ -16,8 +16,8 @@ block content
tr
td
a.button(href=`/login?idp=` + i.id) #{i.name}
div.content
h2.content
div#my-divid
h2#my-h2
| a) Description how to login with VCs and use the demo
br
h3#prerequisites Prerequisites:
Expand Down Expand Up @@ -65,7 +65,7 @@ block content
| “urn:batterypass:4a1331e8-646b-423d-b75a-cee15c486555”
br
| and press button “Get Battery”
h2.content
h2#my-h2
| b) Description how to obtain demo VCs
br
h3#step-by-step-1 Step-by-step:
Expand Down

0 comments on commit 468f72f

Please sign in to comment.