Admin Template For Manchester University
This package is designed to apply a quick and easy template into a laravel application, (*1)
The idea is for all electronics web applications to use this template/package.
This should make it easier to keep multiple applications up to date and enable quicker development., (*2)
Install and Use
Download the packages, (*3)
$ composer require "mu-electronics/admin-template:dev-master"
$ composer require "illuminate/html:~5.0"
Add the template package to Laravel's service providers (config/app.php), (*4)
For < 5.1, (*5)
MUElectronics\adminTemplate\app\Providers\AdminTemplate::class,
For > 5.1, (*6)
"MUElectronics\adminTemplate\app\Providers\AdminTemplate",
Add Laravel's HTML/FORM package into Laravel's service providers (config/app.php), (*7)
For < 5.1 into providers array, (*8)
Illuminate\Html\HtmlServiceProvider::class,
For > 5.1 into providers array, (*9)
"MUElectronics\adminTemplate\app\Providers\AdminTemplate",
Add packages into Laravel's aliases array, (*10)
For < 5.1 into providers array, (*11)
'Form' => Illuminate\Html\FormFacade::class,
'Html' => Illuminate\Html\HtmlFacade::class,
For > 5.1 into providers array, (*12)
'Form' => 'Illuminate\Html\FormFacade',
'Html' => 'Illuminate\Html\HtmlFacade',
Run the below command to publish package files, (*13)
php artisan vendor:publish --force
Usage
@todo check this, (*14)
Taking a new install of laravel open up routes file and past in the below. Navigate to your laravel url and enjoy the template., (*15)
Route::get('/', function () {
return view('vendor.manchesterTemplate.dashboard');
});
Contribution
This template is a modified version of gentelella template., (*16)
Modifications include:, (*17)
- Colours to match The University of Manchester colours.
- Addition of JS libraries etc
- Addition of CSS etc
- Images