From c8fbb8ad6185f3f14717138aaf8bb95d6b2d27b2 Mon Sep 17 00:00:00 2001 From: groditi Date: Wed, 2 Jan 2008 18:49:19 +0000 Subject: work in progress, listview still broken --- share/skin/default/layout/action.tt | 59 ++++++++++++++++++++++ share/skin/default/layout/action/link.tt | 3 ++ share/skin/default/layout/action_form.tt | 59 ---------------------- share/skin/default/layout/collection.tt | 5 ++ share/skin/default/layout/collection/grid.tt | 37 ++++++++++++++ .../skin/default/layout/collection/grid/member.tt | 11 ++++ .../layout/collection/grid/member/with_actions.tt | 12 +++++ share/skin/default/layout/display_field/boolean.tt | 14 ----- .../default/layout/display_field/collection.tt | 20 -------- .../skin/default/layout/display_field/date_time.tt | 14 ----- share/skin/default/layout/display_field/list.tt | 20 -------- share/skin/default/layout/display_field/number.tt | 14 ----- .../default/layout/display_field/related_object.tt | 14 ----- share/skin/default/layout/display_field/string.tt | 14 ----- share/skin/default/layout/display_field/text.tt | 14 ----- share/skin/default/layout/field.tt | 24 +++------ share/skin/default/layout/field/array.tt | 20 ++++++++ share/skin/default/layout/field/boolean.tt | 10 ---- share/skin/default/layout/field/choose_many.tt | 50 ------------------ share/skin/default/layout/field/choose_one.tt | 27 ---------- share/skin/default/layout/field/collection.tt | 20 ++++++++ share/skin/default/layout/field/file.tt | 3 -- share/skin/default/layout/field/hidden_array.tt | 9 ---- share/skin/default/layout/field/integer.tt | 3 ++ share/skin/default/layout/field/mutable.tt | 27 ++++++++++ share/skin/default/layout/field/mutable/boolean.tt | 13 +++++ .../default/layout/field/mutable/choose_many.tt | 50 ++++++++++++++++++ .../default/layout/field/mutable/choose_one.tt | 27 ++++++++++ .../skin/default/layout/field/mutable/date_time.tt | 3 ++ share/skin/default/layout/field/mutable/file.tt | 3 ++ .../default/layout/field/mutable/hidden_array.tt | 9 ++++ share/skin/default/layout/field/mutable/number.tt | 3 ++ .../skin/default/layout/field/mutable/password.tt | 3 ++ share/skin/default/layout/field/mutable/string.tt | 3 ++ share/skin/default/layout/field/mutable/text.tt | 9 ++++ .../default/layout/field/mutable/time_range.tt | 25 +++++++++ share/skin/default/layout/field/number.tt | 25 +-------- share/skin/default/layout/field/password.tt | 3 -- share/skin/default/layout/field/related_object.tt | 3 ++ share/skin/default/layout/field/text.tt | 6 --- share/skin/default/layout/field/time_range.tt | 25 --------- share/skin/default/layout/grid_view.tt | 45 ----------------- share/skin/default/layout/grid_view/action.tt | 3 -- share/skin/default/layout/grid_view/entity.tt | 11 ---- .../layout/grid_view/entity/with_actions.tt | 12 ----- share/skin/default/layout/list_view.tt | 2 +- share/skin/default/layout/object.tt | 9 ++++ share/skin/default/layout/object_view.tt | 9 ---- 48 files changed, 365 insertions(+), 439 deletions(-) create mode 100644 share/skin/default/layout/action.tt create mode 100644 share/skin/default/layout/action/link.tt delete mode 100644 share/skin/default/layout/action_form.tt create mode 100644 share/skin/default/layout/collection.tt create mode 100644 share/skin/default/layout/collection/grid.tt create mode 100644 share/skin/default/layout/collection/grid/member.tt create mode 100644 share/skin/default/layout/collection/grid/member/with_actions.tt delete mode 100644 share/skin/default/layout/display_field/boolean.tt delete mode 100644 share/skin/default/layout/display_field/collection.tt delete mode 100644 share/skin/default/layout/display_field/date_time.tt delete mode 100644 share/skin/default/layout/display_field/list.tt delete mode 100644 share/skin/default/layout/display_field/number.tt delete mode 100644 share/skin/default/layout/display_field/related_object.tt delete mode 100644 share/skin/default/layout/display_field/string.tt delete mode 100644 share/skin/default/layout/display_field/text.tt create mode 100644 share/skin/default/layout/field/array.tt delete mode 100644 share/skin/default/layout/field/choose_many.tt delete mode 100644 share/skin/default/layout/field/choose_one.tt create mode 100644 share/skin/default/layout/field/collection.tt delete mode 100644 share/skin/default/layout/field/file.tt delete mode 100644 share/skin/default/layout/field/hidden_array.tt create mode 100644 share/skin/default/layout/field/integer.tt create mode 100644 share/skin/default/layout/field/mutable.tt create mode 100644 share/skin/default/layout/field/mutable/boolean.tt create mode 100644 share/skin/default/layout/field/mutable/choose_many.tt create mode 100644 share/skin/default/layout/field/mutable/choose_one.tt create mode 100644 share/skin/default/layout/field/mutable/date_time.tt create mode 100644 share/skin/default/layout/field/mutable/file.tt create mode 100644 share/skin/default/layout/field/mutable/hidden_array.tt create mode 100644 share/skin/default/layout/field/mutable/number.tt create mode 100644 share/skin/default/layout/field/mutable/password.tt create mode 100644 share/skin/default/layout/field/mutable/string.tt create mode 100644 share/skin/default/layout/field/mutable/text.tt create mode 100644 share/skin/default/layout/field/mutable/time_range.tt delete mode 100644 share/skin/default/layout/field/password.tt create mode 100644 share/skin/default/layout/field/related_object.tt delete mode 100644 share/skin/default/layout/field/time_range.tt delete mode 100644 share/skin/default/layout/grid_view.tt delete mode 100644 share/skin/default/layout/grid_view/action.tt delete mode 100644 share/skin/default/layout/grid_view/entity.tt delete mode 100644 share/skin/default/layout/grid_view/entity/with_actions.tt create mode 100644 share/skin/default/layout/object.tt delete mode 100644 share/skin/default/layout/object_view.tt (limited to 'share/skin/default') diff --git a/share/skin/default/layout/action.tt b/share/skin/default/layout/action.tt new file mode 100644 index 0000000..fa71d79 --- /dev/null +++ b/share/skin/default/layout/action.tt @@ -0,0 +1,59 @@ +=for layout widget + +
+ [% header %] + [% field_list %] + [% buttons %] + [% footer %] +
+ +=for layout header + + + +=for layout field_list + +

