<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>@yield('title')</title>
    <meta name="author" content="SuggeElson" />
    <meta name="description" content="Supr admin template - new premium responsive admin template. This template is designed to help you build the site administration without losing valuable time.Template contains all the important functions which must have one backend system.Build on great twitter boostrap framework" />
    <meta name="keywords" content="admin, admin template, admin theme, responsive, responsive admin, responsive admin template, responsive theme, themeforest, 960 grid system, grid, grid theme, liquid, masonry, jquery, administration, administration template, administration theme, mobile, touch , responsive layout, boostrap, twitter boostrap" />
    <meta name="application-name" content="Supr admin template" />

    <!--   Mobile Specific Metas -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <!-- Force IE9 to render in normla mode -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />

 <!-- Windows8 touch icon ( http://www.buildmypinnedsite.com/ )-->
    <meta name="application-name" content="Supr"/> 
    <meta name="msapplication-TileColor" content="#3399cc"/> 
    <?php echo
header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header('Content-Type: text/html');?>
<!--[if lt IE 9]>
	<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
 <!-- Load modernizr first -->
  
    <!-- Core stylesheets do not remove -->
   <link href="{{ asset('admin/css/bootstrap/bootstrap.css')}}" rel="stylesheet"/>

    <link href="{{ asset('admin/css/supr-theme/jquery.ui.supr.css')}}" rel="stylesheet" type="text/css"/>
    <link href="{{ asset('admin/css/icons.css')}}" rel="stylesheet" type="text/css" />
    
     <link href="{{ asset('admin/plugins/forms/uniform/uniform.default.css')}}" type="text/css" rel="stylesheet" />

    <!-- Main stylesheets -->
   <link href="{{ asset('admin/css/main.css')}}" rel="stylesheet" type="text/css" /> 

    <!-- Custom stylesheets ( Put your own changes here ) -->
    <link href="{{ asset('admin/css/custom.css')}}" rel="stylesheet" type="text/css" /> 

  
@yield('css') 


    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="{{ asset('admin/images/favicon.ico')}}" />
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ asset('admin/images/apple-touch-icon-144-precomposed.png')}}" />
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ asset('admin/images/apple-touch-icon-114-precomposed.png')}}" />
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ asset('admin/images/apple-touch-icon-72-precomposed.png')}}" />
    <link rel="apple-touch-icon-precomposed" href="{{ asset('admin/images/apple-touch-icon-57-precomposed.png')}}" />
    
@yield('images')
    
   
    </head>
     <body>
    <!-- loading animation -->
    <div id="qLoverlay"></div>
    <div id="qLbar"></div>
     
    @yield('content')
    <!-- Le javascript
    ================================================== -->
    <script type="text/javascript" src="{{url('admin/js/libs/modernizr.js')}}"></script>

    
    <!-- Important plugins put in all pages -->
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script>
    <script type="text/javascript" src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
    <script type="text/javascript" src="{{ asset('admin/js/bootstrap/bootstrap.js')}}"></script>  
    <script type="text/javascript" src="{{ asset('admin/js/jquery.mousewheel.js')}}"></script>
    <script type="text/javascript" src="{{ asset('admin/js/libs/jRespond.min.js')}}"></script>
   <script type="text/javascript" src="{{ asset('admin/plugins/forms/validate/jquery.validate.min.js')}}"></script>
    <!-- Misc plugins -->
    <script type="text/javascript" src="{{ asset('admin/plugins/misc/qtip/jquery.qtip.min.js')}}"></script><!-- Custom tooltip plugin -->
    <script type="text/javascript" src="{{ asset('admin/plugins/misc/totop/jquery.ui.totop.min.js')}}"></script> <!-- Back to top plugin -->

    <!-- Form plugins -->
    <script type="text/javascript" src="{{ asset('admin/plugins/forms/uniform/jquery.uniform.min.js')}}"></script>
    
    <!-- Init plugins -->
    <script type="text/javascript" src="{{ asset('admin/js/main.js')}}"></script><!-- Core js functions -->
    <script type="text/javascript" src="{{ asset('admin/js/dashboard.js')}}"></script><!-- Init plugins only for page -->

    <script type="text/javascript">
        // document ready function
        $(document).ready(function() {
            //------------- Options for Supr - admin tempalte -------------//
            var supr_Options = {
                rtl:false//activate rtl version with true
            }
            //rtl version
            if(supr_Options.rtl) {
                localStorage.setItem('rtl', 1);
                $('#bootstrap').attr('href', 'admin/css/bootstrap/bootstrap.rtl.min.css');
                $('#bootstrap-responsive').attr('href', 'admin/css/bootstrap/bootstrap-responsive.rtl.min.css');
                $('body').addClass('rtl');
                $('#sidebar').attr('id', 'sidebar-right');
                $('#sidebarbg').attr('id', 'sidebarbg-right');
                $('.collapseBtn').addClass('rightbar').removeClass('leftbar');
                $('#content').attr('id', 'content-one')
            } else {localStorage.setItem('rtl', 0);}
            
            $("input, textarea, select").not('.nostyle').uniform();
            $("#loginForm").validate({
                rules: {
                    username: {
                        required: true,
                        minlength: 4
                    },
                    password: {
                        required: true,
                        minlength: 6
                    }  
                },
                messages: {
                    username: {
                        required: "Fill me please",
                        minlength: "My name is bigger"
                    },
                    password: {
                        required: "Please provide a password",
                        minlength: "My password is more that 6 chars"
                    }
                }   
            });
        });
    </script> 
@yield('js')
    
    </body>
</html>
