migrate to gtea from bistbucket

This commit is contained in:
2026-03-15 17:08:23 +07:00
commit 129ca2260c
3716 changed files with 566316 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
@extends('vendor.installer.layouts.master')
@section('template_title')
{{ trans('installer_messages.environment.classic.templateTitle') }}
@endsection
@section('title')
<i class="fa fa-code fa-fw" aria-hidden="true"></i> {{ trans('installer_messages.environment.classic.title') }}
@endsection
@section('container')
<form method="post" action="{{ route('LaravelInstaller::environmentSaveClassic') }}">
{{ csrf_field() }}
<textarea class="textarea" name="envConfig">{{ $envConfig }}</textarea>
<div class="buttons buttons--right">
<button class="button button--light" type="submit">
<i class="fa fa-floppy-o fa-fw" aria-hidden="true"></i>
{{ trans('installer_messages.environment.classic.save') }}
</button>
</div>
</form>
@if( ! isset($environment['errors']))
<div class="buttons-container">
<a class="button float-left" href="{{ route('LaravelInstaller::environmentWizard') }}">
<i class="fa fa-sliders fa-fw" aria-hidden="true"></i>
{{ trans('installer_messages.environment.classic.back') }}
</a>
<a class="button float-right" href="{{ route('LaravelInstaller::database') }}">
<i class="fa fa-check fa-fw" aria-hidden="true"></i>
{{ trans('installer_messages.environment.classic.install') }}
<i class="fa fa-angle-double-right fa-fw" aria-hidden="true"></i>
</a>
</div>
@endif
@endsection

View File

