Repository navigation
Expand file tree
/
Copy pathactiveUser.blade.php
More file actions
50 lines (50 loc) · 2.06 KB
/
Copy pathactiveUser.blade.php
File metadata and controls
50 lines (50 loc) · 2.06 KB
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
49
50
@extends('auth.layouts')
@section('title', trans('active.title'))
@section('css')
<link href="/assets/pages/css/login-2.min.css" rel="stylesheet" type="text/css" />
@endsection
@section('content')
@if (Session::get('errorMsg'))
<div class="alert alert-danger">
<button class="close" data-close="alert"></button>
<span> {{Session::get('errorMsg')}} </span>
</div>
@endif
@if (Session::get('successMsg'))
<div class="alert alert-success">
<button class="close" data-close="alert"></button>
<span> {{Session::get('successMsg')}} </span>
</div>
@endif
<!-- BEGIN FORGOT PASSWORD FORM -->
<form class="forget-form" action="{{url('activeUser')}}" method="post" style="display: block;">
@if(\App\Components\Helpers::systemConfig()['is_active_register'])
<div class="form-title">
<span class="form-title">{{trans('active.title')}}</span>
</div>
<div class="form-group">
<input class="form-control placeholder-no-fix" type="text" autocomplete="off" placeholder="{{trans('active.username_placeholder')}}" name="username" value="{{Request::get('username')}}" required />
<input type="hidden" name="_token" value="{{csrf_token()}}" />
</div>
@else
<div class="alert alert-danger">
<span> {{trans('active.tips')}} </span>
</div>
@endif
<div class="form-actions">
<button type="button" class="btn btn-default" onclick="login()">{{trans('active.back')}}</button>
@if(\App\Components\Helpers::systemConfig()['is_active_register'])
<button type="submit" class="btn red uppercase pull-right">{{trans('active.submit')}}</button>
@endif
</div>
</form>
<!-- END FORGOT PASSWORD FORM -->
@endsection
@section('script')
<script type="text/javascript">
// 登录
function login() {
window.location.href = '{{url('login')}}';
}
</script>
@endsection