mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-13 07:59:20 +00:00
38 lines
1.5 KiB
PHP
38 lines
1.5 KiB
PHP
@extends('auth.layouts')
|
|
@section('title',sysConfig('website_name'))
|
|
@section('content')
|
|
<h4 class="caption-subject font-dark bold">{{trans('common.free').trans('auth.invite.attribute')}}</h4>
|
|
<div class="table-responsive">
|
|
<table class="table table-hover text-center">
|
|
@if(sysConfig('is_invite_register'))
|
|
@if(sysConfig('is_free_code'))
|
|
<thead class="thead-default">
|
|
<tr>
|
|
<th> {{trans('auth.invite.attribute')}} </th>
|
|
<th> {{trans('common.available_date')}} </th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($inviteList as $invite)
|
|
<tr>
|
|
<td><a href="{{route('register', ['code' => $invite->code])}}" target="_blank">{{$invite->code}}</a></td>
|
|
<td> {{$invite->dateline}} </td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
@endif
|
|
@else
|
|
{{trans('auth.invite.not_required')}}
|
|
@endif
|
|
</table>
|
|
</div>
|
|
@if(sysConfig('is_invite_register') && sysConfig('is_free_code'))
|
|
<div class="mt-20">
|
|
<a href="{{route('login')}}" class="btn btn-danger btn-lg float-left">{{trans('common.back')}}</a>
|
|
<nav class="Page navigation float-right">
|
|
{{$inviteList->links()}}
|
|
</nav>
|
|
</div>
|
|
@endif
|
|
@endsection
|