[% call_next %]

+ +=for layout field + +[% call_next %]
+ +=for layout message_layout + + [% message %]
+ +=for layout buttons + [% message %] + [% ok_button_fragment %] + [% apply_button_fragment %] + [% cancel_button_fragment %] + +=for layout ok_button + + + +=for layout apply_button + + + +=for layout cancel_button + + + +=for layout whut + + [% IF (viewport.ordered_fields.size != 0) && allowed_events.grep('^apply$').size; %] + + [% END; %] + + [% IF allowed_events.grep('^close$').size; %] + + [% END; %] +
+ +=for layout footer + + + +=cut diff --git a/share/skin/default/layout/action/link.tt b/share/skin/default/layout/action/link.tt new file mode 100644 index 0000000..7c07d31 --- /dev/null +++ b/share/skin/default/layout/action/link.tt @@ -0,0 +1,3 @@ +=for layout widget + [% label %] +=cut diff --git a/share/skin/default/layout/action_form.tt b/share/skin/default/layout/action_form.tt deleted file mode 100644 index fa71d79..0000000 --- a/share/skin/default/layout/action_form.tt +++ /dev/null @@ -1,59 +0,0 @@ -=for layout widget - -
- [% header %] - [% field_list %] - [% buttons %] - [% footer %] -
- -=for layout header - - - -=for layout field_list - -

[% call_next %]

