2017 © Pedro Peláez
 

library ui

Laravel package of the Block 8 UI template.

image

block8/ui

Laravel package of the Block 8 UI template.

  • Thursday, July 19, 2018
  • by dancryer
  • Repository
  • 3 Watchers
  • 1 Stars
  • 355 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 10 Versions
  • 163 % Grown

The README.md

Laravel package providing a simple, clean, admin user interface., (*1)

Configuration:

1) UI Theme Primary Colour

To change the default colour of the UI Package simply add the $color-primary variable at your app's dashboard.scss file., (*2)

$color-primary: "your-color";

To load a brand logo on top of sidebar simply declare the logo before extending the layout, (*3)

Example: 
@php($logo = Storage::url($currentClient->logo))
@extends('ui::layouts.primary')
3) Notifications

To enable laravel notifications module you simply need to:, (*4)

a. Declare the notifications before extending the layout, (*5)

Example: 
@php($notifications = Auth::user()->unreadNotifications)
@extends('ui::layouts.primary')

b. Make a NotificationController on your app for handling the notifications index page and return your custom view., (*6)

c. Register the routes at your web.php file., (*7)

Example: 
Route::get('/notifications', 'NotificationController@index')->name('notification.index');
Route::get('/notification/{notification}', '\Block8\UI\Http\Controllers\NotificationController@show')->name('notification.show');
Route::get('/notification/read-all/{user}', '\Block8\UI\Http\Controllers\NotificationController@markAllRead')->name('notification.mark-all-read'); 

Components

1) Alerts

There are 3 types of alerts. Warning, danger and success. Declare the type variable and the icon of you choice, (*8)

@section('alerts')
    @component('ui::alert')
        @slot('type', 'warning')
        @slot('icon', 'exclamation-circle')

        This is a bold <strong>alert</strong>.
    @endcomponent
@endsection
2) Alert-banner

You can show alert banners at the top of the main panel by adding alert-banner components into the alert-banners section., (*9)

@section('alert-banners')
    @component('ui::alert-banner')
        @slot('type', 'warning')
        @slot('icon', 'exclamation-circle')

        Hi <strong>{{ $user->name }}</strong>, your subscription is about to end.
    @endcomponent
@endsection

The Versions

19/07 2018

dev-master

9999999-dev

Laravel package of the Block 8 UI template.

  Sources   Download

BSD-2-Clause

The Requires

 

19/07 2018

1.0.8

1.0.8.0

Laravel package of the Block 8 UI template.

  Sources   Download

BSD-2-Clause

The Requires

 

03/07 2018

1.0.7

1.0.7.0

Laravel package of the Block 8 UI template.

  Sources   Download

BSD-2-Clause

The Requires

 

29/06 2018

1.0.6

1.0.6.0

Laravel package of the Block 8 UI template.

  Sources   Download

BSD-2-Clause

The Requires

 

14/06 2018

1.0.5

1.0.5.0

Laravel package of the Block 8 UI template.

  Sources   Download

BSD-2-Clause

The Requires

 

14/06 2018

1.0.4

1.0.4.0

Laravel package of the Block 8 UI template.

  Sources   Download

BSD-2-Clause

The Requires

 

14/06 2018

1.0.3

1.0.3.0

Laravel package of the Block 8 UI template.

  Sources   Download

BSD-2-Clause

The Requires

 

14/06 2018

1.0.2

1.0.2.0

Laravel package of the Block 8 UI template.

  Sources   Download

BSD-2-Clause

The Requires

 

14/06 2018

1.0.1

1.0.1.0

Laravel package of the Block 8 UI template.

  Sources   Download

BSD-2-Clause

The Requires

 

08/06 2018

1.0.0

1.0.0.0

Laravel package of the Block 8 UI template.

  Sources   Download

BSD-2-Clause

The Requires