From 3faf72aa446838d637712069588dd842a59cf088 Mon Sep 17 00:00:00 2001 From: pete Date: Mon, 9 Feb 2009 10:15:08 +0000 Subject: pagination on activity stream added git-svn-id: https://code.elgg.org/elgg/trunk@2683 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/activity/views/default/activity/css.php | 31 +++++++++++++++++++++++++- mod/activity/views/default/activity/offset.php | 8 ++++--- 2 files changed, 35 insertions(+), 4 deletions(-) (limited to 'mod/activity/views/default') diff --git a/mod/activity/views/default/activity/css.php b/mod/activity/views/default/activity/css.php index 168fa4fc4..506fdd096 100644 --- a/mod/activity/views/default/activity/css.php +++ b/mod/activity/views/default/activity/css.php @@ -137,4 +137,33 @@ padding:4px; border:1px solid #ddd; background:#efefef; -} \ No newline at end of file +} + +.pagination .forward, +.pagination .back { + display:block; + float:left; + border:1px solid #4690d6; + color:#4690d6; + text-align: center; + font-size: 12px; + font-weight: normal; + margin:0 6px 0 0; + padding:0px 4px; + cursor: pointer; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; +} +.pagination .forward:hover, +.pagination .back:hover { + background:#4690d6; + color:white; + text-decoration: none; +} +.pagination .back { + margin:0 20px 0 0; +} + + + + diff --git a/mod/activity/views/default/activity/offset.php b/mod/activity/views/default/activity/offset.php index 638cf9150..21b43a526 100644 --- a/mod/activity/views/default/activity/offset.php +++ b/mod/activity/views/default/activity/offset.php @@ -17,11 +17,13 @@ $offset = $offset + 20;//set new offset - echo "
"; + echo ""; + echo "
"; ?> \ No newline at end of file -- cgit v1.2.3