Skip to content

Commit

Permalink
🎨 Add Science text on Acad's login page (ITISFoundation#5467)
Browse files Browse the repository at this point in the history
  • Loading branch information
odeimaiz authored Mar 11, 2024
1 parent b0ae295 commit 8b7cadc
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,16 @@ qx.Class.define("osparc.auth.LoginPage", {
control.setFont("text-18");
this.getChildControl("main-layout").add(control);
break;
case "science-text-image":
control = new qx.ui.basic.Image("osparc/Sim4Life_science_Subline.svg").set({
width: 300,
height: 24,
scale: true,
alignX: "center",
marginTop: -25
});
this.getChildControl("main-layout").add(control);
break;
case "pages-stack":
control = new qx.ui.container.Stack().set({
allowGrowX: false,
Expand Down Expand Up @@ -153,6 +163,9 @@ qx.Class.define("osparc.auth.LoginPage", {
const mainLayout = this.getChildControl("main-layout");
this.getChildControl("top-spacer");
this.getChildControl("logo-w-platform");
if (osparc.product.Utils.isProduct("s4lacad")) {
this.getChildControl("science-text-image");
}
this.__getLoginStack();
this.getChildControl("bottom-spacer");
this.getChildControl("footer");
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8b7cadc

Please sign in to comment.