Skip to content

Commit

Permalink
Merge pull request #68 from sunbird-cb/4.8.0-logo-change
Browse files Browse the repository at this point in the history
4.8.0 logo change
  • Loading branch information
Haritest authored Dec 2, 2022
2 parents d078b6f + f83ad15 commit 832f6e2
Show file tree
Hide file tree
Showing 7 changed files with 46 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ loginTitleOld=Log in to {0}
loginTitleHtmlOld={0}
registerWithTitle=Register with iGoT
registerWithTitleHtml=iGoT
loginTitle=Log in to iGoT
loginTitle=Log in to Karmayogi Bharat
loginTitleHtml=iGoT
impersonateTitle={0} Impersonate User
impersonateTitleHtml=<strong>{0}</strong> Impersonate User</strong>
Expand Down
2 changes: 1 addition & 1 deletion ansible/artifacts/sunbird/login/resources/css/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ input[type='password']::placeholder {
}
.logo-image{
max-width: 100% !important;
width: auto !important;
width: 300px !important;
/* max-height: 56px !important; */
/* margin-top: 20px!important; */
/* height: 120px !important; */
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions ansible/artifacts/sunbird/login/resources/img/karmayogiLogo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions ansible/artifacts/sunbird/login/template.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@
if(sessionTenant){
var imgSrc = "${url.resourcesPath}/img/tenants/"+sessionTenant+".png";
}else{
var imgSrc = "${url.resourcesPath}/img/iGOT_Karmayogi_logo_with_karmayogi_bharat.png";
var imgSrc = "${url.resourcesPath}/img/iGOT_Karmayogi_logo_with_karmayogi_bharat.jpg";
}
var logoImg = document.querySelector(".ui.header img");
if(logoImg){
logoImg.setAttribute('class','logo-image');
logoImg.setAttribute('alt',sessionTenant);
logoImg.src = imgSrc;
logoImg.addEventListener("error", ()=>{ logoImg.onerror=null;logoImg.src='${url.resourcesPath}/img/iGOT_Karmayogi_logo_with_karmayogi_bharat.png'});
logoImg.addEventListener("error", ()=>{ logoImg.onerror=null;logoImg.src='${url.resourcesPath}/img/iGOT_Karmayogi_logo_with_karmayogi_bharat.jpg'});
}
</script>
Expand Down

0 comments on commit 832f6e2

Please sign in to comment.