Show More
@@ -97,6 +97,7 b' ul.horizontal-list > li ul {' | |||||
97 | z-index: 999; |
|
97 | z-index: 999; | |
98 | } |
|
98 | } | |
99 |
|
99 | |||
|
100 | nav.navbar #quick_login a.list-group-item, | |||
100 | nav.navbar #quick li ul li, |
|
101 | nav.navbar #quick li ul li, | |
101 | ul.navbar-nav ul li, |
|
102 | ul.navbar-nav ul li, | |
102 | ul.horizontal-list ul li { |
|
103 | ul.horizontal-list ul li { |
@@ -1387,12 +1387,13 b' a.metatag[data-tag="license"]:hover {' | |||||
1387 | .user-menu .gravatar:hover { |
|
1387 | .user-menu .gravatar:hover { | |
1388 | background-color: #FDF784 !important; |
|
1388 | background-color: #FDF784 !important; | |
1389 | } |
|
1389 | } | |
|
1390 | ||||
1390 | #quick_login { |
|
1391 | #quick_login { | |
1391 | width: 300px; |
|
1392 | width: 300px; | |
1392 | min-height: 110px; |
|
1393 | min-height: 110px; | |
1393 | padding: 4px; |
|
|||
1394 | position: absolute; |
|
1394 | position: absolute; | |
1395 | right: 0; |
|
1395 | right: 0; | |
|
1396 | color: #fff; | |||
1396 | background-color: #577632; |
|
1397 | background-color: #577632; | |
1397 | background-repeat: repeat-x; |
|
1398 | background-repeat: repeat-x; | |
1398 | background-image: linear-gradient(to bottom, #577632, #577632); |
|
1399 | background-image: linear-gradient(to bottom, #577632, #577632); | |
@@ -1403,41 +1404,36 b' a.metatag[data-tag="license"]:hover {' | |||||
1403 |
|
1404 | |||
1404 | overflow: hidden; |
|
1405 | overflow: hidden; | |
1405 | } |
|
1406 | } | |
|
1407 | ||||
|
1408 | #quick_login .form { | |||
|
1409 | margin: 15px; | |||
|
1410 | } | |||
|
1411 | ||||
1406 | #quick_login h4 { |
|
1412 | #quick_login h4 { | |
1407 | color: #fff; |
|
1413 | color: #fff; | |
1408 | padding: 5px 0px 5px 14px; |
|
1414 | margin-bottom: 10px; | |
1409 | } |
|
1415 | } | |
1410 |
|
1416 | |||
1411 | #quick_login .password_forgoten { |
|
1417 | #quick_login input#username, | |
1412 | padding-right: 0px; |
|
1418 | #quick_login input#password { | |
1413 | padding-top: 0px; |
|
1419 | display: block; | |
1414 | text-align: left; |
|
1420 | margin: 5px 0 10px; | |
1415 | } |
|
1421 | } | |
1416 |
|
1422 | |||
1417 |
#quick_login .password_forgoten a |
|
1423 | #quick_login .password_forgotten a, | |
1418 | font-size: 10px; |
|
|||
1419 | color: #fff; |
|
|||
1420 | padding: 0px !important; |
|
|||
1421 | line-height: 20px !important; |
|
|||
1422 | } |
|
|||
1423 |
|
||||
1424 | #quick_login .register { |
|
|||
1425 | padding-right: 10px; |
|
|||
1426 | padding-top: 5px; |
|
|||
1427 | text-align: left; |
|
|||
1428 | } |
|
|||
1429 |
|
||||
1430 | #quick_login .register a { |
|
1424 | #quick_login .register a { | |
1431 | font-size: 10px; |
|
1425 | padding: 0 !important; | |
1432 | color: #fff; |
|
1426 | line-height: 25px !important; | |
1433 | padding: 0px !important; |
|
1427 | float: left; | |
1434 | line-height: 20px !important; |
|
1428 | clear: both; | |
1435 | } |
|
1429 | } | |
1436 |
|
1430 | |||
1437 | #quick_login .submit { |
|
1431 | #quick_login .submit { | |
1438 | margin: -20px 0 0 0px; |
|
1432 | float: right; | |
1439 | position: absolute; |
|
1433 | } | |
1440 | right: 15px; |
|
1434 | ||
|
1435 | #quick_login .submit input#sign_in { | |||
|
1436 | margin-top: 5px; | |||
1441 | } |
|
1437 | } | |
1442 |
|
1438 | |||
1443 | #quick_login > .pull-left { |
|
1439 | #quick_login > .pull-left { | |
@@ -1449,13 +1445,13 b' a.metatag[data-tag="license"]:hover {' | |||||
1449 | #quick_login .full_name { |
|
1445 | #quick_login .full_name { | |
1450 | color: #FFFFFF; |
|
1446 | color: #FFFFFF; | |
1451 | font-weight: bold; |
|
1447 | font-weight: bold; | |
1452 |
padding: 3px 3px 3px |
|
1448 | padding: 3px 3px 3px 15px; | |
1453 | } |
|
1449 | } | |
1454 | #quick_login .big_gravatar { |
|
1450 | #quick_login .big_gravatar { | |
1455 |
padding: |
|
1451 | padding: 15px 0px 0px 15px; | |
1456 | } |
|
1452 | } | |
1457 | #quick_login .notifications { |
|
1453 | #quick_login .notifications { | |
1458 |
padding: 2px 0px 0px |
|
1454 | padding: 2px 0px 0px 15px; | |
1459 | color: #FFFFFF; |
|
1455 | color: #FFFFFF; | |
1460 | font-weight: bold; |
|
1456 | font-weight: bold; | |
1461 | line-height: 10px !important; |
|
1457 | line-height: 10px !important; | |
@@ -1473,7 +1469,7 b' a.metatag[data-tag="license"]:hover {' | |||||
1473 | #quick_login .email, |
|
1469 | #quick_login .email, | |
1474 | #quick_login .unread { |
|
1470 | #quick_login .unread { | |
1475 | color: #FFFFFF; |
|
1471 | color: #FFFFFF; | |
1476 |
padding: 3px 3px 3px |
|
1472 | padding: 3px 3px 3px 15px; | |
1477 | } |
|
1473 | } | |
1478 | #quick_login .links .logout { |
|
1474 | #quick_login .links .logout { | |
1479 | } |
|
1475 | } |
@@ -371,40 +371,27 b'' | |||||
371 | <div class="dropdown-menu user-menu" role="menu"> |
|
371 | <div class="dropdown-menu user-menu" role="menu"> | |
372 | <div id="quick_login" role="form" aria-describedby="quick_login_h" aria-hidden="true" class="container-fluid"> |
|
372 | <div id="quick_login" role="form" aria-describedby="quick_login_h" aria-hidden="true" class="container-fluid"> | |
373 | %if request.authuser.username == 'default' or request.authuser.user_id is None: |
|
373 | %if request.authuser.username == 'default' or request.authuser.user_id is None: | |
374 | <h4 id="quick_login_h">${_('Login to Your Account')}</h4> |
|
374 | ${h.form(h.url('login_home', came_from=request.path_qs), class_='form clearfix')} | |
375 | ${h.form(h.url('login_home', came_from=request.path_qs))} |
|
375 | <h4 id="quick_login_h">${_('Login to Your Account')}</h4> | |
376 |
< |
|
376 | <label> | |
377 | <div> |
|
377 | ${_('Username')}: | |
378 | <div> |
|
378 | ${h.text('username',class_='form-control')} | |
379 |
|
|
379 | </label> | |
380 | <label for="username">${_('Username')}:</label> |
|
380 | <label> | |
381 |
|
|
381 | ${_('Password')}: | |
382 | <div> |
|
382 | ${h.password('password',class_='form-control')} | |
383 | ${h.text('username',class_='form-control')} |
|
383 | </label> | |
384 | </div> |
|
384 | <div class="password_forgotten"> | |
385 | </div> |
|
385 | ${h.link_to(_('Forgot password?'),h.url('reset_password'))} | |
386 | <div> |
|
|||
387 | <div> |
|
|||
388 | <label for="password">${_('Password')}:</label> |
|
|||
389 | </div> |
|
|||
390 | <div> |
|
|||
391 | ${h.password('password',class_='form-control')} |
|
|||
392 | </div> |
|
|||
393 |
|
||||
394 | </div> |
|
|||
395 | <div class="buttons"> |
|
|||
396 | <div class="password_forgoten">${h.link_to(_('Forgot password ?'),h.url('reset_password'))}</div> |
|
|||
397 | <div class="register"> |
|
|||
398 | %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')(): |
|
|||
399 | ${h.link_to(_("Don't have an account ?"),h.url('register'))} |
|
|||
400 | %endif |
|
|||
401 | </div> |
|
|||
402 | <div class="submit"> |
|
|||
403 | ${h.submit('sign_in',_('Log In'),class_="btn btn-default btn-xs")} |
|
|||
404 | </div> |
|
|||
405 | </div> |
|
|||
406 | </div> |
|
386 | </div> | |
407 |
< |
|
387 | <div class="register"> | |
|
388 | %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')(): | |||
|
389 | ${h.link_to(_("Don't have an account?"),h.url('register'))} | |||
|
390 | %endif | |||
|
391 | </div> | |||
|
392 | <div class="submit"> | |||
|
393 | ${h.submit('sign_in',_('Log In'),class_="btn btn-default btn-xs")} | |||
|
394 | </div> | |||
408 | ${h.end_form()} |
|
395 | ${h.end_form()} | |
409 | %else: |
|
396 | %else: | |
410 | <div class="pull-left"> |
|
397 | <div class="pull-left"> |
General Comments 0
You need to be logged in to leave comments.
Login now