chore: remove APAW from tracking; gitignore agent-generated files

This commit is contained in:
Deploy Bot
2026-06-20 01:32:54 +01:00
parent d6dedfb513
commit 6aa41381ac
362 changed files with 48506 additions and 13261 deletions

View File

@@ -0,0 +1,146 @@
@extends('layouts.app', ['nav' => false])
@section('title', 'Welcome - Installation')
@section('content')
<div class="container">
<div class="row">
<h3 class="text-center">{{ config('app.name', 'POS') }} Installation <small>Step 2 of 3</small></h3>
</div>
<div class="row">
<div class="card">
@include('ic.partials.nav', ['active' => 'app_details'])
<div class="card-body">
@if(session('error'))
<div class="alert alert-danger">
{!! session('error') !!}
</div>
@endif
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<form id="details_form" method="post"
action="{{route('install.postDetails')}}">
{{ csrf_field() }}
<h4>Application Details</h4>
<hr/>
<div class="form-row">
<div class="form-group col-md-6">
<label for="app_name">Application Name:*</label>
<input type="text" class="form-control" name="APP_NAME" id="app_name" placeholder="" required>
</div>
<div class="form-group col-md-6">
<label for="app_title">Application Title:</label>
<input type="text" name="APP_TITLE" class="form-control" id="app_title">
</div>
</div>
<br/>
<h4> License Details <small class="text-danger">Make sure to provide correct information from Envato/codecanyon</small></h4>
<hr/>
<div class="form-row">
<div class="form-group col-md-4">
<label for="envato_purchase_code">Envato Purchase Code:*</label>
<input type="password" name="ENVATO_PURCHASE_CODE" required class="form-control" id="envato_purchase_code">
</div>
<div class="form-group col-md-4">
<label for="envato_username">Envato Username:*</label>
<input type="text" name="ENVATO_USERNAME" required class="form-control" id="envato_username">
</div>
<div class="form-group col-md-4">
<label for="envato_email">Your Email:</label>
<input type="email" name="ENVATO_EMAIL" class="form-control" id="envato_email" placeholder="optional">
<p class="help-block">For Newsletter & support</p>
</div>
</div>
<div class="clearfix"></div>
<h4> Database Details <small class="text-muted">Make sure to provide correct information</small></h4>
<hr/>
<div class="form-row">
<div class="form-group col-md-4">
<label for="db_host">Database Host:*</label>
<input type="text" class="form-control" id="db_host" name="DB_HOST" required placeholder="localhost / 127.0.0.1">
</div>
<div class="form-group col-md-4">
<label for="db_port">Database Port:*</label>
<input type="text" class="form-control" id="db_port" name="DB_PORT" required value="3306">
</div>
<div class="form-group col-md-4">
<label for="db_database">Database Name:*</label>
<input type="text" class="form-control" id="db_database" name="DB_DATABASE" required>
<p class="help-block text-danger"><small>Name of empty database</small></p>
</div>
</div>
<div class="form-row">
<div class="form-group col-md-6">
<label for="db_username">Database Username:*</label>
<input type="text" class="form-control" id="db_username" name="DB_USERNAME" required>
</div>
<div class="form-group col-md-6">
<label for="db_password">Database Password:*</label>
<input type="password" class="form-control" id="db_password" name="DB_PASSWORD" required>
</div>
</div>
<hr/>
<div class="col-md-12">
<a href="{{route('install.index')}}" class="btn btn-default pull-left back_button" tabindex="-1">Back</a>
<button type="submit" id="install_button" class="btn btn-primary float-md-right">Install</button>
</div>
<div class="col-md-12 text-center text-danger install_msg d-none">
<strong>Installation in progress, Please do not refresh, go back or close the browser.</strong>
</div>
</form>
</div>
</div>
</div>
</div>
@endsection
@section('footer')
<script type="text/javascript">
$(document).ready(function(){
$('select#MAIL_MAILER').change(function(){
var driver = $(this).val();
if(driver == 'smtp'){
$('div.smtp').removeClass('d-none');
$('input.smtp_input').attr('disabled', false);
} else {
$('div.smtp').addClass('d-none');
$('input.smtp_input').attr('disabled', true);
}
});
$('form#details_form').submit(function(){
$('button#install_button').attr('disabled', true).text('Installing...');
$('div.install_msg').removeClass('d-none');
$('.back_button').d-none();
});
})
</script>
@endsection

View File

@@ -0,0 +1,59 @@
@extends('layouts.app', ['nav' => false])
@section('title', 'Welcome - Installation')
@section('content')
<div class="container">
<div class="row">
<h3 class="text-center">{{ config('app.name', 'POS') }} Installation <small>Step 2 of 3</small></h3>
</div>
<div class="row">
<div class="card">
@include('ic.partials.nav', ['active' => 'app_details'])
<div class="card-body">
<form class="form" method="post"
action="{{route('install.installAlternate')}}"
id="env_details_form">
{{ csrf_field() }}
<h4 class="install_instuction">Hey, I need your help. </h4>
<p class="install_instuction">
Please create a file with name <code>.env</code> in application folder with <code>read & write permission</code> and paste the below content. <br/> Press install after it.
</p>
<hr/>
<div class="col-md-12">
<div class="form-group">
<textarea rows="25" cols="50">{{$envContent}}</textarea>
</div>
</div>
<div class="col-md-12">
<button type="submit" class="btn btn-primary float-md-right" id="install_button">Install</button>
</div>
<div class="col-md-12 text-center text-danger install_msg d-none">
<h3>Installation in progress, Please do not refresh, go back or close the browser.</strong>
</h3>
</form>
</div>
</div>
</div>
</div>
@endsection
@section('footer')
<script type="text/javascript">
$(document).ready(function(){
$('form#env_details_form').submit(function(){
$('button#install_button').attr('disabled', true).text('Installing...');
$(".install_instuction").addClass('d-none');
$('div.install_msg').removeClass('d-none');
$('textarea').addClass('d-none');
$('.back_button').d-none();
});
})
</script>
@endsection

