mu-electronics/admin-template

The provides a theme into a laravel application that suits manchester university

Installs: 34

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Language:JavaScript

dev-master 2015-11-02 20:36 UTC

This package is not auto-updated.

Last update: 2024-11-09 18:38:15 UTC


README

This package is designed to apply a quick and easy template into a laravel application

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.

Install and Use

Download the packages

 $ 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)

For < 5.1

MUElectronics\adminTemplate\app\Providers\AdminTemplate::class,

For > 5.1

"MUElectronics\adminTemplate\app\Providers\AdminTemplate",

Add Laravel's HTML/FORM package into Laravel's service providers (config/app.php)

For < 5.1 into providers array

Illuminate\Html\HtmlServiceProvider::class,

For > 5.1 into providers array

"MUElectronics\adminTemplate\app\Providers\AdminTemplate",

Add packages into Laravel's aliases array

For < 5.1 into providers array

'Form'      => Illuminate\Html\FormFacade::class,
'Html'      => Illuminate\Html\HtmlFacade::class,

For > 5.1 into providers array

'Form'      => 'Illuminate\Html\FormFacade',
'Html'      => 'Illuminate\Html\HtmlFacade',

Run the below command to publish package files

php artisan vendor:publish --force

Usage

@todo check this

Taking a new install of laravel open up routes file and past in the below. Navigate to your laravel url and enjoy the template.

    Route::get('/', function () {
        return view('vendor.manchesterTemplate.dashboard');
    });

Contribution

This template is a modified version of gentelella template.

Modifications include:

  • Colours to match The University of Manchester colours.
  • Addition of JS libraries etc
  • Addition of CSS etc
  • Images