2017-12-30 06:56:46 +08:00
|
|
|
@extends('installer::app')
|
|
|
|
@section('title', 'User Setup')
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
<div class="row"><div class="col-md-12">
|
|
|
|
<div style="align-content: center;">
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ Form::open(['route' => 'installer.usersetup', 'method' => 'POST']) }}
|
2017-12-30 06:56:46 +08:00
|
|
|
<table class="table" width="25%">
|
|
|
|
|
2019-11-27 22:19:20 +08:00
|
|
|
<tr>
|
|
|
|
<td colspan="2" style="text-align: right">
|
|
|
|
<a href="{{ route('importer.index') }}">Importing from a legacy install?</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2017-12-30 06:56:46 +08:00
|
|
|
<tr>
|
|
|
|
<td colspan="2"><h4>Airline Information</h4></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td><p>Airline ICAO</p></td>
|
|
|
|
<td>
|
|
|
|
<div class="form-group">
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ Form::input('text', 'airline_icao', null, ['class' => 'form-control']) }}
|
2017-12-30 06:56:46 +08:00
|
|
|
@include('installer::flash/check_error', ['field' => 'airline_icao'])
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td><p>Airline Name</p></td>
|
|
|
|
<td>
|
|
|
|
<div class="form-group">
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ Form::input('text', 'airline_name', null, ['class' => 'form-control']) }}
|
2017-12-30 06:56:46 +08:00
|
|
|
@include('installer::flash/check_error', ['field' => 'airline_name'])
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2018-02-13 00:51:04 +08:00
|
|
|
<tr>
|
|
|
|
<td><p>Airline Country</p></td>
|
|
|
|
<td>
|
|
|
|
<div class="form-group">
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ Form::select('airline_country', $countries, null, ['class' => 'form-control select2' ]) }}
|
2018-02-13 00:51:04 +08:00
|
|
|
@include('installer::flash/check_error', ['field' => 'airline_country'])
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2017-12-30 06:56:46 +08:00
|
|
|
<tr>
|
|
|
|
<td colspan="2"><h4>First User</h4></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2018-01-01 02:09:23 +08:00
|
|
|
<td><p>Name</p></td>
|
|
|
|
<td>
|
|
|
|
<div class="form-group">
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ Form::input('text', 'name', null, ['class' => 'form-control']) }}
|
2018-01-01 02:09:23 +08:00
|
|
|
@include('installer::flash/check_error', ['field' => 'name'])
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td><p>Email</p></td>
|
2017-12-30 06:56:46 +08:00
|
|
|
<td>
|
|
|
|
<div class="form-group">
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ Form::input('text', 'email', null, ['class' => 'form-control']) }}
|
2017-12-30 06:56:46 +08:00
|
|
|
@include('installer::flash/check_error', ['field' => 'email'])
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<td><p>Password</p></td>
|
|
|
|
<td>
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ Form::password('password', ['class' => 'form-control']) }}
|
2017-12-30 06:56:46 +08:00
|
|
|
@include('installer::flash/check_error', ['field' => 'password'])
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
2018-01-19 09:24:06 +08:00
|
|
|
<td width="40%"><p>Password Confirm</p></td>
|
2017-12-30 06:56:46 +08:00
|
|
|
<td>
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ Form::password('password_confirmation', ['class' => 'form-control']) }}
|
2017-12-30 06:56:46 +08:00
|
|
|
@include('installer::flash/check_error', ['field' => 'password_confirmation'])
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2019-10-30 01:07:53 +08:00
|
|
|
<tr>
|
|
|
|
<td colspan="2"><h4>Options</h4></td>
|
|
|
|
</tr>
|
2018-01-19 09:24:06 +08:00
|
|
|
|
2019-10-30 01:07:53 +08:00
|
|
|
<tr>
|
|
|
|
<td><p>Analytics</p></td>
|
|
|
|
<td>
|
|
|
|
<div class="form-group">
|
|
|
|
{{ Form::hidden('telemetry', 0) }}
|
|
|
|
{{ Form::checkbox('telemetry', 1, true, ['class' => 'form-control']) }}
|
|
|
|
<br />
|
|
|
|
<p>
|
|
|
|
Allows collection of analytics. They won't identify you, and helps us to track
|
|
|
|
the PHP and database versions that are used, and help to figure out problems
|
|
|
|
and slowdowns when vaCentral integration is enabled.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2017-12-30 06:56:46 +08:00
|
|
|
</table>
|
|
|
|
<div id="dbtest"></div>
|
|
|
|
<p style="text-align: right">
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ Form::submit('Complete Setup >>', ['class' => 'btn btn-success']) }}
|
2017-12-30 06:56:46 +08:00
|
|
|
</p>
|
2018-03-13 06:58:12 +08:00
|
|
|
{{ Form::close() }}
|
2017-12-30 06:56:46 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|