From 28d2d47d3d0780bf8a8841f6168cec263900ed8e Mon Sep 17 00:00:00 2001 From: wreis Date: Tue, 15 Sep 2009 15:36:30 +0000 Subject: no divs in base skin --- share/skin/base/layout/action.tt | 14 ++++++-------- share/skin/base/layout/collection.tt | 4 +--- share/skin/base/layout/field/array.tt | 4 +--- share/skin/base/layout/field/collection.tt | 4 +--- share/skin/base/layout/field/container.tt | 4 +--- share/skin/base/layout/field/mutable.tt | 2 +- share/skin/base/layout/field/mutable/choose_many.tt | 12 ++++-------- share/skin/default/layout/action.tt | 6 ++++++ share/skin/default/layout/field/array.tt | 6 ++++++ share/skin/default/layout/field/collection.tt | 6 ++++++ share/skin/default/layout/field/mutable.tt | 4 ++++ share/skin/default/layout/field/mutable/choose_many.tt | 11 +++++++---- 12 files changed, 44 insertions(+), 33 deletions(-) diff --git a/share/skin/base/layout/action.tt b/share/skin/base/layout/action.tt index b5cb708..dba41d0 100644 --- a/share/skin/base/layout/action.tt +++ b/share/skin/base/layout/action.tt @@ -1,13 +1,11 @@ =for layout widget -
-
- [% header %] - [% container_list %] - [% buttons %] - [% footer %] -
-
+
+ [% header %] + [% container_list %] + [% buttons %] + [% footer %] +
=for layout header diff --git a/share/skin/base/layout/collection.tt b/share/skin/base/layout/collection.tt index 6becfb1..da0cd2f 100644 --- a/share/skin/base/layout/collection.tt +++ b/share/skin/base/layout/collection.tt @@ -6,9 +6,7 @@ =for layout body -
- [% members %] -
+[% members %] =for layout footer diff --git a/share/skin/base/layout/field/array.tt b/share/skin/base/layout/field/array.tt index cd9c0c2..ac62db7 100644 --- a/share/skin/base/layout/field/array.tt +++ b/share/skin/base/layout/field/array.tt @@ -9,11 +9,9 @@ =for layout list -
-
=for layout item diff --git a/share/skin/base/layout/field/collection.tt b/share/skin/base/layout/field/collection.tt index 2203344..1f6ae9e 100644 --- a/share/skin/base/layout/field/collection.tt +++ b/share/skin/base/layout/field/collection.tt @@ -9,11 +9,9 @@ =for layout list -
-
=for layout item diff --git a/share/skin/base/layout/field/container.tt b/share/skin/base/layout/field/container.tt index c504e55..d9e0ced 100644 --- a/share/skin/base/layout/field/container.tt +++ b/share/skin/base/layout/field/container.tt @@ -11,8 +11,6 @@ =for layout field -
- [% call_next %] -
+[% call_next %] =cut diff --git a/share/skin/base/layout/field/mutable.tt b/share/skin/base/layout/field/mutable.tt index d21e979..333a27a 100644 --- a/share/skin/base/layout/field/mutable.tt +++ b/share/skin/base/layout/field/mutable.tt @@ -1,6 +1,6 @@ =for layout widget -
[% label_fragment %] [% field %] [% message_fragment %]
+[% label_fragment %] [% field %] [% message_fragment %] =for layout label diff --git a/share/skin/base/layout/field/mutable/choose_many.tt b/share/skin/base/layout/field/mutable/choose_many.tt index 51f315e..9d19fff 100644 --- a/share/skin/base/layout/field/mutable/choose_many.tt +++ b/share/skin/base/layout/field/mutable/choose_many.tt @@ -8,7 +8,6 @@ =for layout field -
@@ -19,7 +18,6 @@
[% available_values %]
-
=for layout available_values @@ -43,12 +41,10 @@ =for layout action_buttons -
- - - - -
+ + + + =for layout message diff --git a/share/skin/default/layout/action.tt b/share/skin/default/layout/action.tt index a18e51d..e1b003f 100644 --- a/share/skin/default/layout/action.tt +++ b/share/skin/default/layout/action.tt @@ -1,5 +1,11 @@ =extends NEXT +=for layout widget + +
+ [% call_next %] +
+ =for layout container [% call_next %]
diff --git a/share/skin/default/layout/field/array.tt b/share/skin/default/layout/field/array.tt index acb2cce..60c86b1 100644 --- a/share/skin/default/layout/field/array.tt +++ b/share/skin/default/layout/field/array.tt @@ -4,4 +4,10 @@ [% content | html %]: +=for layout list + +
+ [% call_next %] +
+ =cut diff --git a/share/skin/default/layout/field/collection.tt b/share/skin/default/layout/field/collection.tt index f513e94..16789bf 100644 --- a/share/skin/default/layout/field/collection.tt +++ b/share/skin/default/layout/field/collection.tt @@ -4,4 +4,10 @@ [% label %]: +=for layout list + +
+ [% call_next %] +
+ =cut diff --git a/share/skin/default/layout/field/mutable.tt b/share/skin/default/layout/field/mutable.tt index 615e14e..ec10a4c 100644 --- a/share/skin/default/layout/field/mutable.tt +++ b/share/skin/default/layout/field/mutable.tt @@ -1,5 +1,9 @@ =extends NEXT +=for layout widget + +
[% call_next %]
+ =for layout message [% call_next %]
diff --git a/share/skin/default/layout/field/mutable/choose_many.tt b/share/skin/default/layout/field/mutable/choose_many.tt index e01a1ba..117f39e 100644 --- a/share/skin/default/layout/field/mutable/choose_many.tt +++ b/share/skin/default/layout/field/mutable/choose_many.tt @@ -6,13 +6,16 @@ [% message_fragment %] [% field %] +=for layout field + +
+ [% call_next %] +
+ =for layout action_buttons
-
-
-
-
+ [% call_next %]
=cut -- cgit v1.2.3-54-g00ecf