Don't float the search bar to the right in collapsed mode

[?]
May 9, 2013, 12:36 PM
DV43UILUJNNU4DJMQ5NIZ2TY5Y4NOPQZXXQQJNKINUKA2VBAJ2QAC

Dependencies

  • [2] NRSKJPP4 makeLink -> menuItem
  • [3] XJRJ4J7M Add user registration
  • [4] OEPUOUNB Using twitter bootstrap for more consistent looks for Hydra
  • [5] LSZLZHJY Allow users to edit their own settings
  • [6] 7ZQAHJQM Fix indentation
  • [7] UICHT2PS Add a search feature
  • [8] OOZK3MF5 Show current query in the search box
  • [*] QL55ECJ6 - adapted ui for hydra, more in line with nixos.org website

Change contents

  • replacement in src/root/topbar.tt at line 193
    [3.15872][3.2754:2779]()
    <div class="pull-right">
    [3.15872]
    [3.15884]
    <ul class="nav pull-right" id="top-menu">
  • edit in src/root/topbar.tt at line 198
    [3.2950][3.2950:3012](),[3.3012][2.633:867](),[2.867][3.3119:3134](),[3.3119][3.3119:3134](),[3.3134][2.868:973](),[2.973][3.3239:3253](),[3.3239][3.3239:3253]()
    <ul class="nav" id="top-menu">
    [% IF c.user_exists %]
    [% INCLUDE menuItem uri = c.uri_for(c.controller('User').action_for('edit'), [c.user.username]) title = "Preferences" %]
    [% INCLUDE menuItem uri = c.uri_for(c.controller('Root').action_for('logout')) title = "Sign out" %]
    [% ELSE %]
    [% INCLUDE menuItem uri = c.uri_for(c.controller('Root').action_for('login')) title = "Sign in" %]
    [% END %]
  • replacement in src/root/topbar.tt at line 199
    [3.3254][3.3254:3262]()
    </ul>
    [3.3254]
    [3.3262]
    [% IF c.user_exists %]
    [% INCLUDE menuItem uri = c.uri_for(c.controller('User').action_for('edit'), [c.user.username]) title = "Preferences" %]
    [% INCLUDE menuItem uri = c.uri_for(c.controller('Root').action_for('logout')) title = "Sign out" %]
    [% ELSE %]
    [% INCLUDE menuItem uri = c.uri_for(c.controller('Root').action_for('login')) title = "Sign in" %]
    [% END %]
  • replacement in src/root/topbar.tt at line 206
    [3.3263][3.3263:3270]()
    </div>
    [3.3263]
    </ul>