-
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.
fix: move content to the middle and redirect to podman desktop on pag…
…e load event (redhat-developer#75) Signed-off-by: Denis Golovin <[email protected]>
- Loading branch information
Showing
2 changed files
with
19 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,19 +10,31 @@ | |
type="text/css" | ||
href="https://unpkg.com/@patternfly/[email protected]/patternfly.min.css" | ||
/> | ||
<script lang="javascript"> | ||
function onLoad() { | ||
window.location.href = 'podman-desktop://' | ||
}; | ||
window.onload = onLoad; | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<div class="pf-c-empty-state"> | ||
<div class="pf-c-empty-state" > | ||
<div class="pf-c-empty-state__content"> | ||
<i class="fas fa-key pf-c-empty-state__icon" aria-hidden="true"></i> | ||
<h1 class="pf-c-title pf-m-lg"> | ||
Welcome to <span id="service">Red Hat</span> | ||
</h1> | ||
<div class="pf-c-empty-state__body message"> | ||
You have successfully logged in as | ||
<span style="font-weight: 700" id="login"></span>. <br /> | ||
You may now close this page. | ||
<span style="font-weight: 700" id="login"></span>. | ||
</div> | ||
<div class="pf-c-empty-state__body message"> | ||
Redirecting to Podman Desktop. | ||
</div> | ||
<br /> | ||
<div> | ||
<button onclick="onLoad();">Go back to Podman Desktop</button> | ||
</div> | ||
<div class="pf-c-empty-state__body error-message"> | ||
An error occurred while signing in: | ||
|