- -=for layout field - -[% call_next %]
- -=for layout message_layout - - [% message %]
- -=for layout buttons - [% message %] - [% ok_button_fragment %] - [% apply_button_fragment %] - [% cancel_button_fragment %] - -=for layout ok_button - - - -=for layout apply_button - - - -=for layout cancel_button - - - -=for layout whut - - [% IF (viewport.ordered_fields.size != 0) && allowed_events.grep('^apply$').size; %] - - [% END; %] - - [% IF allowed_events.grep('^close$').size; %] - - [% END; %] -
- -=for layout footer - - - -=cut diff --git a/share/skin/default/layout/collection.tt b/share/skin/default/layout/collection.tt new file mode 100644 index 0000000..d4703f1 --- /dev/null +++ b/share/skin/default/layout/collection.tt @@ -0,0 +1,5 @@ +=for layout widget + +[% members %] + +=cut \ No newline at end of file diff --git a/share/skin/default/layout/collection/grid.tt b/share/skin/default/layout/collection/grid.tt new file mode 100644 index 0000000..bfde10d --- /dev/null +++ b/share/skin/default/layout/collection/grid.tt @@ -0,0 +1,37 @@ +=for layout widget + + + [% header %] + [% body %] + [% footer %] +
+ +=for layout header + + + [% header_row %] + + +=for layout header_row + + + [% header_cells %] + + +=for layout header_cell + + [% header_cell_contents %] + +=for layout header_cell_contents + +[% label %] + +=for layout body + + + + [% members %] + + + +=cut diff --git a/share/skin/default/layout/collection/grid/member.tt b/share/skin/default/layout/collection/grid/member.tt new file mode 100644 index 0000000..9cf24e2 --- /dev/null +++ b/share/skin/default/layout/collection/grid/member.tt @@ -0,0 +1,11 @@ +=for layout widget + + + [% field_list %] + + +=for layout field + +[% call_next %] + +=cut diff --git a/share/skin/default/layout/collection/grid/member/with_actions.tt b/share/skin/default/layout/collection/grid/member/with_actions.tt new file mode 100644 index 0000000..a0bca88 --- /dev/null +++ b/share/skin/default/layout/collection/grid/member/with_actions.tt @@ -0,0 +1,12 @@ +=extends collection/grid/member + +=for layout field_list + +[% call_next %] +[% actions %] + +=for layout action + +[% call_next %] + +=cut diff --git a/share/skin/default/layout/display_field/boolean.tt b/share/skin/default/layout/display_field/boolean.tt deleted file mode 100644 index d531087..0000000 --- a/share/skin/default/layout/display_field/boolean.tt +++ /dev/null @@ -1,14 +0,0 @@ -=for layout widget - -[% label_layout %] -[% value_layout %] - -=for layout label_layout - - [% label %]: - -=for layout value_layout - -[% value %] - -=cut diff --git a/share/skin/default/layout/display_field/collection.tt b/share/skin/default/layout/display_field/collection.tt deleted file mode 100644 index 47244e7..0000000 --- a/share/skin/default/layout/display_field/collection.tt +++ /dev/null @@ -1,20 +0,0 @@ -=for layout widget - -[% label_box %] -[% list %] - -=for layout label_box - - [% label %]: - -=for layout list - - - -=for layout item - -
  • [% name %]
  • - -=cut diff --git a/share/skin/default/layout/display_field/date_time.tt b/share/skin/default/layout/display_field/date_time.tt deleted file mode 100644 index d531087..0000000 --- a/share/skin/default/layout/display_field/date_time.tt +++ /dev/null @@ -1,14 +0,0 @@ -=for layout widget - -[% label_layout %] -[% value_layout %] - -=for layout label_layout - - [% label %]: - -=for layout value_layout - -[% value %] - -=cut diff --git a/share/skin/default/layout/display_field/list.tt b/share/skin/default/layout/display_field/list.tt deleted file mode 100644 index 2b049b5..0000000 --- a/share/skin/default/layout/display_field/list.tt +++ /dev/null @@ -1,20 +0,0 @@ -=for layout widget - -[% label %] -[% list %] - -=for layout label - - [% content | html %]: - -=for layout list - - - -=for layout item - -
  • [% content | html %]
  • - -=cut \ No newline at end of file diff --git a/share/skin/default/layout/display_field/number.tt b/share/skin/default/layout/display_field/number.tt deleted file mode 100644 index d531087..0000000 --- a/share/skin/default/layout/display_field/number.tt +++ /dev/null @@ -1,14 +0,0 @@ -=for layout widget - -[% label_layout %] -[% value_layout %] - -=for layout label_layout - - [% label %]: - -=for layout value_layout - -[% value %] - -=cut diff --git a/share/skin/default/layout/display_field/related_object.tt b/share/skin/default/layout/display_field/related_object.tt deleted file mode 100644 index d531087..0000000 --- a/share/skin/default/layout/display_field/related_object.tt +++ /dev/null @@ -1,14 +0,0 @@ -=for layout widget - -[% label_layout %] -[% value_layout %] - -=for layout label_layout - - [% label %]: - -=for layout value_layout - -[% value %] - -=cut diff --git a/share/skin/default/layout/display_field/string.tt b/share/skin/default/layout/display_field/string.tt deleted file mode 100644 index d531087..0000000 --- a/share/skin/default/layout/display_field/string.tt +++ /dev/null @@ -1,14 +0,0 @@ -=for layout widget - -[% label_layout %] -[% value_layout %] - -=for layout label_layout - - [% label %]: - -=for layout value_layout - -[% value %] - -=cut diff --git a/share/skin/default/layout/display_field/text.tt b/share/skin/default/layout/display_field/text.tt deleted file mode 100644 index d531087..0000000 --- a/share/skin/default/layout/display_field/text.tt +++ /dev/null @@ -1,14 +0,0 @@ -=for layout widget - -[% label_layout %] -[% value_layout %] - -=for layout label_layout - - [% label %]: - -=for layout value_layout - -[% value %] - -=cut diff --git a/share/skin/default/layout/field.tt b/share/skin/default/layout/field.tt index fbda583..d531087 100644 --- a/share/skin/default/layout/field.tt +++ b/share/skin/default/layout/field.tt @@ -1,26 +1,14 @@ =for layout widget -[% label_fragment %] [% field %] [% message_fragment %]
    +[% label_layout %] +[% value_layout %] -=for layout label +=for layout label_layout - + [% label %]: -=for layout field +=for layout value_layout -FIELD GOES HERE - -=for layout message - -[% message %]
    - -=for layout field - - - -=for layout field_body - -value="[% field_value %]" +[% value %] =cut diff --git a/share/skin/default/layout/field/array.tt b/share/skin/default/layout/field/array.tt new file mode 100644 index 0000000..2b049b5 --- /dev/null +++ b/share/skin/default/layout/field/array.tt @@ -0,0 +1,20 @@ +=for layout widget + +[% label %] +[% list %] + +=for layout label + + [% content | html %]: + +=for layout list + + + +=for layout item + +
  • [% content | html %]
  • + +=cut \ No newline at end of file diff --git a/share/skin/default/layout/field/boolean.tt b/share/skin/default/layout/field/boolean.tt index b750116..18ab448 100644 --- a/share/skin/default/layout/field/boolean.tt +++ b/share/skin/default/layout/field/boolean.tt @@ -1,13 +1,3 @@ =extends field -=for layout field_body - -value="1" [% is_checked %] - -=for layout is_checked_yes - -checked="checked" - -=for layout is_checked_no - =cut diff --git a/share/skin/default/layout/field/choose_many.tt b/share/skin/default/layout/field/choose_many.tt deleted file mode 100644 index ba4543a..0000000 --- a/share/skin/default/layout/field/choose_many.tt +++ /dev/null @@ -1,50 +0,0 @@ -=extends field - -=for layout widget - -[% label_fragment %] -
    -[% message_fragment %] -[% field %] - -=for layout field - - - - - - - -
    [% available_values %] [% action_buttons %] - [% selected_values %] - [% current_values %] -
    - -=for layout available_values - - - -=for layout selected_values - - - -=for layout hidden_value - - - -=for layout value_option - - - -=for layout action_buttons - -
    -
    -
    -
    - -=cut diff --git a/share/skin/default/layout/field/choose_one.tt b/share/skin/default/layout/field/choose_one.tt deleted file mode 100644 index f0f2fb4..0000000 --- a/share/skin/default/layout/field/choose_one.tt +++ /dev/null @@ -1,27 +0,0 @@ -=extends field - -=for layout field - - - -=for layout option_is_required_yes - -=for layout option_is_required_no - - - -=for layout option - - - -=for layout option_is_selected_yes - -selected="selected" - -=for layout option_is_selected_no - -=cut diff --git a/share/skin/default/layout/field/collection.tt b/share/skin/default/layout/field/collection.tt new file mode 100644 index 0000000..47244e7 --- /dev/null +++ b/share/skin/default/layout/field/collection.tt @@ -0,0 +1,20 @@ +=for layout widget + +[% label_box %] +[% list %] + +=for layout label_box + + [% label %]: + +=for layout list + + + +=for layout item + +
  • [% name %]
  • + +=cut diff --git a/share/skin/default/layout/field/file.tt b/share/skin/default/layout/field/file.tt deleted file mode 100644 index 18ab448..0000000 --- a/share/skin/default/layout/field/file.tt +++ /dev/null @@ -1,3 +0,0 @@ -=extends field - -=cut diff --git a/share/skin/default/layout/field/hidden_array.tt b/share/skin/default/layout/field/hidden_array.tt deleted file mode 100644 index 0f5e35d..0000000 --- a/share/skin/default/layout/field/hidden_array.tt +++ /dev/null @@ -1,9 +0,0 @@ -=for layout widget - -[% hidden_list %] - -=for layout hidden_field - - - -=cut diff --git a/share/skin/default/layout/field/integer.tt b/share/skin/default/layout/field/integer.tt new file mode 100644 index 0000000..18ab448 --- /dev/null +++ b/share/skin/default/layout/field/integer.tt @@ -0,0 +1,3 @@ +=extends field + +=cut diff --git a/share/skin/default/layout/field/mutable.tt b/share/skin/default/layout/field/mutable.tt new file mode 100644 index 0000000..c4b3205 --- /dev/null +++ b/share/skin/default/layout/field/mutable.tt @@ -0,0 +1,27 @@ +=for layout widget + +[% label_fragment %] [% field %] [% message_fragment %]
    + +=for layout label + + + +=for layout field + + +FIELD GOES HERE + +=for layout message + +[% message %]
    + +=for layout field + + + +=for layout field_body + +value="[% field_value %]" + +=cut diff --git a/share/skin/default/layout/field/mutable/boolean.tt b/share/skin/default/layout/field/mutable/boolean.tt new file mode 100644 index 0000000..f50b377 --- /dev/null +++ b/share/skin/default/layout/field/mutable/boolean.tt @@ -0,0 +1,13 @@ +=extends field/mutable + +=for layout field_body + +value="1" [% is_checked %] + +=for layout is_checked_yes + +checked="checked" + +=for layout is_checked_no + +=cut diff --git a/share/skin/default/layout/field/mutable/choose_many.tt b/share/skin/default/layout/field/mutable/choose_many.tt new file mode 100644 index 0000000..ef0b937 --- /dev/null +++ b/share/skin/default/layout/field/mutable/choose_many.tt @@ -0,0 +1,50 @@ +=extends field/mutable + +=for layout widget + +[% label_fragment %] +
    +[% message_fragment %] +[% field %] + +=for layout field + + + + + + + +
    [% available_values %] [% action_buttons %] + [% selected_values %] + [% current_values %] +
    + +=for layout available_values + + + +=for layout selected_values + + + +=for layout hidden_value + + + +=for layout value_option + + + +=for layout action_buttons + +
    +
    +
    +
    + +=cut diff --git a/share/skin/default/layout/field/mutable/choose_one.tt b/share/skin/default/layout/field/mutable/choose_one.tt new file mode 100644 index 0000000..74e8d8c --- /dev/null +++ b/share/skin/default/layout/field/mutable/choose_one.tt @@ -0,0 +1,27 @@ +=extends field/mutable + +=for layout field + + + +=for layout option_is_required_yes + +=for layout option_is_required_no + + + +=for layout option + + + +=for layout option_is_selected_yes + +selected="selected" + +=for layout option_is_selected_no + +=cut diff --git a/share/skin/default/layout/field/mutable/date_time.tt b/share/skin/default/layout/field/mutable/date_time.tt new file mode 100644 index 0000000..05a69a5 --- /dev/null +++ b/share/skin/default/layout/field/mutable/date_time.tt @@ -0,0 +1,3 @@ +=extends field/mutable + +=cut diff --git a/share/skin/default/layout/field/mutable/file.tt b/share/skin/default/layout/field/mutable/file.tt new file mode 100644 index 0000000..05a69a5 --- /dev/null +++ b/share/skin/default/layout/field/mutable/file.tt @@ -0,0 +1,3 @@ +=extends field/mutable + +=cut diff --git a/share/skin/default/layout/field/mutable/hidden_array.tt b/share/skin/default/layout/field/mutable/hidden_array.tt new file mode 100644 index 0000000..0f5e35d --- /dev/null +++ b/share/skin/default/layout/field/mutable/hidden_array.tt @@ -0,0 +1,9 @@ +=for layout widget + +[% hidden_list %] + +=for layout hidden_field + + + +=cut diff --git a/share/skin/default/layout/field/mutable/number.tt b/share/skin/default/layout/field/mutable/number.tt new file mode 100644 index 0000000..05a69a5 --- /dev/null +++ b/share/skin/default/layout/field/mutable/number.tt @@ -0,0 +1,3 @@ +=extends field/mutable + +=cut diff --git a/share/skin/default/layout/field/mutable/password.tt b/share/skin/default/layout/field/mutable/password.tt new file mode 100644 index 0000000..05a69a5 --- /dev/null +++ b/share/skin/default/layout/field/mutable/password.tt @@ -0,0 +1,3 @@ +=extends field/mutable + +=cut diff --git a/share/skin/default/layout/field/mutable/string.tt b/share/skin/default/layout/field/mutable/string.tt new file mode 100644 index 0000000..05a69a5 --- /dev/null +++ b/share/skin/default/layout/field/mutable/string.tt @@ -0,0 +1,3 @@ +=extends field/mutable + +=cut diff --git a/share/skin/default/layout/field/mutable/text.tt b/share/skin/default/layout/field/mutable/text.tt new file mode 100644 index 0000000..c038280 --- /dev/null +++ b/share/skin/default/layout/field/mutable/text.tt @@ -0,0 +1,9 @@ +=extends field/mutable + +=for layout field + + + +=cut diff --git a/share/skin/default/layout/field/mutable/time_range.tt b/share/skin/default/layout/field/mutable/time_range.tt new file mode 100644 index 0000000..954c40b --- /dev/null +++ b/share/skin/default/layout/field/mutable/time_range.tt @@ -0,0 +1,25 @@ +=for layout widget + +[% label %] [% field %] [% message %] + +=for layout field + +TODO + +=for layout label + + +[% content_str = GET content; %] +[% IF content_str.length; %] + +[% END; %] + +=for layout message + + +[% content_str = GET content; %] +[% IF content_str.length; %] + [% content_str | html %]
    +[% END %] + +=cut diff --git a/share/skin/default/layout/field/number.tt b/share/skin/default/layout/field/number.tt index 201220f..18ab448 100644 --- a/share/skin/default/layout/field/number.tt +++ b/share/skin/default/layout/field/number.tt @@ -1,26 +1,3 @@ -=for layout widget - -[% label %] [% field %] [% message %] - -=for layout field - - - - -=for layout label - - -[% content_str = GET content; %] -[% IF content_str.length; %] - -[% END; %] - -=for layout message - - -[% content_str = GET content; %] -[% IF content_str.length; %] - [% content_str | html %]
    -[% END %] +=extends field =cut diff --git a/share/skin/default/layout/field/password.tt b/share/skin/default/layout/field/password.tt deleted file mode 100644 index 18ab448..0000000 --- a/share/skin/default/layout/field/password.tt +++ /dev/null @@ -1,3 +0,0 @@ -=extends field - -=cut diff --git a/share/skin/default/layout/field/related_object.tt b/share/skin/default/layout/field/related_object.tt new file mode 100644 index 0000000..18ab448 --- /dev/null +++ b/share/skin/default/layout/field/related_object.tt @@ -0,0 +1,3 @@ +=extends field + +=cut diff --git a/share/skin/default/layout/field/text.tt b/share/skin/default/layout/field/text.tt index e472cc8..18ab448 100644 --- a/share/skin/default/layout/field/text.tt +++ b/share/skin/default/layout/field/text.tt @@ -1,9 +1,3 @@ =extends field -=for layout field - - - =cut diff --git a/share/skin/default/layout/field/time_range.tt b/share/skin/default/layout/field/time_range.tt deleted file mode 100644 index 954c40b..0000000 --- a/share/skin/default/layout/field/time_range.tt +++ /dev/null @@ -1,25 +0,0 @@ -=for layout widget - -[% label %] [% field %] [% message %] - -=for layout field - -TODO - -=for layout label - - -[% content_str = GET content; %] -[% IF content_str.length; %] - -[% END; %] - -=for layout message - - -[% content_str = GET content; %] -[% IF content_str.length; %] - [% content_str | html %]
    -[% END %] - -=cut diff --git a/share/skin/default/layout/grid_view.tt b/share/skin/default/layout/grid_view.tt deleted file mode 100644 index 310fe66..0000000 --- a/share/skin/default/layout/grid_view.tt +++ /dev/null @@ -1,45 +0,0 @@ -=for layout widget - - - [% header %] - [% body %] - [% footer %] -
    - -=for layout header - - - [% header_row %] - - -=for layout header_row - - - [% header_cells %] - - -=for layout header_cell - - [% header_cell_contents %] - -=for layout header_cell_contents - -[% label %] - -=for layout footer - - - [% footer_row %] - - -=for layout footer_row - -[% header_row %] - -=for layout body - - - [% body_rows %] - - -=cut diff --git a/share/skin/default/layout/grid_view/action.tt b/share/skin/default/layout/grid_view/action.tt deleted file mode 100644 index 7c07d31..0000000 --- a/share/skin/default/layout/grid_view/action.tt +++ /dev/null @@ -1,3 +0,0 @@ -=for layout widget - [% label %] -=cut diff --git a/share/skin/default/layout/grid_view/entity.tt b/share/skin/default/layout/grid_view/entity.tt deleted file mode 100644 index 9cf24e2..0000000 --- a/share/skin/default/layout/grid_view/entity.tt +++ /dev/null @@ -1,11 +0,0 @@ -=for layout widget - - - [% field_list %] - - -=for layout field - -[% call_next %] - -=cut diff --git a/share/skin/default/layout/grid_view/entity/with_actions.tt b/share/skin/default/layout/grid_view/entity/with_actions.tt deleted file mode 100644 index 7f84147..0000000 --- a/share/skin/default/layout/grid_view/entity/with_actions.tt +++ /dev/null @@ -1,12 +0,0 @@ -=extends grid_view/entity - -=for layout field_list - -[% call_next %] -[% actions %] - -=for layout action - -[% call_next %] - -=cut diff --git a/share/skin/default/layout/list_view.tt b/share/skin/default/layout/list_view.tt index 61e92a8..f4f6501 100644 --- a/share/skin/default/layout/list_view.tt +++ b/share/skin/default/layout/list_view.tt @@ -1,4 +1,4 @@ -=extends grid_view +=extends collection/grid =for layout widget diff --git a/share/skin/default/layout/object.tt b/share/skin/default/layout/object.tt new file mode 100644 index 0000000..cec7b4d --- /dev/null +++ b/share/skin/default/layout/object.tt @@ -0,0 +1,9 @@ +=for layout widget + + [% field_list %] + +=for layout field + + [% call_next %]
    + +=cut diff --git a/share/skin/default/layout/object_view.tt b/share/skin/default/layout/object_view.tt deleted file mode 100644 index cec7b4d..0000000 --- a/share/skin/default/layout/object_view.tt +++ /dev/null @@ -1,9 +0,0 @@ -=for layout widget - - [% field_list %] - -=for layout field - - [% call_next %]
    - -=cut -- cgit v1.2.3-54-g00ecf