-
Notifications
You must be signed in to change notification settings - Fork 5
/
login.blade.php
executable file
·48 lines (44 loc) · 2.55 KB
/
login.blade.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@extends('commons.fresns')
@section('title', fs_lang('accountLoginOrRegister'))
@section('content')
<main class="container-fluid">
<div class="row mt-5 pt-5">
<div class="card mx-auto" style="max-width:800px;">
<div class="card-body p-5">
<h3 class="card-title">{{ fs_config('site_name') }}</h3>
<p>{{ fs_lang('contentLoginTip') }}</p>
<p class="mt-4">
{{-- Go to login --}}
<button class="btn btn-outline-success" type="button" data-bs-toggle="modal" data-bs-target="#fresnsModal"
data-modal-height="700px"
data-title="{{ fs_lang('accountLogin') }}"
data-url="{{ fs_config('account_login_service') }}"
data-redirect-url="{{ fs_theme('login', $redirectURL) }}"
data-post-message-key="fresnsAccountSign">
{{ fs_lang('accountLogin') }}
</button>
{{-- Join --}}
@if (fs_config('site_private_status') && fs_config('site_private_service'))
<button class="btn btn-success ms-3" type="button" data-bs-toggle="modal" data-bs-target="#fresnsModal"
data-title="{{ fs_lang('accountJoin') }}"
data-url="{{ fs_config('site_private_service') }}"
data-redirect-url="{{ fs_theme('login', $redirectURL) }}"
data-post-message-key="fresnsAccountSign">
{{ fs_lang('accountJoin') }}
</button>
@elseif (fs_config('account_register_status'))
<button class="btn btn-success ms-3" type="button" data-bs-toggle="modal" data-bs-target="#fresnsModal"
data-modal-height="700px"
data-title="{{ fs_lang('accountRegister') }}"
data-url="{{ fs_config('account_register_service') }}"
data-redirect-url="{{ fs_theme('login', $redirectURL) }}"
data-post-message-key="fresnsAccountSign">
{{ fs_lang('accountRegister') }}
</button>
@endif
</p>
</div>
</div>
</div>
</main>
@endsection