From 599c1172394e3377d8e3e28c06557a99a1a10d1e Mon Sep 17 00:00:00 2001 From: groditi Date: Thu, 21 Aug 2008 00:38:47 +0000 Subject: container support built into fields and an example of usage in ComponentUI --- share/skin/base/layout/action.tt | 10 ++++------ share/skin/base/layout/object.tt | 11 ++++------- share/skin/default/layout/action.tt | 2 +- share/skin/default/layout/object.tt | 2 +- 4 files changed, 10 insertions(+), 15 deletions(-) (limited to 'share') diff --git a/share/skin/base/layout/action.tt b/share/skin/base/layout/action.tt index 6fda5a1..5ef48cd 100644 --- a/share/skin/base/layout/action.tt +++ b/share/skin/base/layout/action.tt @@ -3,7 +3,7 @@
[% header %] - [% field_list %] + [% container_list %] [% buttons %] [% footer %]
@@ -11,13 +11,11 @@ =for layout header -=for layout field_list +=for layout container_list -
- [% call_next %] -
+[% call_next %] -=for layout field +=for layout container [% call_next %] diff --git a/share/skin/base/layout/object.tt b/share/skin/base/layout/object.tt index 00816d3..8a5074a 100644 --- a/share/skin/base/layout/object.tt +++ b/share/skin/base/layout/object.tt @@ -1,13 +1,10 @@ =for layout widget -
- [% field_list %] -
+[% container_list %] -=for layout field +=for layout container - - [% call_next %] - +[% call_next %] =cut + diff --git a/share/skin/default/layout/action.tt b/share/skin/default/layout/action.tt index 4c32a37..a18e51d 100644 --- a/share/skin/default/layout/action.tt +++ b/share/skin/default/layout/action.tt @@ -1,6 +1,6 @@ =extends NEXT -=for layout field +=for layout container [% call_next %]
diff --git a/share/skin/default/layout/object.tt b/share/skin/default/layout/object.tt index 20dee31..0f32321 100644 --- a/share/skin/default/layout/object.tt +++ b/share/skin/default/layout/object.tt @@ -1,6 +1,6 @@ =extends NEXT -=for layout field +=for layout container [% call_next %]
-- cgit v1.2.3-54-g00ecf