diff options
author | dequis <dx@dxzone.com.ar> | 2015-12-14 00:09:20 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-12-14 00:17:22 -0300 |
commit | 5d4612d5a915968fe3fad1718179447144163d40 (patch) | |
tree | 76bf3841217beab8bc81aee9873ebdc20da27c18 | |
parent | e1b88132f4343f71ff3bf025880bc24aae14bc5b (diff) | |
download | irssi.github.io-5d4612d5a915968fe3fad1718179447144163d40.zip |
Search input box in the navbar
-rw-r--r-- | _includes/header.html | 6 | ||||
-rw-r--r-- | assets/css/style.css | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/_includes/header.html b/_includes/header.html index cf46aab..5020131 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -38,6 +38,12 @@ <li><a href="http://scripts.irssi.org/">Scripts</a></li> <li><a href="https://github.com/irssi/irssi/issues">Bugs</a></li> </ul> + <form class="navbar-form navbar-right gsearch-form" role="search" action="{{ site.baseurl }}/gsearch/"> + <div class="form-group"> + <input type="text" class="form-control" placeholder="Search" name="q" required> + </div> + <button type="submit" class="btn btn-default"><i class="glyphicon glyphicon-search"></i></button> + </form> </div> </div> </nav> diff --git a/assets/css/style.css b/assets/css/style.css index da0b73e..4eafe9f 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -159,3 +159,7 @@ select .header { blockquote { font-size: inherit; } + +.gsearch-form input.form-control { + width: 120px; +} |