- second version of login form

This commit is contained in:
Arno Kaimbacher 2020-04-23 23:17:10 +02:00
parent 1e0eadabc7
commit c293fcca9f
2 changed files with 40 additions and 89 deletions

View File

@ -839,7 +839,8 @@ there.
text-align: left; text-align: left;
} }
.header .logo { .header .logo {
display: inline; /* display: inline; */
display: none;
position: unset; position: unset;
} }
.navigation a.menu-icon { .navigation a.menu-icon {

View File

@ -1,99 +1,51 @@
<!DOCTYPE html> @extends('layouts.app')
<html>
<head> @section('head')
<title>TETHYS - Geology Geophysics Meteorology</title> <style type="text/css">
<meta charset="utf-8"> h1 {
<meta name="viewport" content="width=device-width, initial-scale=1"> text-align: center;
<!-- Mobile Specific Metas margin: 0;
--> padding-top: 20px;
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> }
<!-- FONT .main p {
--> text-align: center;
<link rel="stylesheet" type="text/css" href="/css/fonts.css" /> }
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css" /> --> .main {
<link rel="stylesheet" href="/css/normalize.css"> /* display: flex; */
<link rel="stylesheet" href="/css/skeleton.css"> margin: 0 auto;
<link rel="stylesheet" href="/css/font-awesome.css"> width: 60%;
<style type="text/css"> justify-content: center;
body { align-items: center;
margin: 0; }
padding: 0;
height: 100vh;
background: #f1f2f6;
font-family: "Open Sans", sans-serif;
}
.logo-image { input[type=submit].button-primary {
position: absolute; font-size: 14px;
top: 10px; }
left: 10px;
}
.logo-image i {
font-size: 30px;
}
h1 { form {
text-align: center; /* width: 40%; */
margin: 0; margin-top: 30px;
padding-top: 20px;
}
.main p { }
text-align: center;
}
.main { @media(max-width: 660px) {
/* display: flex; */
margin: 0 auto;
width: 60%;
justify-content: center;
align-items: center;
}
input[type=submit].button-primary { /* form {
font-size: 14px;
}
form {
/* width: 40%; */
margin-top: 30px;
}
@media(max-width: 660px) {
/* form {
width: 70%; width: 70%;
} */ } */
.main { .main {
width: 80%; width: 80%;
}
} }
</style> }
<!-- Favicon </style>
--> @endsection
<link rel="apple-touch-icon" sizes="180x180" href="/images/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon/favicon-16x16.png">
<link rel="manifest" href="/images/favicon/site.webmanifest">
<link rel="mask-icon" href="/images/favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="/images/favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="msapplication-config" content="/images/favicon/browserconfig.xml">
<meta name="theme-color" content="#646b63">
</head>
<body> @section('content')
<div class="logo-image"> <section data-sr id="login" class="login u-full-width"></section>
<a href="/">
<i class="fas fa-chevron-circle-left"></i>
</a>
</div>
<header> <header>
<h1>In Tethys einloggen</h1> <h1>Tethys Login Form</h1>
</header> </header>
<div class="main"> <div class="main">
<p>Login is only required for access to data under embargo or for submitting new datasets.</p> <p>Login is only required for access to data under embargo or for submitting new datasets.</p>
@ -125,8 +77,7 @@
</div> </div>
<div class="row"> <div class="row">
<div class="twelve columns"> <div class="twelve columns">
<input type="password" name="password" placeholder="Password*" class="u-full-width" <input type="password" name="password" placeholder="Password*" class="u-full-width" required>
required>
</div> </div>
</div> </div>
@ -150,6 +101,5 @@
</div> </div>
</body> </section>
@endsection
</html>