mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
ae93a6ed07
- Removed all existing SCSS usage of primary color. - Cut down custom styles injection to just be css vars. - Reduced button styles so default button is primary. - Updated button styles to lighten/brighten on hover & active states even when a custom color is set. - Removed unused scss color vars. - Updated default BookStack blue to achieve better accessibility.
55 lines
2.1 KiB
PHP
55 lines
2.1 KiB
PHP
@extends('simple-layout')
|
|
|
|
@section('content')
|
|
<div class="container very-small">
|
|
|
|
<div class="my-l"> </div>
|
|
|
|
<div class="card content-wrap auto-height">
|
|
<h1 class="list-heading">{{ title_case(trans('auth.sign_up')) }}</h1>
|
|
|
|
<form action="{{ url("/register") }}" method="POST" class="mt-l stretch-inputs">
|
|
{!! csrf_field() !!}
|
|
|
|
<div class="form-group">
|
|
<label for="email">{{ trans('auth.name') }}</label>
|
|
@include('form.text', ['name' => 'name'])
|
|
</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', 'placeholder' => trans('auth.password_hint')])
|
|
</div>
|
|
|
|
<div class="grid half collapse-xs gap-xl v-center mt-m">
|
|
<div class="text-small">
|
|
<a href="{{ url('/login') }}">{{ trans('auth.already_have_account') }}</a>
|
|
</div>
|
|
<div class="from-group text-right">
|
|
<button class="button">{{ trans('auth.create_account') }}</button>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</form>
|
|
|
|
@if(count($socialDrivers) > 0)
|
|
<hr class="my-l">
|
|
@foreach($socialDrivers as $driver => $name)
|
|
<div>
|
|
<a id="social-register-{{$driver}}" class="button block outline svg" href="{{ url("/register/service/" . $driver) }}">
|
|
@icon('auth/' . $driver)
|
|
{{ trans('auth.sign_up_with', ['socialDriver' => $name]) }}
|
|
</a>
|
|
</div>
|
|
@endforeach
|
|
@endif
|
|
</div>
|
|
</div>
|
|
@stop
|