Pagination bar in popup style changes

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44603 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Romain Louis 2007-11-11 23:19:57 +00:00
parent ed69b15fd6
commit 0df632000e
2 changed files with 15 additions and 7 deletions

View File

@ -96,6 +96,9 @@ form fieldset {
#ComplexTableField_Pagination a {
/*font-size: 1.2em;*/
font-size: 13px;
font-weight: bold;
text-decoration: none;
width: 1px;
height: 1px;
margin: 1px;
@ -108,13 +111,20 @@ form fieldset {
#ComplexTableField_Pagination span {
display: inline;
font-weight: bold;
font-size: 1.2em;
font-size: 15px;
color: #f00;
}
#ComplexTableField_Pagination div {
display: inline;
}
#ComplexTableField_Pagination_Next a,#ComplexTableField_Pagination_Previous a {
text-decoration: none;
#ComplexTableField_Pagination_Previous {
padding-right: 10px;
}
#ComplexTableField_Pagination_Next {
padding-left: 10px;
}
#ComplexTableField_Pagination_Next img,#ComplexTableField_Pagination_Previous img {
margin: 0 3px 2px;
}

View File

@ -14,8 +14,7 @@
<tr>
<% if PopupPrevLink %>
<td id="ComplexTableField_Pagination_Previous">
<a href="$PopupPrevLink"><img src="cms/images/pagination/record-prev.png" /></a>
<a href="$PopupPrevLink"><div><% _t('PREVIOUS', 'Previous') %></div></a>
<a href="$PopupPrevLink"><img src="cms/images/pagination/record-prev.png" /><% _t('PREVIOUS', 'Previous') %></a>
</td>
<% end_if %>
<% if TotalCount == 1 %>
@ -32,8 +31,7 @@
<% end_if %>
<% if PopupNextLink %>
<td id="ComplexTableField_Pagination_Next">
<a href="$PopupNextLink"><div><% _t('NEXT', 'Next') %></div></a>
<a href="$PopupNextLink"><img src="cms/images/pagination/record-next.png" /></a>
<a href="$PopupNextLink"><% _t('NEXT', 'Next') %><img src="cms/images/pagination/record-next.png" /></a>
</td>
<% end_if %>
</td>