refactor: replace custom CRM with Monica fork
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
Some checks failed
Build & Push Monica Image to Gitea Registry / build-and-push (push) Failing after 9s
This commit is contained in:
61
resources/views/auth/oauthlogin.blade.php
Normal file
61
resources/views/auth/oauthlogin.blade.php
Normal file
@@ -0,0 +1,61 @@
|
||||
@extends('marketing.skeleton')
|
||||
|
||||
@section('content')
|
||||
<body class="marketing register">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6 offset-md-3 offset-md-3-right">
|
||||
|
||||
<div class="signup-box">
|
||||
<div class="dt w-100">
|
||||
<div class="dtc tc">
|
||||
<img src="img/monica.svg" width="97" height="88" alt="">
|
||||
</div>
|
||||
</div>
|
||||
<h2>{{ trans('auth.login_to_account') }}</h2>
|
||||
|
||||
@include ('partials.errors')
|
||||
|
||||
<form action="{{ route('oauth.login') }}" method="post">
|
||||
@csrf
|
||||
|
||||
<div class="form-group">
|
||||
<label for="email">{{ trans('auth.email') }}</label>
|
||||
<input type="email" class="form-control" id="email" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="password">{{ trans('auth.password') }}</label>
|
||||
<input type="password" class="form-control" id="password" name="password" required autocomplete="current-password">
|
||||
</div>
|
||||
|
||||
<div class="form-group actions">
|
||||
<button type="submit" class="btn btn-primary">{{ trans('auth.login') }}</button>
|
||||
</div>
|
||||
|
||||
@if (isset($errors))
|
||||
@if (count($errors) > 0)
|
||||
<div class="form-group links">
|
||||
<ul>
|
||||
<li>{{ trans('auth.password_forget') }} <a href="{{ route('password.request') }}">{{ trans('auth.password_reset') }}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
@endif
|
||||
<div class="form-group links">
|
||||
<ul>
|
||||
@if(! config('monica.disable_signup'))
|
||||
<li>{{ trans('auth.signup_no_account') }} <a href="register">{{ trans('auth.signup') }}</a></li>
|
||||
@elseif(! \App\Helpers\InstanceHelper::hasAtLeastOneAccount())
|
||||
<li>{!! trans('auth.create_account', ['url' => 'register']) !!}</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user