Skip to content

Commit

Permalink
Page for PII review, styles
Browse files Browse the repository at this point in the history
  • Loading branch information
pstamatop committed Sep 29, 2023
1 parent b8fb450 commit cc3a3ca
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 12 deletions.
6 changes: 4 additions & 2 deletions public/styles/header.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Header .header {
#Header .header, #Header .header-plain {
height: auto;
width: 100%;
background-color: var(--primary-color);
Expand All @@ -8,7 +8,9 @@
position: relative;
top: 0;
}

#Header .header-plain {
background-color: #162F44;
}
#Header .header-content {
font-family: var(--header-font);
font-size: 35px;
Expand Down
1 change: 1 addition & 0 deletions public/styles/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#Login .login-box {
width: 40%;
padding: 30px;
min-width: 300px;
border-radius: 4.2px;
box-shadow: 0px 3px 10px -2px rgba(0, 0, 0, 0.2);
Expand Down
20 changes: 18 additions & 2 deletions public/styles/selection.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.dropdownContainer {
margin: 10em auto;
width: 50%;
margin: 3em auto;
text-align: center;
}

Expand All @@ -11,4 +10,21 @@
.Btn {
margin: 50px auto;
width: 150px;
}

.dropdownLabel {
font-size: 35px;
color: #003476;
font-weight: 700;
}

.issuerDropdown {
transition: all 100ms;
background-color: hsl(0, 0%, 100%);
border-color: hsl(0, 0%, 87%);
border-radius: 4px;
border-style: solid;
border-width: 1px;
width: 100%;
font-size: 18px;
}
4 changes: 2 additions & 2 deletions views/header.pug
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#Header
.header
.ribbon
a.ribbonText EBSI DEMO
//- .ribbon
//- a.ribbonText EBSI DEMO
//- span.language-switch
//- if lang == "en"
//- button#lang-el EL
Expand Down
6 changes: 3 additions & 3 deletions views/issuer/login.pug
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
extends ../layout.pug
extends ../plain-layout.pug
block layout-content

.main-container
#Login
.login-flex
.login-flex.login-box.item
h1.item #{locale.login.title}
h2.item #{locale.login.title}
p.item #{locale.login.description}
form(name="login" method="post")
input#csrf-token(type="hidden" name="csrf-token" value="")
Expand All @@ -19,7 +19,7 @@ block layout-content
p.invalid-feedback#invalid-password #{locale.login.error.emptyPassword}
p.invalid-feedback#invalid-credentials #{locale.login.error.invalidCredentials}
p.invalid-feedback#network-error #{locale.login.error.networkError}

br
.login-flex
button.Btn.Large
| #{locale.login.btnText}
Expand Down
30 changes: 30 additions & 0 deletions views/issuer/personal-info.pug
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
extends ../layout.pug
block layout-content

form#confirmInfo(name="proceed" method="POST")
.personal-container
h2 #{locale.personalInfo.title}
p #{locale.personalInfo.subtitle}
table.info-table.striped
tbody
tr
td #[strong #{locale.personalInfo.firstName}]
td CHRISTOS
tr
td #[strong #{locale.personalInfo.lastName}]
td DOKIMASTIKOS
tr
td #[strong #{locale.personalInfo.ssn}]
td #{info.ssn}
tr
td #[strong #{locale.personalInfo.taxisId}]
td #{info.taxis_id}
hr
p #{locale.personalInfo.acknowledgement}

.action-group
button.Btn.Medium.gray #{locale.personalInfo.back}
button.Btn.Medium.Landing(id="mainBtn" name="proceed" type="submit") #{locale.personalInfo.proceed}

link(rel="stylesheet" href="/styles/styles.css")
link(rel="stylesheet" href="/styles/profile.css")
6 changes: 3 additions & 3 deletions views/issuer/selection.pug
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ block layout-content

form#IssuerSelection(name="issuer" method="POST")
.main-container
p(class="dropdownLabel") Choose an Issuing Institution
div(class='dropdownContainer')
p(class="dropdownLabel") Choose issuer
select(name="issuer" class='issuerDropdown')
option(value="uoa" selected) National and Kapodistrian University of Athens
option(value="uwa") University of West Attica
option(value="uoa" selected) National and Kapodistrian University of Athens
option(value="uwa") University of West Attica
option(value="aegean") University of the Aegean
button.Btn.Large.Landing(id="mainBtn" type="submit") #{locale.index.proceed}

Expand Down
8 changes: 8 additions & 0 deletions views/plain-header.pug
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#Header
.header-plain
.header-content
a.logo-area(href="/")
span.logo-text #{locale.plainHeader.title}
p.header-subtitle #{locale.plainHeader.subtitle}
br
link(rel="stylesheet" href="/styles/header.css")
7 changes: 7 additions & 0 deletions views/plain-layout.pug
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
html
head
include head.pug
body
block header
include plain-header.pug
block layout-content

0 comments on commit cc3a3ca

Please sign in to comment.