fix login page layout

This commit is contained in:
Jakob Ketterl 2021-02-07 22:36:03 +01:00
parent ba3a68c3fa
commit 0517a59308
2 changed files with 24 additions and 12 deletions

View File

@ -1,6 +1,16 @@
@import url("openwebrx-header.css"); @import url("openwebrx-header.css");
@import url("openwebrx-globals.css"); @import url("openwebrx-globals.css");
body {
display: flex;
flex-direction: column;
}
.login-container {
flex: 1;
position: relative;
}
.login { .login {
position: absolute; position: absolute;
left: 50%; left: 50%;

View File

@ -11,6 +11,7 @@
</head> </head>
<body> <body>
${header} ${header}
<div class="login-container">
<div class="login"> <div class="login">
<form method="POST"> <form method="POST">
<div class="form-group"> <div class="form-group">
@ -24,4 +25,5 @@
<button type="submit" class="btn btn-secondary btn-login">Login</button> <button type="submit" class="btn btn-secondary btn-login">Login</button>
</form> </form>
</div> </div>
</div>
</body> </body>