From 856717989a98f74d7352d1783f3daf764e9d60c2 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 12 Feb 2013 20:44:26 +0100 Subject: [PATCH] Search on columns on Items --- app/View/Items/scaffold.index.ctp | 9 ++- app/View/Layouts/default.ctp | 96 ++++++++++++++++++++----------- 2 files changed, 72 insertions(+), 33 deletions(-) diff --git a/app/View/Items/scaffold.index.ctp b/app/View/Items/scaffold.index.ctp index fb07f8f..8dda5f2 100644 --- a/app/View/Items/scaffold.index.ctp +++ b/app/View/Items/scaffold.index.ctp @@ -22,7 +22,7 @@ - +
@@ -61,6 +61,13 @@ foreach (${$pluralVar} as ${$singularVar}): endforeach; ?> + + + + + + +
diff --git a/app/View/Layouts/default.ctp b/app/View/Layouts/default.ctp index 81231ef..adb748a 100644 --- a/app/View/Layouts/default.ctp +++ b/app/View/Layouts/default.ctp @@ -1,37 +1,69 @@ - - Html->charset(); ?> - - BrmSklad: - <?php echo $title_for_layout; ?> - - Html->meta('icon'); - echo $this->Html->css('cake.generic'); - echo $this->Html->script(array('jquery.min','jquery.dataTables.min')); - echo $this->fetch('meta'); - echo $this->fetch('css'); - echo $this->fetch('script'); - ?> - - - -
- -
+ + Html->charset(); ?> + + BrmSklad: + <?php echo $title_for_layout; ?> + + Html->meta('icon'); + echo $this->Html->css('cake.generic'); + echo $this->Html->script(array('jquery.min','jquery.dataTables.min')); + echo $this->fetch('meta'); + echo $this->fetch('css'); + echo $this->fetch('script'); + ?> + + + +
+ +
- fetch('content'); ?> -
-
- element('sql_dump'); ?> - + Session->flash(); ?> + + fetch('content'); ?> +
+
+ element('sql_dump'); ?> +