Created
October 15, 2013 08:30
-
-
Save hassanjamal/6988384 to your computer and use it in GitHub Desktop.
blade-bootstrap-master
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> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<!-- Bootstrap core CSS --> | |
{{HTML::style('/css/bootstrap.css')}} | |
{{HTML::style('/css/datepicker.css')}} | |
{{HTML::style('/css/style.css')}} | |
</head> | |
<body> | |
<nav class="navbar navbar-default navbar-static-top navbar-inverse" role="navigation"> | |
<!-- Brand and toggle get grouped for better mobile display --> | |
<div class="navbar-header"> | |
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse"> | |
<span class="sr-only">Toggle navigation</span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
<span class="icon-bar"></span> | |
</button> | |
<a class="navbar-brand" href="/">Half-Rate</a> | |
</div> | |
<!-- Collect the nav links, forms, and other content for toggling --> | |
<div class="collapse navbar-collapse navbar-ex1-collapse"> | |
<ul class="nav navbar-nav"> | |
<li>{{HTML::link('/' ,'Home', array('class'=>'active'))}} </li> | |
<li>{{HTML::link('aboutus' ,'About Us')}} </li> | |
<li>{{HTML::link('contactus' ,'Contact Us')}} </li> | |
</ul> | |
<ul class="nav navbar-nav navbar-right"> | |
@if (Auth::user()) | |
<li>{{ucwords(Auth::user()->username)}}</li> | |
<li>{{HTML::link('Logout', 'Logout');}}</li> | |
@else | |
<li class="dropdown"> | |
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Login / Register <b class="caret"></b></a> | |
<ul class="dropdown-menu"> | |
<li>{{HTML::link('login' ,'Login')}} </li> | |
<li>{{HTML::link('register' ,'Register')}} </li> | |
</ul> | |
</li> | |
</ul> | |
@endif | |
</div><!-- /.navbar-collapse --> | |
</nav> | |
<!-- container start here | |
--> | |
<div class="container"> | |
@yield('container') | |
</div> | |
<!-- container ends here--> | |
<!-- footer start here --> | |
<div class="row"> | |
<div class="container"> | |
<hr> | |
<footer class="footer" > | |
<p>© {{ 'half-rate inc' }} {{ date('Y') }}</p> | |
</footer> | |
</div> | |
</div> | |
<!-- footer end here --> | |
<!-- Bootstrap core JavaScript | |
================================================== --> | |
<!-- Placed at the end of the document so the pages load faster --> | |
{{HTML::script('/js/jquery.js')}} | |
{{HTML::script('/js/bootstrap.min.js')}} | |
{{HTML::script('/js/bootstrap-datepicker.js')}} | |
<script> | |
@yield('script') | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment