Commits

Cédric Bonhomme  committed f516418

Resized search form.

  • Participants
  • Parent commits 8130b27

Comments (0)

Files changed (1)

File pyaggr3g470r/templates/layout.html

 
         <!-- 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>
                 <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>