2016-09-21 12:10:37 +01:00
|
|
|
@extends('install.layout')
|
|
|
|
|
2017-03-24 14:43:53 +00:00
|
|
|
@section('title', trans('installer.database_title'))
|
2016-09-21 12:10:37 +01:00
|
|
|
@section('content')
|
2016-10-06 11:30:39 +01:00
|
|
|
<h3>@lang('installer.database_title')</h3>
|
|
|
|
<p>@lang('installer.database_intro')</p>
|
2016-09-21 12:10:37 +01:00
|
|
|
|
|
|
|
<div class="row" style="margin-top: 30px;">
|
2017-09-05 14:59:18 +01:00
|
|
|
<div class="col-md-6 mr-md-auto ml-md-auto">
|
2016-09-21 12:10:37 +01:00
|
|
|
@if (!is_null($database_error))
|
|
|
|
<div class="alert alert-danger">
|
|
|
|
<p><strong>Database error:</strong> {{ $database_error }}</p>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
|
2016-10-01 14:45:48 +01:00
|
|
|
<form action="{{ route('install.database') }}" method="post">
|
2016-09-21 12:10:37 +01:00
|
|
|
{{ csrf_field() }}
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="mysql-server">Server:</label>
|
|
|
|
<input type="text" class="form-control" id="mysql-server" name="mysql-server" value="{{ old('mysql-server', config('database.connections.mysql.host')) }}" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="mysql-port">Port number:</label>
|
|
|
|
<input type="number" class="form-control" id="mysql-port" name="mysql-port" value="{{ old('mysql-port', config('database.connections.mysql.port')) }}" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="mysql-username">Username:</label>
|
|
|
|
<input type="text" class="form-control" id="mysql-username" name="mysql-username" value="{{ old('mysql-username', config('database.connections.mysql.username')) }}" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="mysql-password">Password:</label>
|
|
|
|
<input type="password" class="form-control" id="mysql-password" name="mysql-password" value="{{ old('mysql-password', config('database.connections.mysql.password')) }}" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="mysql-database">Database:</label>
|
|
|
|
<input type="text" class="form-control" id="mysql-database" name="mysql-database" value="{{ old('mysql-database', config('database.connections.mysql.database')) }}" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group text-right">
|
|
|
|
<button type="submit" class="btn btn-success">Save & Install</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|