PHP Classes

File: resources/views/backend/pages/roles/partials/header-breadcrumbs.blade.php

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   LaraCMS   resources/views/backend/pages/roles/partials/header-breadcrumbs.blade.php   Download  
File: resources/views/backend/pages/roles/partials/header-breadcrumbs.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: LaraCMS
Content management system based on Laravel
Author: By
Last change:
Date: 2 years ago
Size: 2,244 bytes
 

Contents

Class file image Download
<div class="page-breadcrumb">
    <div class="row">
        <div class="col-5 align-self-center">
            <h4 class="page-title">
                @if (Route::is('admin.roles.index'))
                    Role List
                @elseif(Route::is('admin.roles.create'))
                    Create New Role
                @elseif(Route::is('admin.roles.edit'))
                    Edit Role <span class="badge badge-info">{{ $role->name }}</span>
                @elseif(Route::is('admin.roles.show'))
                    View Role <span class="badge badge-info">{{ $role->name }}</span>
                    <a class="btn btn-outline-success btn-sm" href="{{ route('admin.roles.edit', $role->id) }}"> <i class="fa fa-edit"></i></a>
                @endif
            </h4>
        </div>
        <div class="col-7 align-self-center">
            <div class="d-flex align-items-center justify-content-end">
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="{{ route('admin.index') }}">Home</a></li>
                        @if (Route::is('admin.roles.index'))
                            <li class="breadcrumb-item active" aria-current="page">Role List</li>
                        @elseif(Route::is('admin.roles.create'))
                        <li class="breadcrumb-item"><a href="{{ route('admin.roles.index') }}">Role List</a></li>
                        <li class="breadcrumb-item active" aria-current="page">Create New Role</li>
                        @elseif(Route::is('admin.roles.edit'))
                        <li class="breadcrumb-item"><a href="{{ route('admin.roles.index') }}">Role List</a></li>
                        <li class="breadcrumb-item active" aria-current="page">Edit Role</li>
                        @elseif(Route::is('admin.roles.show'))
                        <li class="breadcrumb-item"><a href="{{ route('admin.roles.index') }}">Role List</a></li>
                        <li class="breadcrumb-item active" aria-current="page">View Role</li>
                        @endif
                       
                    </ol>
                </nav>
            </div>
        </div>
    </div>
</div>