diff --git a/app/webroot/css/cake.generic.css b/app/webroot/css/cake.generic.css index 8136c5f22b6..66945e208ea 100644 --- a/app/webroot/css/cake.generic.css +++ b/app/webroot/css/cake.generic.css @@ -183,17 +183,15 @@ td.actions a { div.paging { background:#fff; color: #ccc; - margin-bottom: 2em; + margin-top: 1em; clear:both; } -div.paging div.disabled { +div.paging span.disabled { color: #ddd; display: inline; } -div.paging span { -} div.paging span.current { - color: #000; + color: #993; } div.paging span a { } diff --git a/cake/console/templates/default/views/index.ctp b/cake/console/templates/default/views/index.ctp index a1ddce926a5..c0e7222ed61 100644 --- a/cake/console/templates/default/views/index.ctp +++ b/cake/console/templates/default/views/index.ctp @@ -18,30 +18,23 @@ */ ?>
-

";?>

-

-Paginator->counter(array( -'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) -)); -?>";?> -

- - - - - - - -\n"; +

";?>

+
Paginator->sort('{$field}');?>";?>";?>
+ + + + + + + \n"; echo "\t>\n"; foreach ($fields as $field) { $isKey = false; @@ -66,12 +59,20 @@ foreach (\${$pluralVar} as \${$singularVar}): echo "\t\t\n"; echo "\t\n"; -echo "\n"; -?> -
Paginator->sort('{$field}');?>";?>";?>
+ echo "\n"; + ?> + +

+ Paginator->counter(array( + 'format' => __('Page %page% of %pages%, showing %current% records out of %count% total, starting on record %start%, ending on %end%', true) + )); + ?>";?> +

+
Paginator->prev('<< '.__('previous', true), array(), null, array('class'=>'disabled'));?>\n";?> - | Paginator->numbers();?>\n"?> + | Paginator->numbers();?>\n"?> | Paginator->next(__('next', true).' >>', array(), null, array('class' => 'disabled'));?>\n";?>