mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
Updated auth pages to new design, Removed public layout
This commit is contained in:
@ -1,37 +1,25 @@
|
||||
@extends('public')
|
||||
|
||||
@section('header-buttons')
|
||||
<a href="{{ baseUrl("/login") }}">@icon('login') {{ trans('auth.log_in') }}</a>
|
||||
@if(setting('registration-enabled'))
|
||||
<a href="{{ baseUrl("/register") }}">@icon('new-user') {{ trans('auth.sign_up') }}</a>
|
||||
@endif
|
||||
@stop
|
||||
@extends('simple-layout')
|
||||
|
||||
@section('content')
|
||||
<div class="container very-small mt-xl">
|
||||
<div class="card content-wrap auto-height">
|
||||
<h1 class="list-heading">{{ trans('auth.reset_password') }}</h1>
|
||||
|
||||
<p class="muted small">{{ trans('auth.reset_password_send_instructions') }}</p>
|
||||
|
||||
<div class="text-center">
|
||||
<div class="card center-box">
|
||||
<h3>@icon('permission') {{ trans('auth.reset_password') }}</h3>
|
||||
<form action="{{ baseUrl("/password/email") }}" method="POST" class="stretch-inputs">
|
||||
{!! csrf_field() !!}
|
||||
|
||||
<div class="body">
|
||||
<p class="muted small">{{ trans('auth.reset_password_send_instructions') }}</p>
|
||||
<div class="form-group">
|
||||
<label for="email">{{ trans('auth.email') }}</label>
|
||||
@include('form/text', ['name' => 'email'])
|
||||
</div>
|
||||
|
||||
<form action="{{ baseUrl("/password/email") }}" method="POST">
|
||||
{!! csrf_field() !!}
|
||||
|
||||
<div class="form-group">
|
||||
<label for="email">{{ trans('auth.email') }}</label>
|
||||
@include('form/text', ['name' => 'email'])
|
||||
</div>
|
||||
|
||||
<div class="from-group text-right">
|
||||
<button class="button primary">{{ trans('auth.reset_password_send_button') }}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="from-group text-right mt-m">
|
||||
<button class="button primary">{{ trans('auth.reset_password_send_button') }}</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@stop
|
@ -1,43 +1,34 @@
|
||||
@extends('public')
|
||||
|
||||
@section('header-buttons')
|
||||
<a href="{{ baseUrl("/login") }}">@icon('login') {{ trans('auth.log_in') }}</a>
|
||||
@if(setting('registration-enabled'))
|
||||
<a href="{{ baseUrl("/register") }}">@icon('new-user') {{ trans('auth.sign_up') }}</a>
|
||||
@endif
|
||||
@stop
|
||||
@extends('simple-layout')
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="text-center">
|
||||
<div class="card center-box">
|
||||
<h3>@icon('permission') {{ trans('auth.reset_password') }}</h3>
|
||||
<div class="container very-small mt-xl">
|
||||
<div class="card content-wrap auto-height">
|
||||
<h1 class="list-heading">{{ trans('auth.reset_password') }}</h1>
|
||||
|
||||
<div class="body">
|
||||
<form action="{{ baseUrl("/password/reset") }}" method="POST">
|
||||
{!! csrf_field() !!}
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
<form action="{{ baseUrl("/password/reset") }}" method="POST" class="stretch-inputs">
|
||||
{!! csrf_field() !!}
|
||||
<input type="hidden" name="token" value="{{ $token }}">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="email">{{ trans('auth.email') }}</label>
|
||||
@include('form/text', ['name' => 'email'])
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email">{{ trans('auth.email') }}</label>
|
||||
@include('form.text', ['name' => 'email'])
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="password">{{ trans('auth.password') }}</label>
|
||||
@include('form/password', ['name' => 'password'])
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password">{{ trans('auth.password') }}</label>
|
||||
@include('form.password', ['name' => 'password'])
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="password_confirmation">{{ trans('auth.password_confirm') }}</label>
|
||||
@include('form/password', ['name' => 'password_confirmation'])
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password_confirmation">{{ trans('auth.password_confirm') }}</label>
|
||||
@include('form.password', ['name' => 'password_confirmation'])
|
||||
</div>
|
||||
|
||||
<div class="from-group text-right">
|
||||
<button class="button primary">{{ trans('auth.reset_password') }}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<div class="from-group text-right mt-m">
|
||||
<button class="button primary">{{ trans('auth.reset_password') }}</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user