forked from mosip/mimoto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request mosip#522 from tw-mosip/injiweb-1106-car-theme-cha…
…nges [INJIWEB-1106] : updated the config for new issuer
- Loading branch information
Showing
6 changed files
with
88 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
46 changes: 46 additions & 0 deletions
46
src/main/resources/templates/mosip-mosipverifiablecredential-template.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>New Template Identity Card </title> | ||
</head> | ||
<body #if ($textColor) style="color: $textColor;" #end> | ||
<div #if ($backgroundColor) style="background: $backgroundColor; border: 1px $textolor solid; border-radius: 15px; padding: 10px;" #else style="border: 2px black solid; border-radius: 15px; padding: 10px;" #end> | ||
<div style="text-align: center; padding-top: 10px; font-weight: bold;"> | ||
<span style="font-size: 16px; vertical-align: middle;">$titleName</span> | ||
</div> | ||
<div style="display: flex; flex-direction: row; justify-content: space-between;"> | ||
<div style="margin: 30px; justify-content: center; align-items: center;"> | ||
#if (!$face) | ||
<div style="float: left; height:100px;width:100px;background-color:white;border-radius:10px;border:1px solid grey"> | ||
<img style="margin: 25px;width: 50px; height:50px;" src="https://raw.githubusercontent.com/challabeehyv/mimoto-config/main/user-icon.png" alt="Logo" /> | ||
</div> | ||
#else | ||
<img style="height:100px;width:100px; border-radius:10px;" src="$face" alt="Logo" /> | ||
#end | ||
<div style="float: left; height:100px;width:100px; border-radius:10px; margin-top: 20px;"> | ||
<img style="width: 100px; height:auto;" src="$logoUrl" alt="Logo" /> | ||
</div> | ||
</div> | ||
<div style="margin-left: 30px; padding-top: 30px"> | ||
#foreach($entry in $rowProperties.entrySet()) | ||
#if($entry.value) | ||
<div style="margin-bottom: 10px; float: left; width: 450px;"> | ||
<div style="font-weight: bold; font-size: 16px; margin-bottom: 5px; word-wrap: break-word;">$entry.key</div> | ||
<div style="font-size: 16px; word-wrap: break-word;">$entry.value</div> | ||
</div> | ||
#end | ||
#end | ||
</div> | ||
</div> | ||
<img src="data:image/png;base64,$qrCodeImage" alt="QR Code"/> | ||
</div> | ||
<div style="display: flex; width: 100%; padding: 8px; border-radius: 8px; border: 2px solid #f6dfbe; background-color: #FFF7E5; margin: 32px 0;"> | ||
#if ($credentialValidity != -1) | ||
<div style="padding: 0 16px; text-align: center; color: #8B6105; font-size: 14px;">Please note: This credential is limited to a maximum of $credentialValidity verifications by authorized verifiers. Once the specified number of verifications has been reached, this credential will no longer be valid for further verification attempts.</div> | ||
#else | ||
<div style="padding: 0 16px; text-align: center; color: #8B6105; font-size: 14px;">Please note: This credential can be used for verification by authorized verifiers without any limit on the number of verifications. It provides continuous, secure access for credential validation.</div> | ||
#end | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters