mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
43d9d2eba7
Allows BookStack to be installed at a non-root location on a domain. Closes #40.
52 lines
1.8 KiB
PHP
52 lines
1.8 KiB
PHP
@extends('public')
|
|
|
|
@section('header-buttons')
|
|
<a href="{{ baseUrl("/login") }}"><i class="zmdi zmdi-sign-in"></i>Sign in</a>
|
|
@stop
|
|
|
|
@section('content')
|
|
|
|
<div class="text-center">
|
|
<div class="center-box">
|
|
<h1>Sign Up</h1>
|
|
|
|
<form action="{{ baseUrl("/register") }}" method="POST">
|
|
{!! csrf_field() !!}
|
|
|
|
<div class="form-group">
|
|
<label for="email">Name</label>
|
|
@include('form/text', ['name' => 'name'])
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="email">Email</label>
|
|
@include('form/text', ['name' => 'email'])
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="password">Password</label>
|
|
@include('form/password', ['name' => 'password', 'placeholder' => 'Must be over 5 characters'])
|
|
</div>
|
|
|
|
<div class="from-group">
|
|
<button class="button block pos">Create Account</button>
|
|
</div>
|
|
</form>
|
|
|
|
@if(count($socialDrivers) > 0)
|
|
<hr class="margin-top">
|
|
<h3 class="text-muted">Social Registration</h3>
|
|
<p class="text-small">Register and sign in using another service.</p>
|
|
@if(isset($socialDrivers['google']))
|
|
<a href="{{ baseUrl("/register/service/google") }}" style="color: #DC4E41;"><i class="zmdi zmdi-google-plus-box zmdi-hc-4x"></i></a>
|
|
@endif
|
|
@if(isset($socialDrivers['github']))
|
|
<a href="{{ baseUrl("/register/service/github") }}" style="color:#444;"><i class="zmdi zmdi-github zmdi-hc-4x"></i></a>
|
|
@endif
|
|
@endif
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@stop
|