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