View File

@@ -0,0 +1,50 @@
@extends('layouts.app', ['nav' => false])
@section('title', 'Welcome - Installation')
@section('content')
<div class="container">
<div class="row">
<h3 class="text-center">{{ config('app.name', 'MPFG') }} Installation <small>Step 1 of 3</small></h3>
</div>
<div class="row">
<div class="card">
@include('ic.partials.nav', ['active' => 'install'])
<div class="card-body">
<h3 class="text-success">
Welcome to MPFG Installation!
</h3>
<p><strong class="text-danger">[IMPORTANT]</strong> Before you start installing make sure you have following information ready with you:</p>
<ol>
<li>
<b>Application Name</b> - Something short & Meaningful.
</li>
<li>
<b>Database informations:</b>
<ul>
<li>Username</li>
<li>Password</li>
<li>Database Name</li>
<li>Database Host</li>
</ul>
</li>
<li>
<b>Envato or Codecanyon Details:</b>
<ul>
<li><b>Envato purchase code.</b> (<a href="https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code-" target="_blank">Where Is My Purchase Code?</a>)</li>
<li>
<b>Envato Username.</b> (Your envato username)
</li>
</ul>
</li>
</ol>
@include('ic.partials.e_license')
<a href="{{route('install.details')}}" class="btn btn-danger float-right">I Agree, Let's Go!</a>
</div>
</div>
</div>
</div>
@endsection

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,13 @@
<div class="card-header">
<ul class="nav nav-tabs card-header-tabs">
<li class="nav-item">
<a class="nav-link @if($active == 'install') active @endif" href="#">Instructions</a>
</li>
<li class="nav-item">
<a class="nav-link @if($active == 'app_details') active @endif" href="#">Application Details</a>
</li>
<li class="nav-item">
<a class="nav-link @if($active == 'success') active @endif" href="#">Success</a>
</li>
</ul>
</div>

View File

@@ -0,0 +1,24 @@
@extends('layouts.app', ['nav' => false])
@section('title', 'Welcome - Installation')
@section('content')
<div class="container">
<div class="row">
<h3 class="text-center">{{ config('app.name', 'POS') }} Installation <small>Step 3 of 3</small></h3>
</div>
<div class="row">
<div class="card">
@include('ic.partials.nav', ['active' => 'success'])
<div class="card-body">
<!-- /.box-header -->
<h1 class="card-title">{{ config('app.name') }}</h1>
<h3 class="text-success card-title">Great!, Your application is succesfully installed.</h3>
<p><br><b>Username:</b> admin@admin.com<br/> <b>Password:</b> 12345678</p>
<p><br>Login link <a href="{{route('login')}}" target="_blank">here</a></p>
</div>
</div>
</div>
</div>
@endsection

View File

@@ -0,0 +1,92 @@
@extends('layouts.app', ['nav' => false])
@section('title', 'Welcome - Installation')
@section('content')
<div class="container">
<div class="row">
<div class="col-md-12">
@if(session('error'))
<div class="alert alert-danger">
{!! session('error') !!}
</div>
@endif
@if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
</div>
<div class="card">
<div class="card-body">
<form class="form" id="details_form" method="post"
action="{{route('install.update')}}">
{{ csrf_field() }}
<h4> License Details <small class="text-danger">Make sure to provide correct information from Envato/codecanyon</small></h4>
<hr/>
<div class="form-row">
<div class="form-group col-md-4">
<label for="envato_purchase_code">Envato Purchase Code:*</label>
<input type="text" name="ENVATO_PURCHASE_CODE" required class="form-control" id="envato_purchase_code">
</div>
<div class="form-group col-md-4">
<label for="envato_username">Envato Username:*</label>
<input type="text" name="ENVATO_USERNAME" required class="form-control" id="envato_username">
</div>
<div class="form-group col-md-4">
<label for="envato_email">Your Email:</label>
<input type="email" name="ENVATO_EMAIL" class="form-control" id="envato_email" placeholder="optional">
<p class="help-block">For Newsletter & support</p>
</div>
</div>
<br/>
<strong class=''>💫 Book Update Service <a target='_blank' href='https://ultimatefosters.com/product/installation-update-service/'>Update Service</a></strong><br/><small><i>👉 Get updated by expert engineer within 24 hours</i><small>
@include('ic.partials.e_license')
<div class="col-md-12">
<button type="submit" id="install_button" class="btn btn-primary float-right">I Agree, Update</button>
</div>
</form>
</div>
<!-- /.box-body -->
</div>
</div>
</div>
</div>
@endsection
@section('javascript')
<script type="text/javascript">
$(document).ready(function(){
$('select#MAIL_MAILER').change(function(){
var driver = $(this).val();
if(driver == 'smtp'){
$('div.smtp').removeClass('hide');
$('input.smtp_input').attr('disabled', false);
} else {
$('div.smtp').addClass('hide');
$('input.smtp_input').attr('disabled', true);
}
})
$('form#details_form').submit(function(){
$('button#install_button').attr('disabled', true).text('Installing...');
$('div.install_msg').removeClass('hide');
$('.back_button').hide();
});
})
</script>
@endsection