diff --git a/src/login/Template.tsx b/src/login/Template.tsx index b27464a..384e595 100644 --- a/src/login/Template.tsx +++ b/src/login/Template.tsx @@ -170,123 +170,125 @@ export default function Template(props: TemplateProps) { Logo ) : ( Logo )} )} - - - {isMobile && ( - - Logo{" "} - - - )} - - - {headerNode && ( - <> - - {headerNode} - - {isMobile && } - - )} - - {showImutableUsername && ( - <> - - - - {auth.attemptedUsername} - - {msg("restartLoginTooltip")} - - - - {isMobile && } - - )} - {/* App-initiated actions should not see warning messages about the need to complete the action during login. */} - {showMessage && ( - <> - } - type={ - message.type === "error" - ? "error" - : message.type === "success" - ? "success" - : message.type === "warning" - ? "warning" - : "info" - } - showIcon - style={{ margin: 0, width: "100%" }} - /> - {isMobile && } - - )} - - - - {children} + + + {isMobile && ( - - {client.name && {clientInfo}} - {auth !== undefined && auth.showTryAnotherWayLink && ( - {showTryAnotherWayLink} - )} - {displayInfo && {infoNode}} + + Logo{" "} + )} + + + {headerNode && ( + <> + + {headerNode} + + {isMobile && } + + )} + + {showImutableUsername && ( + <> + + + + {auth.attemptedUsername} + + {msg("restartLoginTooltip")} + + + + {isMobile && } + + )} + {/* App-initiated actions should not see warning messages about the need to complete the action during login. */} + {showMessage && ( + <> + } + type={ + message.type === "error" + ? "error" + : message.type === "success" + ? "success" + : message.type === "warning" + ? "warning" + : "info" + } + showIcon + style={{ margin: 0, width: "100%" }} + /> + {isMobile && } + + )} + + + + {children} + {isMobile && ( + + {client.name && {clientInfo}} + {auth !== undefined && auth.showTryAnotherWayLink && ( + {showTryAnotherWayLink} + )} + {displayInfo && {infoNode}} + + )} + - - - {!isMobile && ( - - {client.name && {clientInfo}} - {auth !== undefined && auth.showTryAnotherWayLink && ( - {showTryAnotherWayLink} - )} - {displayInfo && {infoNode}} - - )} + + {!isMobile && ( + + {client.name && {clientInfo}} + {auth !== undefined && auth.showTryAnotherWayLink && ( + {showTryAnotherWayLink} + )} + {displayInfo && {infoNode}} + + )} + {!isMobile && (