diff --git a/src/Template/Layout/default.ctp b/src/Template/Layout/default.ctp index 8a52287..3788923 100755 --- a/src/Template/Layout/default.ctp +++ b/src/Template/Layout/default.ctp @@ -28,6 +28,7 @@ $cakeDescription = 'Labinvent 2'; Html->meta('icon')?> + Html->css('cake')?> Html->css('inventirap')?> Html->css('font-awesome')?> Html->script('jquery.min')?> diff --git a/src/Template/Materiels/index.ctp b/src/Template/Materiels/index.ctp index c9e56bd..75a84e4 100755 --- a/src/Template/Materiels/index.ctp +++ b/src/Template/Materiels/index.ctp @@ -281,7 +281,12 @@ if ($nbMateriels > 0) { endif; ?> - + + +
Paginator->counter(['format' => 'Page {{page}} sur {{pages}}']) ?> Paginator->first('<< ' . __(''), ['class' => 'prev']) ?> @@ -290,6 +295,7 @@ if ($nbMateriels > 0) { Paginator->next(__('') . ' >', ['class' => 'next disabled']) ?> Paginator->last(__('') . ' >>', ['class' => 'next']) ?>
+ Form->end()?> = 3.4 **/ +.paging { + background:#fff; + color: #ccc; + margin-top: 1em; + clear:both; +} +.paging .current, +.paging .disabled, +.paging a { + text-decoration: none; + padding: 5px 8px; + display: inline-block +} +.paging > li { + display: inline-block; + border: 1px solid #ccc; + border-left: 0; +} +.paging > li:hover { + background: #efefef; +} +.paging .prev { + border-left: 1px solid #ccc; + -moz-border-radius: 4px 0 0 4px; + -webkit-border-radius: 4px 0 0 4px; + border-radius: 4px 0 0 4px; +} +.paging .next { + -moz-border-radius: 0 4px 4px 0; + -webkit-border-radius: 0 4px 4px 0; + border-radius: 0 4px 4px 0; +} +.paging .disabled { + color: #ddd; +} +.paging .disabled:hover { + background: transparent; +} +.paging .current { + background: #efefef; + color: #c73e14; +} + /** Scaffold View **/ dl { @@ -820,4 +868,3 @@ textarea { .A{ margin-bottom: 0px; } - -- libgit2 0.21.2