Show More
@@ -35,6 +35,22 | |||
|
35 | 35 | </div> |
|
36 | 36 | </div> |
|
37 | 37 | ${h.end_form()} |
|
38 | <script type="text/javascript"> | |
|
39 | YUE.on('quick_login_link','click',function(e){ | |
|
40 | ||
|
41 | if(YUD.hasClass('quick_login_link','enabled')){ | |
|
42 | YUD.setStyle('quick_login','display','none'); | |
|
43 | YUD.removeClass('quick_login_link','enabled'); | |
|
44 | } | |
|
45 | else{ | |
|
46 | YUD.setStyle('quick_login','display',''); | |
|
47 | YUD.addClass('quick_login_link','enabled'); | |
|
48 | } | |
|
49 | //make sure we don't redirect | |
|
50 | YUE.preventDefault(e); | |
|
51 | }); | |
|
52 | ||
|
53 | </script> | |
|
38 | 54 | </div> |
|
39 | 55 | |
|
40 | 56 | <div class="gravatar"> |
@@ -58,7 +74,7 | |||
|
58 | 74 | </li> |
|
59 | 75 | %endif |
|
60 | 76 | %if c.rhodecode_user.username == 'default': |
|
61 | <li class="last highlight">${h.link_to(u'Login',h.url('login_home'))}</li> | |
|
77 | <li class="last highlight">${h.link_to(u'Login',h.url('login_home'),id='quick_login_link')}</li> | |
|
62 | 78 | %else: |
|
63 | 79 | <li class="last highlight">${h.link_to(u'Log Out',h.url('logout_home'))}</li> |
|
64 | 80 | %endif |
@@ -215,7 +231,7 | |||
|
215 | 231 | <li ${is_current('summary')}> |
|
216 | 232 | <a title="${_('Summary')}" href="${h.url('summary_home',repo_name=c.repo_name)}"> |
|
217 | 233 | <span class="icon"> |
|
218 |
<img src="${h.url( |
|
|
234 | <img src="${h.url('/images/icons/clipboard_16.png')}" alt="${_('Summary')}" /> | |
|
219 | 235 | </span> |
|
220 | 236 | <span>${_('Summary')}</span> |
|
221 | 237 | </a> |
@@ -231,7 +247,7 | |||
|
231 | 247 | <li ${is_current('changelog')}> |
|
232 | 248 | <a title="${_('Changelog')}" href="${h.url('changelog_home',repo_name=c.repo_name)}"> |
|
233 | 249 | <span class="icon"> |
|
234 |
<img src="${h.url( |
|
|
250 | <img src="${h.url('/images/icons/time.png')}" alt="${_('Changelog')}" /> | |
|
235 | 251 | </span> |
|
236 | 252 | <span>${_('Changelog')}</span> |
|
237 | 253 | </a> |
@@ -240,7 +256,7 | |||
|
240 | 256 | <li ${is_current('switch_to')}> |
|
241 | 257 | <a title="${_('Switch to')}" href="#"> |
|
242 | 258 | <span class="icon"> |
|
243 |
<img src="${h.url( |
|
|
259 | <img src="${h.url('/images/icons/arrow_switch.png')}" alt="${_('Switch to')}" /> | |
|
244 | 260 | </span> |
|
245 | 261 | <span>${_('Switch to')}</span> |
|
246 | 262 | </a> |
@@ -274,7 +290,7 | |||
|
274 | 290 | <li ${is_current('files')}> |
|
275 | 291 | <a title="${_('Files')}" href="${h.url('files_home',repo_name=c.repo_name)}"> |
|
276 | 292 | <span class="icon"> |
|
277 |
<img src="${h.url( |
|
|
293 | <img src="${h.url('/images/icons/file.png')}" alt="${_('Files')}" /> | |
|
278 | 294 | </span> |
|
279 | 295 | <span>${_('Files')}</span> |
|
280 | 296 | </a> |
@@ -283,7 +299,7 | |||
|
283 | 299 | <li ${is_current('options')}> |
|
284 | 300 | <a title="${_('Options')}" href="#"> |
|
285 | 301 | <span class="icon"> |
|
286 |
<img src="${h.url( |
|
|
302 | <img src="${h.url('/images/icons/table_gear.png')}" alt="${_('Admin')}" /> | |
|
287 | 303 | </span> |
|
288 | 304 | <span>${_('Options')}</span> |
|
289 | 305 | </a> |
@@ -322,7 +338,7 | |||
|
322 | 338 | <li> |
|
323 | 339 | <a title="${_('Followers')}" href="${h.url('repo_followers_home',repo_name=c.repo_name)}"> |
|
324 | 340 | <span class="icon_short"> |
|
325 |
<img src="${h.url( |
|
|
341 | <img src="${h.url('/images/icons/heart.png')}" alt="${_('Followers')}" /> | |
|
326 | 342 | </span> |
|
327 | 343 | <span id="current_followers_count" class="short">${c.repository_followers}</span> |
|
328 | 344 | </a> |
@@ -330,7 +346,7 | |||
|
330 | 346 | <li> |
|
331 | 347 | <a title="${_('Forks')}" href="${h.url('repo_forks_home',repo_name=c.repo_name)}"> |
|
332 | 348 | <span class="icon_short"> |
|
333 |
<img src="${h.url( |
|
|
349 | <img src="${h.url('/images/icons/arrow_divide.png')}" alt="${_('Forks')}" /> | |
|
334 | 350 | </span> |
|
335 | 351 | <span class="short">${c.repository_forks}</span> |
|
336 | 352 | </a> |
@@ -343,7 +359,7 | |||
|
343 | 359 | <li> |
|
344 | 360 | <a title="${_('Home')}" href="${h.url('home')}"> |
|
345 | 361 | <span class="icon"> |
|
346 |
<img src="${h.url( |
|
|
362 | <img src="${h.url('/images/icons/home_16.png')}" alt="${_('Home')}" /> | |
|
347 | 363 | </span> |
|
348 | 364 | <span>${_('Home')}</span> |
|
349 | 365 | </a> |
@@ -352,7 +368,7 | |||
|
352 | 368 | <li> |
|
353 | 369 | <a title="${_('Journal')}" href="${h.url('journal')}"> |
|
354 | 370 | <span class="icon"> |
|
355 |
<img src="${h.url( |
|
|
371 | <img src="${h.url('/images/icons/book.png')}" alt="${_('Journal')}" /> | |
|
356 | 372 | </span> |
|
357 | 373 | <span>${_('Journal')}</span> |
|
358 | 374 | </a> |
@@ -361,7 +377,7 | |||
|
361 | 377 | <li> |
|
362 | 378 | <a title="${_('Search')}" href="${h.url('search')}"> |
|
363 | 379 | <span class="icon"> |
|
364 |
<img src="${h.url( |
|
|
380 | <img src="${h.url('/images/icons/search_16.png')}" alt="${_('Search')}" /> | |
|
365 | 381 | </span> |
|
366 | 382 | <span>${_('Search')}</span> |
|
367 | 383 | </a> |
@@ -371,7 +387,7 | |||
|
371 | 387 | <li ${is_current('admin')}> |
|
372 | 388 | <a title="${_('Admin')}" href="${h.url('admin_home')}"> |
|
373 | 389 | <span class="icon"> |
|
374 |
<img src="${h.url( |
|
|
390 | <img src="${h.url('/images/icons/cog_edit.png')}" alt="${_('Admin')}" /> | |
|
375 | 391 | </span> |
|
376 | 392 | <span>${_('Admin')}</span> |
|
377 | 393 | </a> |
General Comments 0
You need to be logged in to leave comments.
Login now