Skip to content

Commit

Permalink
Fix url schema launch (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccar authored Dec 20, 2023
1 parent a4e3120 commit 03ae413
Show file tree
Hide file tree
Showing 4 changed files with 412 additions and 411 deletions.
5 changes: 0 additions & 5 deletions authentication/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,6 @@ func generateClaimsV2(claimValues map[string][]string, launcherSchema surveys.La

getSurveyMetadataFromClaims(claimValues, data, claims, surveyMetadata)

// When quicklaunching, schema_name will not be set, but launcherSchema will have the schema_name.
if len(claimValues["schema_name"]) == 0 && launcherSchema.Name != "" {
claims["schema_name"] = launcherSchema.Name
}

log.Printf("Using claims: %s", claims)

return claims
Expand Down
21 changes: 15 additions & 6 deletions static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,20 @@ body {
color: #222;
}

label { display:inline-block; font-weight: 600; margin-bottom: 0.25rem; width:200px; font-size:0.9rem; }
label {
display:inline-block;
font-weight: 600;
margin-bottom: 0.25rem;
width:200px;
font-size:0.9rem;
}

.field-container {
margin: 0 0 0.2rem 0;
position: relative;
}

.field-container--inline {
display: inline-block;
}

.btn--hidden, .supplementary-data--hidden, .cir-metadata--hidden {
Expand All @@ -20,9 +29,9 @@ label { display:inline-block; font-weight: 600; margin-bottom: 0.25rem; width:20
}

.btn--small {
font-size: 0.9rem !important;
padding:0.50rem 2rem !important;
margin: 0.1rem !important;
font-size: 0.9rem !important;
padding:0.50rem 2rem !important;
margin: 0.1rem !important;
}

input[type=text] {
Expand Down Expand Up @@ -60,7 +69,7 @@ select:disabled {
height:auto;
display:block;
position:absolute;
top: -1px;
top: -2px;
right: 2px;
cursor:pointer;
}
Expand Down
Loading

0 comments on commit 03ae413

Please sign in to comment.