mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
#120 - ComplexTableField popup
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@44161 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
943c892548
commit
3b0e6ba71f
@ -72,6 +72,10 @@ form fieldset {
|
||||
}
|
||||
|
||||
/* Pagination */
|
||||
#ComplexTableField_Pagination,
|
||||
#ComplexTableField_Pagination * {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#ComplexTableField_Pagination {
|
||||
margin-top: 10px;
|
||||
@ -80,7 +84,7 @@ form fieldset {
|
||||
}
|
||||
|
||||
#ComplexTableField_Pagination a {
|
||||
font-size: 14px;
|
||||
font-size: 1.2em;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
margin: 1px;
|
||||
@ -88,8 +92,8 @@ form fieldset {
|
||||
|
||||
#ComplexTableField_Pagination span {
|
||||
display: inline;
|
||||
color: red;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
#ComplexTableField_Pagination div {
|
||||
@ -99,20 +103,3 @@ form fieldset {
|
||||
#ComplexTableField_Pagination_Next a,#ComplexTableField_Pagination_Previous a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#ComplexTableField_Pagination_Next a div {
|
||||
position: relative;
|
||||
left: -20px;
|
||||
}
|
||||
|
||||
#ComplexTableField_Pagination_Next a img {
|
||||
position: relative;
|
||||
top: -15px;
|
||||
left: 5px;
|
||||
}
|
||||
|
||||
#ComplexTableField_Pagination_Previous a img {
|
||||
position: relative;
|
||||
top: -15px;
|
||||
left: 35px;
|
||||
}
|
||||
|
@ -465,7 +465,7 @@ JS;
|
||||
*/
|
||||
|
||||
function pagination() {
|
||||
$this->pageSize = 10;
|
||||
$this->pageSize = 9;
|
||||
$currentItem = $this->PopupCurrentItem();
|
||||
$result = new DataObjectSet();
|
||||
if($currentItem < 6) {
|
||||
|
@ -32,12 +32,12 @@
|
||||
<% end_if %>
|
||||
<% if PopupNextLink %>
|
||||
<td id="ComplexTableField_Pagination_Next">
|
||||
<a href="$PopupNextLink"><img src="cms/images/pagination/record-next.png" /></a>
|
||||
<a href="$PopupNextLink"><div><% _t('NEXT', 'Next') %></div></a>
|
||||
<a href="$PopupNextLink"><img src="cms/images/pagination/record-next.png" /></a>
|
||||
</td>
|
||||
<% end_if %>
|
||||
</td>
|
||||
<% end_if %>
|
||||
<% end_if %>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user