@@ -0,0 +1,491 @@
@extends('vendor.installer.layouts.master')
@section('template_title')
{{ trans('installer_messages.environment.wizard.templateTitle') }}
@endsection
@section('title')
<i class="fa fa-magic fa-fw" aria-hidden="true"></i>
{{ __('Setup Environment') }}
@endsection
@section('container')
<div class="tabs tabs-full">
<input id="tab1" type="radio" name="tabs" class="tab-input" checked />
<label for="tab1" class="tab-label">
<i class="fa fa-cog fa-2x fa-fw" aria-hidden="true"></i>
<br />
{{ trans('installer_messages.environment.wizard.tabs.environment') }}
</label>
<form method="post" action="{{ route('LaravelInstaller::environmentSaveWizard') }}" class="tabs-wrap">
<div class="tab" id="tab1content">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<div class="form-group {{ $errors->has('app_name') ? ' has-error ' : '' }}">
<label for="app_name">
{{ trans('installer_messages.environment.wizard.form.app_name_label') }}
</label>
<input type="text" name="app_name" id="app_name" value="{{ old('app_name') }}" placeholder="{{ trans('installer_messages.environment.wizard.form.app_name_placeholder') }}" required />
@if ($errors->has('app_name'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('app_name') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('environment') ? ' has-error ' : '' }}">
<label for="environment">
{{ trans('installer_messages.environment.wizard.form.app_environment_label') }}
</label>
<select name="environment" id="environment" onchange='checkEnvironment(this.value);'>
<option value="local" selected>{{ trans('installer_messages.environment.wizard.form.app_environment_label_local') }}</option>
<option value="development">{{ trans('installer_messages.environment.wizard.form.app_environment_label_developement') }}</option>
<option value="qa">{{ trans('installer_messages.environment.wizard.form.app_environment_label_qa') }}</option>
<option value="production">{{ trans('installer_messages.environment.wizard.form.app_environment_label_production') }}</option>
<option value="other">{{ trans('installer_messages.environment.wizard.form.app_environment_label_other') }}</option>
</select>
<div id="environment_text_input d-none">
<input type="text" name="environment_custom" id="environment_custom" placeholder="{{ trans('installer_messages.environment.wizard.form.app_environment_placeholder_other') }}"/>
</div>
@if ($errors->has('app_name'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('app_name') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('app_debug') ? ' has-error ' : '' }}">
<label for="app_debug">
{{ trans('installer_messages.environment.wizard.form.app_debug_label') }}
</label>
<label for="app_debug_true">
<input type="radio" name="app_debug" id="app_debug_true" value=true checked />
{{ trans('installer_messages.environment.wizard.form.app_debug_label_true') }}
</label>
<label for="app_debug_false">
<input type="radio" name="app_debug" id="app_debug_false" value=false />
{{ trans('installer_messages.environment.wizard.form.app_debug_label_false') }}
</label>
@if ($errors->has('app_debug'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('app_debug') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('app_log_level') ? ' has-error ' : '' }}">
<label for="app_log_level">
{{ trans('installer_messages.environment.wizard.form.app_log_level_label') }}
</label>
<select name="app_log_level" id="app_log_level">
<option value="debug" selected>{{ trans('installer_messages.environment.wizard.form.app_log_level_label_debug') }}</option>
<option value="info">{{ trans('installer_messages.environment.wizard.form.app_log_level_label_info') }}</option>
<option value="notice">{{ trans('installer_messages.environment.wizard.form.app_log_level_label_notice') }}</option>
<option value="warning">{{ trans('installer_messages.environment.wizard.form.app_log_level_label_warning') }}</option>
<option value="error">{{ trans('installer_messages.environment.wizard.form.app_log_level_label_error') }}</option>
<option value="critical">{{ trans('installer_messages.environment.wizard.form.app_log_level_label_critical') }}</option>
<option value="alert">{{ trans('installer_messages.environment.wizard.form.app_log_level_label_alert') }}</option>
<option value="emergency">{{ trans('installer_messages.environment.wizard.form.app_log_level_label_emergency') }}</option>
</select>
@if ($errors->has('app_log_level'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('app_log_level') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('app_url') ? ' has-error ' : '' }}">
<label for="app_url">
{{ trans('installer_messages.environment.wizard.form.app_url_label') }}
</label>
<input type="url" name="app_url" id="app_url" value="{{ url('/') }}" placeholder="{{ trans('installer_messages.environment.wizard.form.app_url_placeholder') }}" required />
@if ($errors->has('app_url'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('app_url') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('database_connection') ? ' has-error ' : '' }}">
<label for="database_connection">
{{ trans('installer_messages.environment.wizard.form.db_connection_label') }}
</label>
<select name="database_connection" id="database_connection">
<option value="mysql" selected>{{ trans('installer_messages.environment.wizard.form.db_connection_label_mysql') }}</option>
<option value="sqlite">{{ trans('installer_messages.environment.wizard.form.db_connection_label_sqlite') }}</option>
<option value="pgsql">{{ trans('installer_messages.environment.wizard.form.db_connection_label_pgsql') }}</option>
<option value="sqlsrv">{{ trans('installer_messages.environment.wizard.form.db_connection_label_sqlsrv') }}</option>
</select>
@if ($errors->has('database_connection'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('database_connection') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('database_hostname') ? ' has-error ' : '' }}">
<label for="database_hostname">
{{ trans('installer_messages.environment.wizard.form.db_host_label') }}
</label>
<input type="text" name="database_hostname" id="database_hostname" value="127.0.0.1" placeholder="{{ trans('installer_messages.environment.wizard.form.db_host_placeholder') }}" />
@if ($errors->has('database_hostname'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('database_hostname') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('database_port') ? ' has-error ' : '' }}">
<label for="database_port">
{{ trans('installer_messages.environment.wizard.form.db_port_label') }}
</label>
<input type="number" name="database_port" id="database_port" value="3306" placeholder="{{ trans('installer_messages.environment.wizard.form.db_port_placeholder') }}" />
@if ($errors->has('database_port'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('database_port') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('database_name') ? ' has-error ' : '' }}">
<label for="database_name required">
{{ trans('installer_messages.environment.wizard.form.db_name_label') }}
</label>
<input type="text" name="database_name" id="database_name" value="{{ old('database_name') }}" placeholder="{{ trans('installer_messages.environment.wizard.form.db_name_placeholder') }}" required />
@if ($errors->has('database_name'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('database_name') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('database_username') ? ' has-error ' : '' }}">
<label for="database_username">
{{ trans('installer_messages.environment.wizard.form.db_username_label') }}
</label>
<input type="text" name="database_username" id="database_username" value="{{ old('database_username') }}" placeholder="{{ trans('installer_messages.environment.wizard.form.db_username_placeholder') }}" required />
@if ($errors->has('database_username'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('database_username') }}
</span>
@endif
</div>
<div class="form-group bottom-gap {{ $errors->has('database_password') ? ' has-error ' : '' }}">
<label for="database_password">
{{ trans('installer_messages.environment.wizard.form.db_password_label') }}
</label>
<input type="password" name="database_password" id="database_password" value="" placeholder="{{ trans('installer_messages.environment.wizard.form.db_password_placeholder') }}" />
@if ($errors->has('database_password'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('database_password') }}
</span>
@endif
</div>
<div class="block" style="display: none">
<input type="radio" name="appSettingsTabs" id="appSettingsTab1" value="null" checked />
<label for="appSettingsTab1">
<span>
{{ trans('installer_messages.environment.wizard.form.app_tabs.broadcasting_title') }}
</span>
</label>
<div class="info">
<div class="form-group {{ $errors->has('broadcast_driver') ? ' has-error ' : '' }}">
<label for="broadcast_driver">{{ trans('installer_messages.environment.wizard.form.app_tabs.broadcasting_label') }}
<sup>
<a href="https://laravel.com/docs/5.4/broadcasting" target="_blank" title="{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}">
<i class="fa fa-info-circle fa-fw" aria-hidden="true"></i>
<span class="sr-only">{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}</span>
</a>
</sup>
</label>
<input type="text" name="broadcast_driver" id="broadcast_driver" value="log" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.broadcasting_placeholder') }}" />
@if ($errors->has('broadcast_driver'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('broadcast_driver') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('cache_driver') ? ' has-error ' : '' }}">
<label for="cache_driver">{{ trans('installer_messages.environment.wizard.form.app_tabs.cache_label') }}
<sup>
<a href="https://laravel.com/docs/5.4/cache" target="_blank" title="{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}">
<i class="fa fa-info-circle fa-fw" aria-hidden="true"></i>
<span class="sr-only">{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}</span>
</a>
</sup>
</label>
<input type="text" name="cache_driver" id="cache_driver" value="file" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.cache_placeholder') }}" />
@if ($errors->has('cache_driver'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('cache_driver') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('session_driver') ? ' has-error ' : '' }}">
<label for="session_driver">{{ trans('installer_messages.environment.wizard.form.app_tabs.session_label') }}
<sup>
<a href="https://laravel.com/docs/5.4/session" target="_blank" title="{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}">
<i class="fa fa-info-circle fa-fw" aria-hidden="true"></i>
<span class="sr-only">{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}</span>
</a>
</sup>
</label>
<input type="text" name="session_driver" id="session_driver" value="file" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.session_placeholder') }}" />
@if ($errors->has('session_driver'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('session_driver') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('queue_driver') ? ' has-error ' : '' }}">
<label for="queue_driver">{{ trans('installer_messages.environment.wizard.form.app_tabs.queue_label') }}
<sup>
<a href="https://laravel.com/docs/5.4/queues" target="_blank" title="{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}">
<i class="fa fa-info-circle fa-fw" aria-hidden="true"></i>
<span class="sr-only">{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}</span>
</a>
</sup>
</label>
<input type="text" name="queue_driver" id="queue_driver" value="sync" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.queue_placeholder') }}" />
@if ($errors->has('queue_driver'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('queue_driver') }}
</span>
@endif
</div>
</div>
</div>
<div class="block d-none">
<input type="radio" name="appSettingsTabs" id="appSettingsTab2" value="null"/>
<label for="appSettingsTab2">
<span>
{{ trans('installer_messages.environment.wizard.form.app_tabs.redis_label') }}
</span>
</label>
<div class="info">
<div class="form-group {{ $errors->has('redis_hostname') ? ' has-error ' : '' }}">
<label for="redis_hostname">
{{ trans('installer_messages.environment.wizard.form.app_tabs.redis_host') }}
<sup>
<a href="https://laravel.com/docs/5.4/redis" target="_blank" title="{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}">
<i class="fa fa-info-circle fa-fw" aria-hidden="true"></i>
<span class="sr-only">{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}</span>
</a>
</sup>
</label>
<input type="text" name="redis_hostname" id="redis_hostname" value="127.0.0.1" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.redis_host') }}" />
@if ($errors->has('redis_hostname'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('redis_hostname') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('redis_password') ? ' has-error ' : '' }}">
<label for="redis_password">{{ trans('installer_messages.environment.wizard.form.app_tabs.redis_password') }}</label>
<input type="password" name="redis_password" id="redis_password" value="null" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.redis_password') }}" />
@if ($errors->has('redis_password'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('redis_password') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('redis_port') ? ' has-error ' : '' }}">
<label for="redis_port">{{ trans('installer_messages.environment.wizard.form.app_tabs.redis_port') }}</label>
<input type="number" name="redis_port" id="redis_port" value="6379" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.redis_port') }}" />
@if ($errors->has('redis_port'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('redis_port') }}
</span>
@endif
</div>
</div>
</div>
<div class="block d-none">
<input type="radio" name="appSettingsTabs" id="appSettingsTab3" value="null"/>
<label for="appSettingsTab3">
<span>
{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_label') }}
</span>
</label>
<div class="info">
<div class="form-group {{ $errors->has('mail_driver') ? ' has-error ' : '' }}">
<label for="mail_driver">
{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_driver_label') }}
<sup>
<a href="https://laravel.com/docs/5.4/mail" target="_blank" title="{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}">
<i class="fa fa-info-circle fa-fw" aria-hidden="true"></i>
<span class="sr-only">{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}</span>
</a>
</sup>
</label>
<input type="text" name="mail_driver" id="mail_driver" value="smtp" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_driver_placeholder') }}" />
@if ($errors->has('mail_driver'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('mail_driver') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('mail_host') ? ' has-error ' : '' }}">
<label for="mail_host">{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_host_label') }}</label>
<input type="text" name="mail_host" id="mail_host" value="smtp.mailtrap.io" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_host_placeholder') }}" />
@if ($errors->has('mail_host'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('mail_host') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('mail_port') ? ' has-error ' : '' }}">
<label for="mail_port">{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_port_label') }}</label>
<input type="number" name="mail_port" id="mail_port" value="2525" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_port_placeholder') }}" />
@if ($errors->has('mail_port'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('mail_port') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('mail_username') ? ' has-error ' : '' }}">
<label for="mail_username">{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_username_label') }}</label>
<input type="text" name="mail_username" id="mail_username" value="null" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_username_placeholder') }}" />
@if ($errors->has('mail_username'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('mail_username') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('mail_password') ? ' has-error ' : '' }}">
<label for="mail_password">{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_password_label') }}</label>
<input type="text" name="mail_password" id="mail_password" value="null" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_password_placeholder') }}" />
@if ($errors->has('mail_password'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('mail_password') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('mail_encryption') ? ' has-error ' : '' }}">
<label for="mail_encryption">{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_encryption_label') }}</label>
<input type="text" name="mail_encryption" id="mail_encryption" value="null" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.mail_encryption_placeholder') }}" />
@if ($errors->has('mail_encryption'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('mail_encryption') }}
</span>
@endif
</div>
</div>
</div>
<div class="block margin-bottom-2 d-none">
<input type="radio" name="appSettingsTabs" id="appSettingsTab4" value="null"/>
<label for="appSettingsTab4">
<span>
{{ trans('installer_messages.environment.wizard.form.app_tabs.pusher_label') }}
</span>
</label>
<div class="info">
<div class="form-group {{ $errors->has('pusher_app_id') ? ' has-error ' : '' }}">
<label for="pusher_app_id">
{{ trans('installer_messages.environment.wizard.form.app_tabs.pusher_app_id_label') }}
<sup>
<a href="https://pusher.com/docs/server_api_guide" target="_blank" title="{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}">
<i class="fa fa-info-circle fa-fw" aria-hidden="true"></i>
<span class="sr-only">{{ trans('installer_messages.environment.wizard.form.app_tabs.more_info') }}</span>
</a>
</sup>
</label>
<input type="text" name="pusher_app_id" id="pusher_app_id" value="" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.pusher_app_id_palceholder') }}" />
@if ($errors->has('pusher_app_id'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('pusher_app_id') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('pusher_app_key') ? ' has-error ' : '' }}">
<label for="pusher_app_key">{{ trans('installer_messages.environment.wizard.form.app_tabs.pusher_app_key_label') }}</label>
<input type="text" name="pusher_app_key" id="pusher_app_key" value="" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.pusher_app_key_palceholder') }}" />
@if ($errors->has('pusher_app_key'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('pusher_app_key') }}
</span>
@endif
</div>
<div class="form-group {{ $errors->has('pusher_app_secret') ? ' has-error ' : '' }}">
<label for="pusher_app_secret">{{ trans('installer_messages.environment.wizard.form.app_tabs.pusher_app_secret_label') }}</label>
<input type="password" name="pusher_app_secret" id="pusher_app_secret" value="" placeholder="{{ trans('installer_messages.environment.wizard.form.app_tabs.pusher_app_secret_palceholder') }}" />
@if ($errors->has('pusher_app_secret'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('pusher_app_secret') }}
</span>
@endif
</div>
</div>
</div>
<div class="center-flex">
<div class="btn-wrapper">
<div class="btn-glow"></div>
<button type="submit" class="btn" role="button">
{{ trans('installer_messages.environment.wizard.form.buttons.install') }}
<svg aria-hidden="true" viewBox="0 0 10 10" height="10" width="10" fill="none" class="arrow">
<path d="M0 5h7" class="line1"></path>
<path d="M1 1l4 4-4 4" class="line2"></path>
</svg>
</button>
</div>
</div>
</div>
</form>
</div>
@endsection
@section('scripts')
<script type="text/javascript">
function checkEnvironment(val) {
var element=document.getElementById('environment_text_input');
if(val=='other') {
element.style.display='block';
} else {
element.style.display='none';
}
}
function showDatabaseSettings() {
document.getElementById('tab2').checked = true;
}
function showApplicationSettings() {
document.getElementById('tab3').checked = true;
}
</script>
@endsection

View File

@@ -0,0 +1,31 @@
@extends('vendor.installer.layouts.master')
@section('template_title')
{{ trans('installer_messages.environment.menu.templateTitle') }}
@endsection
@section('title')
<i class="fa fa-cog fa-fw" aria-hidden="true"></i>
{{ trans('installer_messages.environment.menu.title') }}
@endsection
@section('container')
<b class="text-center d-block environment-desc">
{{ trans('installer_messages.environment.menu.desc') }}
</b>
<div class="center-flex">
<div class="btn-wrapper">
<div class="btn-glow"></div>
<a href="{{ route('LaravelInstaller::environmentWizard') }}" class="btn" role="button" title="payment">
{{ trans('installer_messages.next') }}
<svg aria-hidden="true" viewBox="0 0 10 10" height="10" width="10" fill="none" class="arrow">
<path d="M0 5h7" class="line1"></path>
<path d="M1 1l4 4-4 4" class="line2"></path>
</svg>
</a>
</div>
</div>
@endsection

View File

@@ -0,0 +1,41 @@
@extends('vendor.installer.layouts.master')
@section('template_title')
{{ trans('installer_messages.final.templateTitle') }}
@endsection
@section('title')
<i class="fa fa-flag-checkered fa-fw" aria-hidden="true"></i>
{{ trans('installer_messages.final.title') }}
@endsection
@section('container')
@if(session('message')['dbOutputLog'])
<p><strong><small>{{ trans('installer_messages.final.migration') }}</small></strong></p>
<pre><code>{{ session('message')['dbOutputLog'] }}</code></pre>
@endif
<p><strong><small>{{ trans('installer_messages.final.console') }}</small></strong></p>
<pre><code>{{ $finalMessages }}</code></pre>
<p><strong><small>{{ trans('installer_messages.final.log') }}</small></strong></p>
<pre><code>{{ $finalStatusMessage }}</code></pre>
<p><strong><small>{{ trans('installer_messages.final.env') }}</small></strong></p>
<pre><code>{{ $finalEnvFile }}</code></pre>
<div class="center-flex">
<div class="btn-wrapper">
<div class="btn-glow"></div>
<a href="{{ url('/') }}" class="btn" role="button" title="payment">
{{ trans('installer_messages.final.exit') }}
<svg aria-hidden="true" viewBox="0 0 10 10" height="10" width="10" fill="none" class="arrow">
<path d="M0 5h7" class="line1"></path>
<path d="M1 1l4 4-4 4" class="line2"></path>
</svg>
</a>
</div>
</div>
@endsection

View File

@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@if (trim($__env->yieldContent('template_title')))@yield('template_title') | @endif {{ trans('installer_messages.title') }}</title>
<link rel="icon" type="image/png" href="{{ asset('installer/img/favicon/favicon.png') }}"/>
<link href="{{ asset('installer/css/style.min.css') }}" rel="stylesheet"/>
@yield('style')
<script>
window.Laravel = <?php echo json_encode([
'csrfToken' => csrf_token(),
]); ?>
</script>
</head>
<body>
<div class="master">
<div class="box">
<div class="header">
<h1 class="header__title">@yield('title')</h1>
</div>
<ul class="step">
<li class="step__divider"></li>
<li class="step__item {{ isActive('LaravelUpdater::final') }}">
<i class="step__icon fa fa-database" aria-hidden="true"></i>
</li>
<li class="step__divider"></li>
<li class="step__item {{ isActive('LaravelUpdater::overview') }}">
<i class="step__icon fa fa-reorder" aria-hidden="true"></i>
</li>
<li class="step__divider"></li>
<li class="step__item {{ isActive('LaravelUpdater::welcome') }}">
<i class="step__icon fa fa-refresh" aria-hidden="true"></i>
</li>
<li class="step__divider"></li>
</ul>
<div class="main">
@yield('container')
</div>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,114 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>@if (trim($__env->yieldContent('template_title')))@yield('template_title') | @endif {{ trans('installer_messages.welcome.title') }}</title>
<link rel="icon" type="image/png" href="{{ asset('installer/img/favicon/favicon.png') }}"/>
<link href="{{ asset('installer/css/style.min.css') }}" rel="stylesheet"/>
@yield('style')
<script>
window.Laravel = <?php echo json_encode([
'csrfToken' => csrf_token(),
]); ?>
</script>
</head>
<body>
<div class="master">
<img class="girl-img" src="{{ asset('installer/img/girl.png') }}" alt="">
<img class="boy-img" src="{{ asset('installer/img/boy.png') }}" alt="">
<div class="box">
<div class="header">
<h1 class="header__title">@yield('title')</h1>
</div>
<ul class="step">
<li class="step__divider"></li>
<li class="step__item {{ isActive('LaravelInstaller::final') }}">
<i class="step__icon fa fa-server" aria-hidden="true"></i>
</li>
<li class="step__divider"></li>
<li class="step__item {{ isActive('LaravelInstaller::environment') }} {{ isActive('LaravelInstaller::environmentWizard')}} {{ isActive('LaravelInstaller::environmentClassic')}} {{ isActive('LaravelInstaller::final') }}">
@if(Request::is('install/environment') || Request::is('install/environment/wizard') || Request::is('install/environment/classic') )
<a href="{{ route('LaravelInstaller::environment') }}">
<i class="step__icon fa fa-cog" aria-hidden="true"></i>
</a>
@else
<i class="step__icon fa fa-cog" aria-hidden="true"></i>
@endif
</li>
<li class="step__divider"></li>
<li class="step__item {{ isActive('LaravelInstaller::verify') }} {{ isActive('LaravelInstaller::environment') }} {{ isActive('LaravelInstaller::environmentWizard')}} {{ isActive('LaravelInstaller::final') }}">
@if(Request::is('install/verify-purchase-code') || Request::is('install/environment') || Request::is('install/environment/wizard') || Request::is('install/environment/classic') )
<a href="{{ route('LaravelInstaller::verify') }}">
<i class="step__icon fa fa-check" aria-hidden="true"></i>
</a>
@else
<i class="step__icon fa fa-check" aria-hidden="true"></i>
@endif
</li>
<li class="step__divider"></li>
<li class="step__item {{ isActive('LaravelInstaller::requirements') }} {{ isActive('LaravelInstaller::verify') }} {{ isActive('LaravelInstaller::environment') }} {{ isActive('LaravelInstaller::environmentWizard')}} {{ isActive('LaravelInstaller::final') }}">
@if(Request::is('install') || Request::is('install/requirements') || Request::is('install/permissions') || Request::is('install/verify-purchase-code') || Request::is('install/environment') || Request::is('install/environment/wizard') || Request::is('install/environment/classic') )
<a href="{{ route('LaravelInstaller::requirements') }}">
<i class="step__icon fa fa-list" aria-hidden="true"></i>
</a>
@else
<i class="step__icon fa fa-list" aria-hidden="true"></i>
@endif
</li>
<li class="step__divider"></li>
<li class="step__item active">
@if(Request::is('install/verify-purchase-code') || Request::is('install') || Request::is('install/requirements') || Request::is('install/permissions') || Request::is('install/environment') || Request::is('install/environment/wizard') || Request::is('install/environment/classic') )
<a href="{{ route('LaravelInstaller::welcome') }}">
<i class="step__icon fa fa-home" aria-hidden="true"></i>
</a>
@else
<i class="step__icon fa fa-home" aria-hidden="true"></i>
@endif
</li>
<li class="step__divider"></li>
</ul>
<div class="main">
@if (session('message'))
<p class="alert text-center">
<strong>
@if(is_array(session('message')))
{{ session('message')['message'] }}
@else
{{ session('message') }}
@endif
</strong>
</p>
@endif
@if(session()->has('errors'))
<div class="alert alert-danger" id="error_alert">
<button type="button" class="close" id="close_alert" data-dismiss="alert" aria-hidden="true">
<i class="fa fa-close" aria-hidden="true"></i>
</button>
<h4>
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ trans('installer_messages.forms.errorTitle') }}
</h4>
<ul>
@foreach($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
@yield('container')
</div>
</div>
</div>
@yield('scripts')
<script type="text/javascript">
var x = document.getElementById('error_alert');
var y = document.getElementById('close_alert');
y.onclick = function() {
x.style.display = "none";
};
</script>
</body>
</html>

View File

@@ -0,0 +1,35 @@
@extends('vendor.installer.layouts.master')
@section('template_title')
{{ trans('installer_messages.permissions.templateTitle') }}
@endsection
@section('title')
<i class="fa fa-key fa-fw" aria-hidden="true"></i>
{{ trans('installer_messages.permissions.title') }}
@endsection
@section('container')
<ul class="list">
@foreach($permissions['permissions'] as $permission)
<li class="list__item list__item--permissions {{ $permission['isSet'] ? 'success' : 'error' }}">
{{ $permission['folder'] }}
<span>
<i class="fa fa-fw fa-{{ $permission['isSet'] ? 'check-circle-o' : 'exclamation-circle' }}"></i>
{{ $permission['permission'] }}
</span>
</li>
@endforeach
</ul>
@if ( ! isset($permissions['errors']))
<div class="buttons">
<a href="{{ route('LaravelInstaller::verify') }}" class="button">
{{ __('Next') }}
<i class="fa fa-angle-right fa-fw" aria-hidden="true"></i>
</a>
</div>
@endif
@endsection

View File

@@ -0,0 +1,56 @@
@extends('vendor.installer.layouts.master')
@section('template_title')
{{ trans('installer_messages.requirements.templateTitle') }}
@endsection
@section('title')
<i class="fa fa-list-ul fa-fw" aria-hidden="true"></i>
{{ trans('installer_messages.requirements.title') }}
@endsection
@section('container')
@foreach($requirements['requirements'] as $type => $requirement)
<ul class="list">
<li class="list__item list__title {{ $phpSupportInfo['supported'] ? 'success' : 'error' }}">
<strong>{{ ucfirst($type) }}</strong>
@if($type == 'php')
<strong>
<small>
(version {{ $phpSupportInfo['minimum'] }} required)
</small>
</strong>
<span class="float-right">
<strong>
{{ $phpSupportInfo['current'] }}
</strong>
<i class="fa fa-fw fa-{{ $phpSupportInfo['supported'] ? 'check-circle-o' : 'exclamation-circle' }} row-icon" aria-hidden="true"></i>
</span>
@endif
</li>
@foreach($requirements['requirements'][$type] as $extention => $enabled)
<li class="list__item {{ $enabled ? 'success' : 'error' }}">
{{ $extention }}
<i class="fa fa-fw fa-{{ $enabled ? 'check-circle-o' : 'exclamation-circle' }} row-icon" aria-hidden="true"></i>
</li>
@endforeach
</ul>
@endforeach
@if ( ! isset($requirements['errors']) && $phpSupportInfo['supported'] )
<div class="center-flex">
<div class="btn-wrapper">
<div class="btn-glow"></div>
<a href="{{ route('LaravelInstaller::verify') }}" class="btn" role="button" title="payment">
{{ __('Verify Your Code') }}
<svg aria-hidden="true" viewBox="0 0 10 10" height="10" width="10" fill="none" class="arrow">
<path d="M0 5h7" class="line1"></path>
<path d="M1 1l4 4-4 4" class="line2"></path>
</svg>
</a>
</div>
</div>
@endif
@endsection

View File

@@ -0,0 +1,9 @@
@extends('php-laravel.installer.layouts.master-update')
@section('title', __('Download'))
@section('container')
<p class="paragraph text-center">{{ __('File downloaded successfully. Now time to update the project') }}</p>
<div class="buttons">
<a href="{{ route('LaravelUpdater::updateProcess',['fileName' => $file_name]) }}" class="button">{{ __('Update Product') }}</a>
</div>
@stop

View File

@@ -0,0 +1,9 @@
@extends('php-laravel.installer.layouts.master-update')
@section('title', trans('installer_messages.updater.final.title'))
@section('container')
<p class="paragraph text-center">{{ $message }}</p>
<div class="buttons">
<a href="{{ url('/') }}" class="button">{{ trans('installer_messages.updater.final.exit') }}</a>
</div>
@stop

View File

@@ -0,0 +1,54 @@
@extends('php-laravel.installer.layouts.master-update')
@section('template_title')
{{ trans('installer_messages.envato.templateTitle') }}
@endsection
@section('title')
<i class="fa fa-database" aria-hidden="true"></i>
{{ __('Product Update') }}
@endsection
@section('container')
<form method="post" action="{{ route('LaravelUpdater::downloadUpdatedCode') }}" class="tabs-wrap">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<div class="form-group {{ $errors->has('code') ? ' has-error ' : '' }}">
<label for="purchase_code">
{{ __('Purchase Code') }}
</label>
<input type="text" name="code" id="purchase_code" value="{{ $purchase_code }}" placeholder="{{ __('Envato purchase code')}}" />
@if ($errors->has('code'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('code') }}
</span>
@endif
</div>
@if(isset($version_list[0]))
<div class="form-group {{ $errors->has('version') ? ' has-error ' : '' }}">
<label for="environment">
{{ __('Select a version to get updated code') }}
</label>
<select name="version">
@foreach ($version_list as $version)
<option value="{{ $version['product_version'] }}">{{ $version['product_version'] }}</option>
@endforeach
</select>
@if ($errors->has('version'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('version') }}
</span>
@endif
</div>
@endif
<div class="buttons">
<button class="button" type="submit">
{{ __('Download') }}
<i class="fa fa-angle-right fa-fw" aria-hidden="true"></i>
</button>
</div>
</form>
@stop

View File

@@ -0,0 +1,11 @@
@extends('php-laravel.installer.layouts.master-update')
@section('title', trans('installer_messages.updater.welcome.title'))
@section('container')
<p class="paragraph text-center">
{{ trans('installer_messages.updater.welcome.message') }}
</p>
<div class="buttons">
<a href="{{ route('LaravelUpdater::overview') }}" class="button">{{ trans('installer_messages.next') }}</a>
</div>
@stop

View File

@@ -0,0 +1,33 @@
@extends('vendor.installer.layouts.master')
@section('title')
<i class="fa fa-key fa-fw" aria-hidden="true"></i>
{{ __('Verify Envato Purchase Code') }}
@endsection
@section('container')
<form method="post" action="{{ route('LaravelInstaller::codeVerifyProcess') }}" class="tabs-wrap">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<input type="hidden" name="_tokens" value="purchase_code">
<div class="form-group {{ $errors->has('purchase_code') ? ' has-error ' : '' }}">
<label for="purchase_code">
{{ __('Purchase Code') }}
</label>
<input type="text" name="purchase_code" id="purchase_code" value="" placeholder="{{ __('Envato purchase code')}}" />
@if ($errors->has('purchase_code'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('purchase_code') }}
</span>
@endif
</div>
<div class="buttons">
<button class="button" type="submit">
{{ __('Verify Code') }}
<i class="fa fa-angle-right fa-fw" aria-hidden="true"></i>
</button>
</div>
</form>
@endsection

View File

@@ -0,0 +1,44 @@
@extends('vendor.installer.layouts.master')
@section('template_title')
{{ __('Verify Envato Purchase Code') }}
@endsection
@section('title')
<i class="fa fa-key fa-fw" aria-hidden="true"></i>
{{ __('Verify Envato Purchase Code') }}
@endsection
@section('container')
<form method="post" action="{{ route('LaravelInstaller::codeVerifyProcess') }}" class="tabs-wrap">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
<div class="form-group bottom-gap {{ $errors->has('purchase_code') ? ' has-error ' : '' }}">
<label for="purchase_code">
{{ __('Purchase Code') }}
</label>
<input type="text" name="purchase_code" id="purchase_code" value="" placeholder="{{ __('Envato purchase code')}}" />
@if ($errors->has('purchase_code'))
<span class="error-block">
<i class="fa fa-fw fa-exclamation-triangle" aria-hidden="true"></i>
{{ $errors->first('purchase_code') }}
</span>
@endif
</div>
<div class="center-flex">
<div class="btn-wrapper">
<div class="btn-glow"></div>
<button type="submit" class="btn" role="button">
{{ __('Verify Code') }}
<svg aria-hidden="true" viewBox="0 0 10 10" height="10" width="10" fill="none" class="arrow">
<path d="M0 5h7" class="line1"></path>
<path d="M1 1l4 4-4 4" class="line2"></path>
</svg>
</button>
</div>
</div>
</form>
@endsection

View File

@@ -0,0 +1,31 @@
@extends('vendor.installer.layouts.master')
@section('template_title')
{{ trans('installer_messages.welcome.templateTitle') }}
@endsection
@section('title')
{{ __("installer_messages.title") }}
@endsection
@section('container')
<h1 class="page-title">
{{__('We Makes')}} <span class="gradient-text">{{__('Globally')}}</span> {{__('Growth')}}<br /> {{__('Increase Your Revenue')}}
</h1>
<p class="text-center paragraph">
{{ trans('installer_messages.welcome.message') }}
</p>
<br>
<div class="center-flex">
<div class="btn-wrapper">
<div class="btn-glow"></div>
<a href="{{ route('LaravelInstaller::requirements') }}" class="btn" role="button" title="payment">
{{ trans('installer_messages.next') }}
<svg aria-hidden="true" viewBox="0 0 10 10" height="10" width="10" fill="none" class="arrow">
<path d="M0 5h7" class="line1"></path>
<path d="M1 1l4 4-4 4" class="line2"></path>
</svg>
</a>
</div>
</div>
@endsection

View File

@@ -0,0 +1,88 @@
@if ($paginator->hasPages())
<nav class="d-flex justify-items-center justify-content-between">
<div class="d-flex justify-content-between flex-fill d-sm-none">
<ul class="pagination">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<li class="page-item disabled" aria-disabled="true">
<span class="page-link">@lang('pagination.previous')</span>
</li>
@else
<li class="page-item">
<a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev">@lang('pagination.previous')</a>
</li>
@endif
{{-- Next Page Link --}}
@if ($paginator->hasMorePages())
<li class="page-item">
<a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next">{{ __('Next') }}</a>
</li>
@else
<li class="page-item disabled" aria-disabled="true">
<span class="page-link">{{ __('Next') }}</span>
</li>
@endif
</ul>
</div>
<div class="d-none flex-sm-fill d-sm-flex align-items-sm-center justify-content-sm-between">
<div>
<p class="small text-muted">
{{ __('Showing') }}
<span class="fw-semibold">{{ $paginator->firstItem() }}</span>
{{ __('to') }}
<span class="fw-semibold">{{ $paginator->lastItem() }}</span>
{{ __('of') }}
<span class="fw-semibold">{{ $paginator->total() }}</span>
{{ __('results') }}
</p>
</div>
<div>
<ul class="pagination">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<li class="page-item disabled" aria-disabled="true" aria-label="@lang('pagination.previous')">
<span class="page-link" aria-hidden="true">{{ __('Previous') }}</span>
</li>
@else
<li class="page-item">
<a class="page-link" href="{{ $paginator->previousPageUrl() }}" rel="prev" aria-label="@lang('pagination.previous')">{{ __('Previous') }}</a>
</li>
@endif
{{-- Pagination Elements --}}
@foreach ($elements as $element)
{{-- "Three Dots" Separator --}}
@if (is_string($element))
<li class="page-item disabled" aria-disabled="true"><span class="page-link">{{ $element }}</span></li>
@endif
{{-- Array Of Links --}}
@if (is_array($element))
@foreach ($element as $page => $url)
@if ($page == $paginator->currentPage())
<li class="page-item active" aria-current="page"><span class="page-link">{{ $page }}</span></li>
@else
<li class="page-item"><a class="page-link" href="{{ $url }}">{{ $page }}</a></li>
@endif
@endforeach
@endif
@endforeach
{{-- Next Page Link --}}
@if ($paginator->hasMorePages())
<li class="page-item">
<a class="page-link" href="{{ $paginator->nextPageUrl() }}" rel="next" aria-label="Next">{{ __('Next') }}</a>
</li>
@else
<li class="page-item disabled" aria-disabled="true" aria-label="Next">
<span class="page-link" aria-hidden="true">{{ __('Next') }}</span>
</li>
@endif
</ul>
</div>
</div>
</nav>
@endif