Ejemplo n.º 1
0
    NProgress.done();
  });
  $(document).on('page:change',  function() {
    NProgress.start();
    NProgress.done();
  });
  $(document).on('page:restore', function() {
    NProgress.start();
    NProgress.done();
  });
</script>


<?php 
// Récupération des notifications
$noti = \App\NotificationHistory::with('users')->where('status', '=', 1)->orderBy('id', 'desc')->limit(12)->get();
?>


<a href="{{ ucfirst(route('bo')) }}" class="logo">
  <!-- mini logo for sidebar mini 50x50 pixels -->
  <span class="logo-mini"><b>{{substr(\Config::get('constante.nom_code_miniature'), 0, 2)}}</b></span>
  <!-- logo for regular state and mobile devices -->
  <span class="logo-lg"><b>{{\Config::get('constante.nom_code')}}</b></span>
</a>

<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top" role="navigation">
  <!-- Sidebar toggle button-->
  <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
    <span class="sr-only">Toggle navigation</span>
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index(Request $request)
 {
     $notif = \App\NotificationHistory::with('users')->where('status', '=', 1)->orderBy('id', 'desc')->paginate(8);
     $notif->setPath('notifications');
     return view('admin.notification.index', compact('notif'));
 }