Created
December 31, 2015 15:11
-
-
Save kgiszewski/47d3e6be0f269130fdc4 to your computer and use it in GitHub Desktop.
MVP Part 4 - Header
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
@{ | |
var keywordsQuery = HttpContext.Current.Request["q"]; | |
} | |
<section id="header" class="container-fluid"> | |
<div class="col-md-6 masthead"> | |
<h1><a href="/">Kevin Giszewski</a></h1> | |
<p>Web Developer, Blogger, Freelancer, Filmmaker, Father</p> | |
</div> | |
<div class="col-md-6 not-masthead"> | |
<form class="navbar-form pull-right" role="search" action="/search" method="GET"> | |
<div class="input-group"> | |
<input type="text" class="form-control" placeholder="Search" name="q" id="keywords" value="@keywordsQuery"> | |
<div class="input-group-btn"> | |
<button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button> | |
<input type="submit" style="display:none" /> | |
</div> | |
</div> | |
</form> | |
</div> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment