2020-06-27 00:23:57 +02:00
|
|
|
@extra
|
2020-06-25 20:42:12 +02:00
|
|
|
<?php
|
|
|
|
$jsFiles = [
|
|
|
|
'js/login/google_signup.js',
|
|
|
|
];
|
|
|
|
?>
|
2020-06-27 00:23:57 +02:00
|
|
|
@endextra
|
|
|
|
|
|
|
|
@extends('templates/layout_normal')
|
|
|
|
|
|
|
|
@section('main')
|
2020-06-21 01:33:33 +02:00
|
|
|
<h2>Sign up</h2>
|
|
|
|
<div class="box">
|
2020-06-25 22:35:04 +02:00
|
|
|
<form id="googleSignupForm" action="/signup/google" method="post" data-redirect-on-success="/">
|
2020-06-21 01:33:33 +02:00
|
|
|
<?php if ($found): ?>
|
|
|
|
<p class="justify">Please confirm that you link your account to your Google account.</p>
|
|
|
|
<?php else: ?>
|
|
|
|
<p class="justify">Please confirm your sign up request. Your account will be linked to your Google account.</p>
|
|
|
|
<?php endif; ?>
|
|
|
|
<input class="big fullWidth marginTop" type="email" name="email" placeholder="Email address" value="<?= $email ?>" disabled>
|
2020-06-21 15:29:02 +02:00
|
|
|
<div class="right">
|
|
|
|
<button class="marginTop marginRight" type="submit">
|
2020-06-21 01:33:33 +02:00
|
|
|
<?php if ($found): ?>
|
|
|
|
Link
|
|
|
|
<?php else: ?>
|
|
|
|
Sign up
|
|
|
|
<?php endif; ?>
|
2020-06-21 15:29:02 +02:00
|
|
|
</button><!--
|
|
|
|
--><button id="cancelGoogleSignupButton" class="gray marginTop" type="button">Cancel</button>
|
2020-06-21 01:33:33 +02:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2020-06-27 00:23:57 +02:00
|
|
|
@endsection
|