##// END OF EJS Templates
fixed some issues with paginators on chrome, and made them look nicer
marcink -
r3775:371898dc beta
parent child Browse files
Show More
@@ -1565,7 +1565,8 b' div.form div.fields div.field div.button'
1565 1565 padding: 6px;
1566 1566 }
1567 1567
1568 #content div.box div.pagination ul.pager li a:hover, #content div.box div.pagination ul.pager li a:active {
1568 #content div.box div.pagination ul.pager li a:hover,
1569 #content div.box div.pagination ul.pager li a:active {
1569 1570 background: #b4b4b4 url("../images/pager_selected.png") repeat-x;
1570 1571 border-top: 1px solid #ccc;
1571 1572 border-left: 1px solid #bebebe;
@@ -1574,17 +1575,25 b' div.form div.fields div.field div.button'
1574 1575 margin: -1px;
1575 1576 }
1576 1577
1578 #content div.box div.pagination-right {
1579 float: right;
1580 }
1581
1577 1582 #content div.box div.pagination-wh {
1578 1583 height: 1%;
1579 clear: both;
1580 1584 overflow: hidden;
1581 1585 text-align: right;
1582 1586 margin: 10px 0 0;
1583 1587 padding: 0;
1584 1588 }
1585 1589
1586 #content div.box div.pagination-right {
1587 float: right;
1590 #content div.box div.pagination-wh > :first-child {
1591 border-radius: 4px 0px 0px 4px;
1592 }
1593
1594 #content div.box div.pagination-wh > :last-child{
1595 border-radius: 0px 4px 4px 0px;
1596 border-right: 1px solid #cfcfcf;
1588 1597 }
1589 1598
1590 1599 #content div.box div.pagination-wh a,
@@ -1598,11 +1607,9 b' div.form div.fields div.field div.button'
1598 1607 background: #ebebeb url("../images/pager.png") repeat-x;
1599 1608 border-top: 1px solid #dedede;
1600 1609 border-left: 1px solid #cfcfcf;
1601 border-right: 1px solid #c4c4c4;
1602 1610 border-bottom: 1px solid #c4c4c4;
1603 1611 color: #4A4A4A;
1604 1612 font-weight: 700;
1605 margin: 0 0 0 4px;
1606 1613 padding: 6px;
1607 1614 }
1608 1615
@@ -1612,11 +1619,9 b' div.form div.fields div.field div.button'
1612 1619 background: #b4b4b4 url("../images/pager_selected.png") repeat-x;
1613 1620 border-top: 1px solid #ccc;
1614 1621 border-left: 1px solid #bebebe;
1615 border-right: 1px solid #b1b1b1;
1616 1622 border-bottom: 1px solid #afafaf;
1617 1623 color: #515151;
1618 1624 font-weight: 700;
1619 margin: 0 0 0 4px;
1620 1625 padding: 6px;
1621 1626 }
1622 1627
@@ -1624,7 +1629,6 b' div.form div.fields div.field div.button'
1624 1629 background: #b4b4b4 url("../images/pager_selected.png") repeat-x;
1625 1630 border-top: 1px solid #ccc;
1626 1631 border-left: 1px solid #bebebe;
1627 border-right: 1px solid #b1b1b1;
1628 1632 border-bottom: 1px solid #afafaf;
1629 1633 text-decoration: none;
1630 1634 }
@@ -2,7 +2,7 b''
2 2
3 3 %if c.journal_day_aggreagate:
4 4 %for day,items in c.journal_day_aggreagate:
5 <div class="journal_day">${day}</div>
5 <div class="journal_day">${day}</div>
6 6 % for user,entries in items:
7 7 <div class="journal_container">
8 8 <div class="gravatar">
@@ -34,8 +34,10 b''
34 34 </div>
35 35 %endfor
36 36 %endfor
37
38 <div class="pagination-wh pagination-left">
37
38 <div class="pagination-wh pagination-left" style="padding: 0px 0px 0px 10px;">
39 ${c.journal_pager.pager('$link_previous ~2~ $link_next')}
40 </div>
39 41 <script type="text/javascript">
40 42 YUE.onDOMReady(function(){
41 43 YUE.delegate("journal","click",function(e, matchedEl, container){
@@ -47,9 +49,7 b''
47 49 YUE.preventDefault(e);
48 50 },'.pager_link');
49 51 });
50 </script>
51 ${c.journal_pager.pager('$link_previous ~2~ $link_next')}
52 </div>
52 </script>
53 53 %else:
54 54 <div style="padding:5px 0px 10px 10px;">
55 55 ${_('No entries yet')}
General Comments 0
You need to be logged in to leave comments. Login now