Ale Gallo
b91cf0cbde
committing part of the laravel system with templating files and api implementation.
671 lines
11 KiB
PHP
671 lines
11 KiB
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use Illuminate\View\View;
|
|
|
|
class PageController extends Controller
|
|
{
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function dashboardOverview1(): View
|
|
{
|
|
return view('pages/dashboard-overview-1', [
|
|
// Specify the base layout.
|
|
// Eg: 'side-menu', 'simple-menu', 'top-menu', 'login'
|
|
// The default value is 'side-menu'
|
|
|
|
// 'layout' => 'side-menu'
|
|
]);
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function dashboardOverview2(): View
|
|
{
|
|
return view('pages/dashboard-overview-2');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function dashboardOverview3(): View
|
|
{
|
|
return view('pages/dashboard-overview-3');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function dashboardOverview4(): View
|
|
{
|
|
return view('pages/dashboard-overview-4');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function inbox(): View
|
|
{
|
|
return view('pages/inbox');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function categories(): View
|
|
{
|
|
return view('pages/categories');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function addProduct(): View
|
|
{
|
|
return view('pages/add-product');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function productList(): View
|
|
{
|
|
return view('pages/product-list');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function productGrid(): View
|
|
{
|
|
return view('pages/product-grid');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function transactionList(): View
|
|
{
|
|
return view('pages/transaction-list');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function transactionDetail(): View
|
|
{
|
|
return view('pages/transaction-detail');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function sellerList(): View
|
|
{
|
|
return view('pages/seller-list');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function sellerDetail(): View
|
|
{
|
|
return view('pages/seller-detail');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function reviews(): View
|
|
{
|
|
return view('pages/reviews');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function fileManager(): View
|
|
{
|
|
return view('pages/file-manager');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function pointOfSale(): View
|
|
{
|
|
return view('pages/point-of-sale');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function chat(): View
|
|
{
|
|
return view('pages/chat');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function post(): View
|
|
{
|
|
return view('pages/post');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function calendar(): View
|
|
{
|
|
return view('pages/calendar');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function crudDataList(): View
|
|
{
|
|
return view('pages/crud-data-list');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function crudForm(): View
|
|
{
|
|
return view('pages/crud-form');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function usersLayout1(): View
|
|
{
|
|
return view('pages/users-layout-1');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function usersLayout2(): View
|
|
{
|
|
return view('pages/users-layout-2');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function usersLayout3(): View
|
|
{
|
|
return view('pages/users-layout-3');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function profileOverview1(): View
|
|
{
|
|
return view('pages/profile-overview-1');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function profileOverview2(): View
|
|
{
|
|
return view('pages/profile-overview-2');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function profileOverview3(): View
|
|
{
|
|
return view('pages/profile-overview-3');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function wizardLayout1(): View
|
|
{
|
|
return view('pages/wizard-layout-1');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function wizardLayout2(): View
|
|
{
|
|
return view('pages/wizard-layout-2');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function wizardLayout3(): View
|
|
{
|
|
return view('pages/wizard-layout-3');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function blogLayout1(): View
|
|
{
|
|
return view('pages/blog-layout-1');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function blogLayout2(): View
|
|
{
|
|
return view('pages/blog-layout-2');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function blogLayout3(): View
|
|
{
|
|
return view('pages/blog-layout-3');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function pricingLayout1(): View
|
|
{
|
|
return view('pages/pricing-layout-1');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function pricingLayout2(): View
|
|
{
|
|
return view('pages/pricing-layout-2');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function invoiceLayout1(): View
|
|
{
|
|
return view('pages/invoice-layout-1');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function invoiceLayout2(): View
|
|
{
|
|
return view('pages/invoice-layout-2');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function faqLayout1(): View
|
|
{
|
|
return view('pages/faq-layout-1');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function faqLayout2(): View
|
|
{
|
|
return view('pages/faq-layout-2');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function faqLayout3(): View
|
|
{
|
|
return view('pages/faq-layout-3');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function login(): View
|
|
{
|
|
return view('pages/login');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function register(): View
|
|
{
|
|
return view('pages/register');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function errorPage(): View
|
|
{
|
|
return view('pages/error-page');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function updateProfile(): View
|
|
{
|
|
return view('pages/update-profile');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function changePassword(): View
|
|
{
|
|
return view('pages/change-password');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function regularTable(): View
|
|
{
|
|
return view('pages/regular-table');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function tabulator(): View
|
|
{
|
|
return view('pages/tabulator');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function modal(): View
|
|
{
|
|
return view('pages/modal');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function slideOver(): View
|
|
{
|
|
return view('pages/slide-over');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function notification(): View
|
|
{
|
|
return view('pages/notification');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function tab(): View
|
|
{
|
|
return view('pages/tab');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function accordion(): View
|
|
{
|
|
return view('pages/accordion');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function button(): View
|
|
{
|
|
return view('pages/button');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function alert(): View
|
|
{
|
|
return view('pages/alert');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function progressBar(): View
|
|
{
|
|
return view('pages/progress-bar');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function tooltip(): View
|
|
{
|
|
return view('pages/tooltip');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function dropdown(): View
|
|
{
|
|
return view('pages/dropdown');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function typography(): View
|
|
{
|
|
return view('pages/typography');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function icon(): View
|
|
{
|
|
return view('pages/icon');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function loadingIcon(): View
|
|
{
|
|
return view('pages/loading-icon');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function regularForm(): View
|
|
{
|
|
return view('pages/regular-form');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function datepicker(): View
|
|
{
|
|
return view('pages/datepicker');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function tomSelect(): View
|
|
{
|
|
return view('pages/tom-select');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function fileUpload(): View
|
|
{
|
|
return view('pages/file-upload');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function wysiwygEditorClassic(): View
|
|
{
|
|
return view('pages/wysiwyg-editor-classic');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function wysiwygEditorInline(): View
|
|
{
|
|
return view('pages/wysiwyg-editor-inline');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function wysiwygEditorBalloon(): View
|
|
{
|
|
return view('pages/wysiwyg-editor-balloon');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function wysiwygEditorBalloonBlock(): View
|
|
{
|
|
return view('pages/wysiwyg-editor-balloon-block');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function wysiwygEditorDocument(): View
|
|
{
|
|
return view('pages/wysiwyg-editor-document');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function validation(): View
|
|
{
|
|
return view('pages/validation');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function chart(): View
|
|
{
|
|
return view('pages/chart');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function slider(): View
|
|
{
|
|
return view('pages/slider');
|
|
}
|
|
|
|
/**
|
|
* Show specified view.
|
|
*
|
|
*/
|
|
public function imageZoom(): View
|
|
{
|
|
return view('pages/image-zoom');
|
|
}
|
|
}
|