- seperated user login
- login style with skeleton.css
This commit is contained in:
parent
a804f94090
commit
1e0eadabc7
50
resources/views/auth/login.blade.old.php
Normal file
50
resources/views/auth/login.blade.old.php
Normal file
|
@ -0,0 +1,50 @@
|
|||
@extends('settings.layouts.app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="pure-g box-content">
|
||||
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
|
||||
<h1>Login</h1>
|
||||
|
||||
<div class="panel-body">
|
||||
@if (count($errors) > 0)
|
||||
<div class="alert alert-danger">
|
||||
<strong>Whoops!</strong> There were some problems with your input.<br><br>
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
<form class="pure-form pure-form-stacked" role="form" method="POST" action="{{ url('/login') }}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
|
||||
<div class="pure-control-group">
|
||||
<label for="email">E-Mail Address</label>
|
||||
<input type="email" class="pure-input-1" name="email" id="email" placeholder="Email" value="{{ old('email') }}">
|
||||
<span class="pure-form-message-inline">This is a required field.</span>
|
||||
</div>
|
||||
|
||||
<div class="pure-control-group">
|
||||
<label for="password">Password</label>
|
||||
<input type="password" class="pure-input-1" name="password" id="password" placeholder="Password">
|
||||
</div>
|
||||
|
||||
<div class="pure-controls">
|
||||
<label for="remember" class="pure-checkbox">
|
||||
<input name="remember" id="remember" type="checkbox"> Remember me
|
||||
</label>
|
||||
<button type="submit" class="pure-button pure-button-primary">Login</button>
|
||||
{{-- <a class="btn btn-link" href="{{ url('/password/email') }}">Forgot Your Password?</a> --}}
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
|
@ -1,16 +1,106 @@
|
|||
@extends('settings.layouts.app')
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
@section('content')
|
||||
<head>
|
||||
<title>TETHYS - Geology Geophysics Meteorology</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<!-- Mobile Specific Metas
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
|
||||
<div class="pure-g box-content">
|
||||
<!-- FONT
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
||||
<link rel="stylesheet" type="text/css" href="/css/fonts.css" />
|
||||
|
||||
<div class="pure-u-1 pure-u-md-2-3">
|
||||
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css" /> -->
|
||||
<link rel="stylesheet" href="/css/normalize.css">
|
||||
<link rel="stylesheet" href="/css/skeleton.css">
|
||||
<link rel="stylesheet" href="/css/font-awesome.css">
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100vh;
|
||||
background: #f1f2f6;
|
||||
font-family: "Open Sans", sans-serif;
|
||||
}
|
||||
|
||||
<h1>Login</h1>
|
||||
.logo-image {
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
left: 10px;
|
||||
}
|
||||
.logo-image i {
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
<div class="panel-body">
|
||||
@if (count($errors) > 0)
|
||||
<div class="alert alert-danger">
|
||||
h1 {
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.main p {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.main {
|
||||
/* display: flex; */
|
||||
margin: 0 auto;
|
||||
width: 60%;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
input[type=submit].button-primary {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
form {
|
||||
/* width: 40%; */
|
||||
margin-top: 30px;
|
||||
|
||||
}
|
||||
|
||||
@media(max-width: 660px) {
|
||||
|
||||
/* form {
|
||||
width: 70%;
|
||||
} */
|
||||
.main {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<!-- Favicon
|
||||
–––––––––––––––––––––––––––––––––––––––––––––––––– -->
|
||||
<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>
|
||||
<div class="logo-image">
|
||||
<a href="/">
|
||||
<i class="fas fa-chevron-circle-left"></i>
|
||||
</a>
|
||||
</div>
|
||||
<header>
|
||||
<h1>In Tethys einloggen</h1>
|
||||
</header>
|
||||
<div class="main">
|
||||
<p>Login is only required for access to data under embargo or for submitting new datasets.</p>
|
||||
|
||||
@if (count($errors) > 0)
|
||||
<div class="row">
|
||||
<div class="twelve columns alert alert-danger">
|
||||
<strong>Whoops!</strong> There were some problems with your input.<br><br>
|
||||
<ul>
|
||||
@foreach ($errors->all() as $error)
|
||||
|
@ -18,33 +108,48 @@
|
|||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
<form class="pure-form pure-form-stacked" role="form" method="POST" action="{{ url('/login') }}">
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="pure-control-group">
|
||||
<label for="email">E-Mail Address</label>
|
||||
<input type="email" class="pure-input-1" name="email" id="email" placeholder="Email" value="{{ old('email') }}">
|
||||
<span class="pure-form-message-inline">This is a required field.</span>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="twelve columns">
|
||||
<form class="pure-form pure-form-stacked" role="form" method="POST" action="{{ url('/login') }}">
|
||||
|
||||
<div class="pure-control-group">
|
||||
<label for="password">Password</label>
|
||||
<input type="password" class="pure-input-1" name="password" id="password" placeholder="Password">
|
||||
</div>
|
||||
<input type="hidden" name="_token" value="{{ csrf_token() }}">
|
||||
|
||||
<div class="pure-controls">
|
||||
<label for="remember" class="pure-checkbox">
|
||||
<input name="remember" id="remember" type="checkbox"> Remember me
|
||||
<div class="row">
|
||||
<div class="twelve columns">
|
||||
<input type="email" name="email" placeholder="Email*" class="u-full-width"
|
||||
value="{{ old('email') }}" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="twelve columns">
|
||||
<input type="password" name="password" placeholder="Password*" class="u-full-width"
|
||||
required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<label for="remember" class="example-send-yourself-copy">
|
||||
<input type="checkbox" name="remember">
|
||||
<span class="label-body">Remember me</span>
|
||||
</label>
|
||||
<button type="submit" class="pure-button pure-button-primary">Login</button>
|
||||
{{-- <a class="btn btn-link" href="{{ url('/password/email') }}">Forgot Your Password?</a> --}}
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div class="row">
|
||||
<div class="twelve">
|
||||
<input type="submit" name="" class="button-primary u-full-width" value="Login">
|
||||
</div>
|
||||
</div>
|
||||
<!-- <h3>Einen neuen Benutzer registrieren</h3> -->
|
||||
<!-- <a class="btn btn-link" href="{{ url('/password/email') }}">Forgot Your Password?</a> -->
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user