64 lines
2.1 KiB
PHP
64 lines
2.1 KiB
PHP
@extends('adminlte::page')
|
|
|
|
@section('htmlheader_title')
|
|
Authorise an Email address
|
|
@endsection
|
|
|
|
@section('main-content')
|
|
<div class="container-fluid spark-screen">
|
|
<div class="row">
|
|
<div class="col-md-5 col-md-offset-1">
|
|
<div class="box box-solid">
|
|
<div class="box-header with-border">
|
|
<h3 class="box-title">Authorise Email address</h3>
|
|
<div class="box-tools pull-right">
|
|
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button>
|
|
<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
|
|
</div>
|
|
<!-- /.box-tools -->
|
|
</div>
|
|
<!-- /.box-header -->
|
|
<div class="box-body">
|
|
<form role="form" method="POST">
|
|
{{ csrf_field() }}
|
|
<div class="box-body">
|
|
@if ($errors->any())
|
|
<div class="alert alert-danger">
|
|
<ul>
|
|
@foreach ($errors->all() as $error)
|
|
<li>{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
@endif
|
|
|
|
@if ($doorman->count())
|
|
<div class="alert alert-success">
|
|
<ul>
|
|
@foreach ($doorman->all() as $invite)
|
|
<li>Invite Code: <strong>{{ $invite->code }}</strong> for: <strong>{{ $invite->for }}</strong> valid {{ $invite->max }} times until {{ $invite->valid_until }}.</li>
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
@endif
|
|
|
|
|
|
<div class="form-group">
|
|
<label for="email">Email address</label>
|
|
<input type="email" class="form-control" id="email" name="email" placeholder="Enter email">
|
|
</div>
|
|
</div>
|
|
<!-- /.box-body -->
|
|
|
|
<div class="box-footer">
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<!-- /.box-body -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|