aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-11-12 22:21:24 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-11-12 22:21:24 +0100
commitefaba084acec711833bbcdbed3ec6b55b51d9433 (patch)
tree70ab9c5b7feb80e05369f22be37c2cf44f960f6b
parentAdded search form in the nav bar. (diff)
downloadnewspipe-efaba084acec711833bbcdbed3ec6b55b51d9433.tar.gz
newspipe-efaba084acec711833bbcdbed3ec6b55b51d9433.tar.bz2
newspipe-efaba084acec711833bbcdbed3ec6b55b51d9433.zip
Resized search form.
-rw-r--r--pyaggr3g470r/templates/layout.html20
1 files changed, 11 insertions, 9 deletions
diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html
index b5804553..620f1ca5 100644
--- a/pyaggr3g470r/templates/layout.html
+++ b/pyaggr3g470r/templates/layout.html
@@ -36,7 +36,7 @@
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
- <ul class="nav navbar-nav navbar-left">
+ <ul class="nav navbar-nav navbar-right">
{% if g.user.is_authenticated() %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Articles <b class="caret"></b></a>
@@ -56,16 +56,18 @@
<li><a href="/management/">Management</a></li>
<li><a href="/about/">About</a></li>
<li><a href="{{ url_for('logout') }}">Logout</a></li>
+ <li>
+ <form class="navbar-form" method=get action="/" role="search">
+ <div class="input-group">
+ <input type="text" class="form-control" size="8" placeholder="Search">
+ <span class="input-group-btn">
+ <button class="btn btn-default" type="submit"><span class="glyphicon glyphicon-search"></span></button>
+ </span>
+ </div>
+ </form>
+ </li>
{% endif %}
</ul>
- <form class="navbar-form navbar-right" role="search">
- <div class="input-group">
- <input type="text" class="form-control" placeholder="Search">
- <span class="input-group-btn">
- <button class="btn btn-default" type="submit"><span class="glyphicon glyphicon-search"></span></button>
- </span>
- </div>
- </form>
</div><!-- /.navbar-collapse -->
</div><!-- /.container -->
</nav>
bgstack15