Changeset - c592865cea8d
[Not reviewed]
default
0 1 0
Mads Kiilerich - 9 years ago 2017-02-02 03:16:14
mads@kiilerich.com
style: introduce Bootstrap navbar-toggle markup for the repository navbar

Based on work by Dominik Ruf.
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/base/base.html
Show inline comments
 
@@ -114,6 +114,12 @@
 
         - ${_('Create Fork')}
 
        %endif
 
      </div>
 
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#context-pages" aria-expanded="false">
 
        <span class="sr-only">Toggle navigation</span>
 
        <span class="icon-bar"></span>
 
        <span class="icon-bar"></span>
 
        <span class="icon-bar"></span>
 
      </button>
 
    </div>
 
    <ul id="context-pages" class="nav navbar-nav navbar-right navbar-collapse collapse">
 
        <li class="${'active' if current == 'summary' else ''}" data-context="summary"><a href="${h.url('summary_home', repo_name=c.repo_name)}"><i class="icon-doc-text"></i> ${_('Summary')}</a></li>
0 comments (0 inline, 0 general)