##// END OF EJS Templates
contextbar: fix navbar markup...
domruf -
r6757:689c346e default
parent child Browse files
Show More
@@ -200,7 +200,7 b' nav.navbar #quick > li:first-child > a {'
200
200
201 nav.navbar #quick > li > a,
201 nav.navbar #quick > li > a,
202 nav.navbar #quick .select2-container .select2-choice .select2-chosen,
202 nav.navbar #quick .select2-container .select2-choice .select2-chosen,
203 #context-pages > li > a,
203 #context-pages > ul > li > a,
204 #context-pages .select2-container .select2-choice .select2-chosen,
204 #context-pages .select2-container .select2-choice .select2-chosen,
205 x#context-pages .dropdown-menu a {
205 x#context-pages .dropdown-menu a {
206 padding: 0px 15px 1px 15px;
206 padding: 0px 15px 1px 15px;
@@ -94,6 +94,7 b''
94 <% rev = None if rev == 'tip' else rev %>
94 <% rev = None if rev == 'tip' else rev %>
95 <!--- CONTEXT BAR -->
95 <!--- CONTEXT BAR -->
96 <nav id="context-bar" class="navbar navbar-inverse">
96 <nav id="context-bar" class="navbar navbar-inverse">
97 <div class="container-fluid">
97 <div class="navbar-header">
98 <div class="navbar-header">
98 <div class="navbar-brand">
99 <div class="navbar-brand">
99 ${repotag(c.db_repo)}
100 ${repotag(c.db_repo)}
@@ -121,7 +122,8 b''
121 <span class="icon-bar"></span>
122 <span class="icon-bar"></span>
122 </button>
123 </button>
123 </div>
124 </div>
124 <ul id="context-pages" class="nav navbar-nav navbar-right navbar-collapse collapse">
125 <div id="context-pages" class="navbar-collapse collapse">
126 <ul class="nav navbar-nav navbar-right">
125 <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>
127 <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>
126 %if rev:
128 %if rev:
127 <li class="${'active' if current == 'changelog' else ''}" data-context="changelog"><a href="${h.url('changelog_file_home', repo_name=c.repo_name, revision=rev, f_path='')}"><i class="icon-clock"></i> ${_('Changelog')}</a></li>
129 <li class="${'active' if current == 'changelog' else ''}" data-context="changelog"><a href="${h.url('changelog_file_home', repo_name=c.repo_name, revision=rev, f_path='')}"><i class="icon-clock"></i> ${_('Changelog')}</a></li>
@@ -179,6 +181,8 b''
179 </a>
181 </a>
180 </li>
182 </li>
181 </ul>
183 </ul>
184 </div>
185 </div>
182 </nav>
186 </nav>
183 <script type="text/javascript">
187 <script type="text/javascript">
184 $(document).ready(function() {
188 $(document).ready(function() {
General Comments 0
You need to be logged in to leave comments. Login now