Page MenuHomeDevCentral

No OneTemporary

diff --git a/public/images/white-check.svg b/public/images/white-check.svg
new file mode 100644
index 0000000..d562d19
--- /dev/null
+++ b/public/images/white-check.svg
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg xmlns="http://www.w3.org/2000/svg" width="600" height="600">
+<path fill="#FFF" d="m7.7,404.6c0,0 115.2,129.7 138.2,182.68l99,0c41.5-126.7 202.7-429.1 340.92-535.1c28.6-36.8-43.3-52-101.35-27.62-87.5,36.7-252.5,317.2-283.3,384.64-43.7,11.5-89.8-73.7-89.84-73.7z"/>
+</svg>
\ No newline at end of file
diff --git a/resources/assets/less/login/base.less b/resources/assets/less/login/base.less
index df7543a..02a6740 100644
--- a/resources/assets/less/login/base.less
+++ b/resources/assets/less/login/base.less
@@ -1,69 +1,78 @@
/* -------------------------------------------------------------
Auth Grove - Base styles
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Author: Dereckson
Tags: Bootstrap
Filename: login.css
Source: base.less
Licence: BSD
------------------------------------------------------------- */
/* -------------------------------------------------------------
Table of contents
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
:: Fonts
:: General styles
:: Headings
*/
/* -------------------------------------------------------------
Fonts
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@import "https://fonts.googleapis.com/css?family=Lato:100,300,400";
/* -------------------------------------------------------------
General styles
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
body {
font-weight: 100;
font-family: 'Lato';
}
body.sviatiHory {
background-color: #979F9A;
color: #B0BEC5;
}
body.pandemonium {
background-color: #5C1813;
color: white;
}
/* -------------------------------------------------------------
Headings
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
h1 {
margin-bottom: 0.5em;
}
h1.title {
text-align: center;
font-weight: 300 !important;
}
body.sviatiHory {
h1.title {
color: white;
}
}
body.pandemonium {
h1.title {
color: #aaa;
}
}
+
+
+/* -------------------------------------------------------------
+ Utilities classes
+ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
+
+.center {
+ text-align: center;
+}
diff --git a/resources/assets/less/login/login-form.less b/resources/assets/less/login/login-form.less
index d1c7aa6..5f89506 100644
--- a/resources/assets/less/login/login-form.less
+++ b/resources/assets/less/login/login-form.less
@@ -1,203 +1,207 @@
/* -------------------------------------------------------------
Auth Grove - Login form
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Author: Dereckson, cesiztel
Tags: Bootstrap
Filename: login.css
Source: login-form.less
Licence: MIT
------------------------------------------------------------- */
/* -------------------------------------------------------------
Table of contents
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
:: Card
:: Form styles
*/
/* -------------------------------------------------------------
Card
The card is defined as the area of the screen offering the
content. It has the shape of a card.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@media screen and (min-width: 350px) {
.card-container.card {
width: 350px;
padding: 0.25rem 2rem 2rem 2rem;
}
.card {
padding: 1.8rem 2rem 2rem;
}
}
.card {
margin: 4rem auto 1.5rem auto;
background-color: @shadow-medium;
color: white;
font-weight: 300 !important;
.border-radius(2px);
.box-shadow(0px; 2px; 2px; @shadow-light);
}
/* -------------------------------------------------------------
Form styles
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
.btn {
font-weight: 700;
height: 36px;
.user-select(none);
cursor: default;
}
.profile-img-card {
display: block;
width: 96px;
height: 96px;
margin: 0 auto;
background-color: rgba(255, 255, 255, 0.3);
.border-radius(50%);
.box-shadow(0; 10px; 5px; @shadow-light);
}
/**
* Form styles
*/
.profile-name-card {
margin: 10px 0 0;
min-height: 1em;
font-size: 16px;
font-weight: bold;
text-align: center;
}
.reauth-username {
display: block;
margin-bottom: 10px;
box-sizing: border-box;
color: #404040;
line-height: 2;
font-size: 14px;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
input {
border-color: rgba(30, 30, 30, 0.5) !important;
background-color: rgba(0, 0, 0, 0.4) !important;
color: white !important;
font-weight: 300;
}
.form-signin input[type=email],
.form-signin input[type=password],
.form-signin input[type=text],
.form-signin button {
display: block;
box-sizing: border-box;
position: relative;
width: 100%;
height: 44px;
z-index: 1;
direction: ltr;
font-size: 16px;
margin-bottom: 10px;
}
.form-signin .form-control:focus {
border-color: rgb(104, 145, 162);
outline: 0;
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgb(104, 145, 162);
box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgb(104, 145, 162);
}
.form-register {
label {
margin-top: 1em !important;
}
}
#identity {
margin-bottom: 2em;
}
.btn-signin {
height: 36px;
padding: 0px;
border: none;
.border-radius(3px);
background-color: #52768C;
font-weight: 700;
font-size: 14px;
transition: all 0.218s;
}
.btn-signin:hover,
.btn-signin:active,
.btn-signin:focus {
background-color: rgb(104, 145, 162);
}
.errors {
margin-bottom: 1.5em;
font-weight: 400;
}
.action-link {
color: #90C9E0;
}
.action-link:hover,
.action-link:active,
.action-link:focus{
color: #97D2EB;
}
+.nav, .success {
+ font-weight: 400;
+}
+
/* -------------------------------------------------------------
Color adjustment for Pandemonium mode
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
body.pandemonium {
.btn-signin {
background-color: #7D1A07 !important;
}
.btn-signin:hover,
.btn-signin:active,
.btn-signin:focus {
background-color: #921809 !important;
}
.action-link {
color: rgb(176, 31, 10) !important;
}
.action-link:hover,
.action-link:active,
.action-link:focus{
color: #921809 !important;
}
}
diff --git a/resources/lang/en/pagination.php b/resources/lang/en/pagination.php
index 13b4dcb..9502980 100644
--- a/resources/lang/en/pagination.php
+++ b/resources/lang/en/pagination.php
@@ -1,19 +1,19 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Pagination Language Lines
|--------------------------------------------------------------------------
|
| The following language lines are used by the paginator library to build
| the simple pagination links. You are free to change them to anything
| you want to customize your views to better match your application.
|
*/
- 'previous' => '&laquo; Previous',
- 'next' => 'Next &raquo;',
+ 'previous' => '&laquo;',
+ 'next' => '&raquo;',
];
diff --git a/resources/views/auth/recover.blade.php b/resources/views/auth/recover.blade.php
index 050224a..5311c26 100644
--- a/resources/views/auth/recover.blade.php
+++ b/resources/views/auth/recover.blade.php
@@ -1,50 +1,28 @@
-@extends('app')
+@extends('auth.master')
-@section('content')
-<div class="container-fluid">
- <div class="row">
- <div class="col-md-8 col-md-offset-2">
- <div class="panel panel-default">
- <div class="panel-heading">Reset Password</div>
- <div class="panel-body">
- @if (session('status'))
- <div class="alert alert-success">
- {{ session('status') }}
- </div>
- @endif
+@section('card-content')
+ <h1 class="title">@lang('login.resetPassword')</h1>
+@if (session('status'))
+ <p class="success">{{ session('status') }}</p>
+ <p class="center"><img src="{{ url('/images/white-check.svg') }}" alt="Check mark" width="100px" /></p>
+ <p class="nav"><a href="{{ url('/') }}">@lang('pagination.previous') Back to login screen</a></p>
+@else
+ <form class="form-signin form-recover" role="form" method="POST" action="{{ url('/auth/recover') }}">
+ <div id="identity">
+ <input type="email" name="email" id="inputEmail" class="form-control"
+ value="{{ old('email') }}" placeholder="@lang('login.email')" required autofocus />
+ </div>@if (count($errors) > 0)
- @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
+ <p class="errors">
+@foreach ($errors->all() as $error)
+ {{ $error }}<br />
+@endforeach
+ </p>
+ @endif
- <form class="form-horizontal" role="form" method="POST" action="{{ url('/password/email') }}">
- <input type="hidden" name="_token" value="{{ csrf_token() }}">
+ <input type="hidden" name="_token" value="{{ csrf_token() }}">
+ <button class="btn btn-lg btn-primary btn-block btn-signin" type="submit">@lang('login.recoverButton')</button>
- <div class="form-group">
- <label class="col-md-4 control-label">E-Mail Address</label>
- <div class="col-md-6">
- <input type="email" class="form-control" name="email" value="{{ old('email') }}">
- </div>
- </div>
-
- <div class="form-group">
- <div class="col-md-6 col-md-offset-4">
- <button type="submit" class="btn btn-primary">
- Send Password Reset Link
- </button>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
-</div>
+ </form>
+@endif
@endsection

File Metadata

Mime Type
text/x-diff
Expires
Fri, Sep 19, 00:43 (1 d, 3 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2991991
Default Alt Text
(10 KB)

Event Timeline