Created
February 7, 2022 10:52
-
-
Save puikinsh/3ba8ff4cb459d79cfd59777b3b999e13 to your computer and use it in GitHub Desktop.
AdminLTE Laravel integration - admin_template.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!-- | |
This is a starter template page. Use this page to start your new project from | |
scratch. This page gets rid of all links and provides the needed markup only. | |
--> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>{{ $page_title or "AdminLTE Dashboard" }}</title> | |
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'> | |
<!-- Bootstrap 3.3.2 --> | |
<link href="{{ asset("/bower_components/admin-lte/bootstrap/css/bootstrap.min.css") }}" rel="stylesheet" type="text/css" /> | |
<!-- Font Awesome Icons --> | |
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> | |
<!-- Ionicons --> | |
<link href="http://code.ionicframework.com/ionicons/2.0.0/css/ionicons.min.css" rel="stylesheet" type="text/css" /> | |
<!-- Theme style --> | |
<link href="{{ asset("/bower_components/admin-lte/dist/css/AdminLTE.min.css")}}" rel="stylesheet" type="text/css" /> | |
<!-- AdminLTE Skins. We have chosen the skin-blue for this starter | |
page. However, you can choose any other skin. Make sure you | |
apply the skin class to the body tag so the changes take effect. | |
--> | |
<link href="{{ asset("/bower_components/admin-lte/dist/css/skins/skin-blue.min.css")}}" rel="stylesheet" type="text/css" /> | |
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> | |
<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> | |
<!--[if lt IE 9]> | |
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> | |
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> | |
<![endif]--> | |
</head> | |
<body class="skin-blue"> | |
<div class="wrapper"> | |
<!-- Header --> | |
@include('header') | |
<!-- Sidebar --> | |
@include('sidebar') | |
<!-- Content Wrapper. Contains page content --> | |
<div class="content-wrapper"> | |
<!-- Content Header (Page header) --> | |
<section class="content-header"> | |
<h1> | |
{{ $page_title or "Page Title" }} | |
<small>{{ $page_description or null }}</small> | |
</h1> | |
<!-- You can dynamically generate breadcrumbs here --> | |
<ol class="breadcrumb"> | |
<li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li> | |
<li class="active">Here</li> | |
</ol> | |
</section> | |
<!-- Main content --> | |
<section class="content"> | |
<!-- Your Page Content Here --> | |
@yield('content') | |
</section><!-- /.content --> | |
</div><!-- /.content-wrapper --> | |
<!-- Footer --> | |
@include('footer') | |
</div><!-- ./wrapper --> | |
<!-- REQUIRED JS SCRIPTS --> | |
<!-- jQuery 2.1.3 --> | |
<script src="{{ asset ("/bower_components/admin-lte/plugins/jQuery/jQuery-2.1.3.min.js") }}"></script> | |
<!-- Bootstrap 3.3.2 JS --> | |
<script src="{{ asset ("/bower_components/admin-lte/bootstrap/js/bootstrap.min.js") }}" type="text/javascript"></script> | |
<!-- AdminLTE App --> | |
<script src="{{ asset ("/bower_components/admin-lte/dist/js/app.min.js") }}" type="text/javascript"></script> | |
<!-- Optionally, you can add Slimscroll and FastClick plugins. | |
Both of these plugins are recommended to enhance the | |
user experience --> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment