aboutsummaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/skin/base/layout/action.tt56
-rw-r--r--share/skin/base/layout/action/link.tt7
-rw-r--r--share/skin/base/layout/collection.tt7
-rw-r--r--share/skin/base/layout/collection/grid.tt (renamed from share/skin/default/layout/collection/grid.tt)0
-rw-r--r--share/skin/base/layout/collection/grid/member.tt (renamed from share/skin/default/layout/collection/grid/member.tt)0
-rw-r--r--share/skin/base/layout/collection/grid/member/with_actions.tt (renamed from share/skin/default/layout/collection/grid/member/with_actions.tt)0
-rw-r--r--share/skin/base/layout/field.tt (renamed from share/skin/default/layout/field.tt)4
-rw-r--r--share/skin/base/layout/field/array.tt20
-rw-r--r--share/skin/base/layout/field/boolean.tt3
-rw-r--r--share/skin/base/layout/field/collection.tt20
-rw-r--r--share/skin/base/layout/field/date_time.tt3
-rw-r--r--share/skin/base/layout/field/integer.tt3
-rw-r--r--share/skin/base/layout/field/mutable.tt33
-rw-r--r--share/skin/base/layout/field/mutable/boolean.tt18
-rw-r--r--share/skin/base/layout/field/mutable/choose_many.tt50
-rw-r--r--share/skin/base/layout/field/mutable/choose_one.tt27
-rw-r--r--share/skin/base/layout/field/mutable/date_time.tt3
-rw-r--r--share/skin/base/layout/field/mutable/file.tt3
-rw-r--r--share/skin/base/layout/field/mutable/hidden_array.tt9
-rw-r--r--share/skin/base/layout/field/mutable/integer.tt3
-rw-r--r--share/skin/base/layout/field/mutable/matching_passwords.tt8
-rw-r--r--share/skin/base/layout/field/mutable/number.tt3
-rw-r--r--share/skin/base/layout/field/mutable/password.tt3
-rw-r--r--share/skin/base/layout/field/mutable/string.tt3
-rw-r--r--share/skin/base/layout/field/mutable/text.tt9
-rw-r--r--share/skin/base/layout/field/mutable/time_range.tt25
-rw-r--r--share/skin/base/layout/field/number.tt3
-rw-r--r--share/skin/base/layout/field/related_object.tt3
-rw-r--r--share/skin/base/layout/field/string.tt3
-rw-r--r--share/skin/base/layout/field/text.tt3
-rw-r--r--share/skin/base/layout/list_view.tt (renamed from share/skin/default/layout/list_view.tt)6
-rw-r--r--share/skin/base/layout/object.tt13
-rw-r--r--share/skin/base/layout/site_layout.tt45
-rw-r--r--share/skin/base/layout/value/boolean.tt (renamed from share/skin/default/layout/collection.tt)2
-rw-r--r--share/skin/base/layout/value/collection.tt15
-rw-r--r--share/skin/base/layout/value/date_time.tt5
-rw-r--r--share/skin/base/layout/value/image.tt11
-rw-r--r--share/skin/base/layout/value/list.tt15
-rw-r--r--share/skin/base/layout/value/number.tt5
-rw-r--r--share/skin/base/layout/value/related_object.tt5
-rw-r--r--share/skin/base/layout/value/string.tt5
-rw-r--r--share/skin/base/layout/value/text.tt5
-rw-r--r--share/skin/default/layout/action.tt56
-rw-r--r--share/skin/default/layout/object.tt4
-rw-r--r--share/skin/default/layout/site_layout.tt33
-rw-r--r--share/skin/default/skin.conf1
46 files changed, 466 insertions, 92 deletions
diff --git a/share/skin/base/layout/action.tt b/share/skin/base/layout/action.tt
new file mode 100644
index 0000000..1db6e35
--- /dev/null
+++ b/share/skin/base/layout/action.tt
@@ -0,0 +1,56 @@
+=for layout widget
+
+<div id="action_form">
+ <form action="" method="post" enctype="multipart/form-data">
+ [% header %]
+ [% field_list %]
+ [% buttons %]
+ [% footer %]
+ </form>
+</div>
+
+=for layout header
+
+=for layout field_list
+
+<div id="action_field_list">
+ [% call_next %]
+</div>
+
+=for layout field
+
+<span class="action_field">
+ [% call_next %]
+</span>
+
+=for layout message_layout
+
+<span class="action_message">[% message %]</span>
+
+=for layout buttons
+ [% message %]
+ [% ok_button_fragment %]
+ [% apply_button_fragment %]
+ [% cancel_button_fragment %]
+
+=for layout standard_button
+
+<span class="action_button">
+ <input type="submit" class="button" name="[% event_id %]" value="[% label %]" />
+</span>
+
+=for layout ok_button
+
+[% standard_button %]
+
+=for layout apply_button
+
+[% standard_button %]
+
+=for layout cancel_button
+
+[% standard_button %]
+
+=for layout footer
+
+=cut
diff --git a/share/skin/base/layout/action/link.tt b/share/skin/base/layout/action/link.tt
new file mode 100644
index 0000000..41cee96
--- /dev/null
+++ b/share/skin/base/layout/action/link.tt
@@ -0,0 +1,7 @@
+=for layout widget
+
+<span class="action_link">
+ <a href="[% uri %]">[% label %]</a>
+</span>
+
+=cut
diff --git a/share/skin/base/layout/collection.tt b/share/skin/base/layout/collection.tt
new file mode 100644
index 0000000..691b01e
--- /dev/null
+++ b/share/skin/base/layout/collection.tt
@@ -0,0 +1,7 @@
+=for layout widget
+
+<div id="collection_members">
+ [% members %]
+</div>
+
+=cut
diff --git a/share/skin/default/layout/collection/grid.tt b/share/skin/base/layout/collection/grid.tt
index bfde10d..bfde10d 100644
--- a/share/skin/default/layout/collection/grid.tt
+++ b/share/skin/base/layout/collection/grid.tt
diff --git a/share/skin/default/layout/collection/grid/member.tt b/share/skin/base/layout/collection/grid/member.tt
index 9cf24e2..9cf24e2 100644
--- a/share/skin/default/layout/collection/grid/member.tt
+++ b/share/skin/base/layout/collection/grid/member.tt
diff --git a/share/skin/default/layout/collection/grid/member/with_actions.tt b/share/skin/base/layout/collection/grid/member/with_actions.tt
index a0bca88..a0bca88 100644
--- a/share/skin/default/layout/collection/grid/member/with_actions.tt
+++ b/share/skin/base/layout/collection/grid/member/with_actions.tt
diff --git a/share/skin/default/layout/field.tt b/share/skin/base/layout/field.tt
index 99954ab..a4508d6 100644
--- a/share/skin/default/layout/field.tt
+++ b/share/skin/base/layout/field.tt
@@ -5,10 +5,10 @@
=for layout label
-<strong > [% label %]: </strong>
+<span class="field_label"> [% label %]: </span>
=for layout value_layout
-[% field_value %]
+<span class="field_value">[% field_value %]</span>
=cut
diff --git a/share/skin/base/layout/field/array.tt b/share/skin/base/layout/field/array.tt
new file mode 100644
index 0000000..2b049b5
--- /dev/null
+++ b/share/skin/base/layout/field/array.tt
@@ -0,0 +1,20 @@
+=for layout widget
+
+[% label %]
+[% list %]
+
+=for layout label
+
+<strong > [% content | html %]: </strong>
+
+=for layout list
+
+<ul>
+[% content %]
+</ul>
+
+=for layout item
+
+<li>[% content | html %]</li>
+
+=cut \ No newline at end of file
diff --git a/share/skin/base/layout/field/boolean.tt b/share/skin/base/layout/field/boolean.tt
new file mode 100644
index 0000000..18ab448
--- /dev/null
+++ b/share/skin/base/layout/field/boolean.tt
@@ -0,0 +1,3 @@
+=extends field
+
+=cut
diff --git a/share/skin/base/layout/field/collection.tt b/share/skin/base/layout/field/collection.tt
new file mode 100644
index 0000000..47244e7
--- /dev/null
+++ b/share/skin/base/layout/field/collection.tt
@@ -0,0 +1,20 @@
+=for layout widget
+
+[% label_box %]
+[% list %]
+
+=for layout label_box
+
+<strong> [% label %]: </strong>
+
+=for layout list
+
+<ul>
+[% call_next %]
+</ul>
+
+=for layout item
+
+<li>[% name %]</li>
+
+=cut
diff --git a/share/skin/base/layout/field/date_time.tt b/share/skin/base/layout/field/date_time.tt
new file mode 100644
index 0000000..18ab448
--- /dev/null
+++ b/share/skin/base/layout/field/date_time.tt
@@ -0,0 +1,3 @@
+=extends field
+
+=cut
diff --git a/share/skin/base/layout/field/integer.tt b/share/skin/base/layout/field/integer.tt
new file mode 100644
index 0000000..18ab448
--- /dev/null
+++ b/share/skin/base/layout/field/integer.tt
@@ -0,0 +1,3 @@
+=extends field
+
+=cut
diff --git a/share/skin/base/layout/field/mutable.tt b/share/skin/base/layout/field/mutable.tt
new file mode 100644
index 0000000..3983263
--- /dev/null
+++ b/share/skin/base/layout/field/mutable.tt
@@ -0,0 +1,33 @@
+=for layout widget
+
+[% label_fragment %] [% field %] [% message_fragment %]
+
+=for layout label
+
+<label for="[%field_id%]" [% field_is_required %]>[% label %]:</label>
+
+=for layout field_is_required_yes
+
+class="required_field"
+
+=for layout field_is_required_no
+
+=for layout field
+
+<!-- Why is this here??? -->
+FIELD GOES HERE
+
+=for layout message
+
+<span>[% message %]</span><br />
+
+=for layout field
+
+<input type="[% field_type %]" name="[% field_name %]" id="[% field_id %]"
+ [% field_body %] />
+
+=for layout field_body
+
+value="[% field_value %]"
+
+=cut
diff --git a/share/skin/base/layout/field/mutable/boolean.tt b/share/skin/base/layout/field/mutable/boolean.tt
new file mode 100644
index 0000000..6d70f36
--- /dev/null
+++ b/share/skin/base/layout/field/mutable/boolean.tt
@@ -0,0 +1,18 @@
+=extends field/mutable
+
+=for layout widget
+
+<input name="[% exists_event %]" type="hidden" value="[% exists_value %]" />
+[% call_next %]
+
+=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/base/layout/field/mutable/choose_many.tt b/share/skin/base/layout/field/mutable/choose_many.tt
new file mode 100644
index 0000000..ed6c136
--- /dev/null
+++ b/share/skin/base/layout/field/mutable/choose_many.tt
@@ -0,0 +1,50 @@
+=extends field/mutable
+
+=for layout widget
+
+[% label_fragment %]
+<br />
+[% message_fragment %]
+[% field %]
+
+=for layout field
+
+<table>
+ <tr>
+ <td> [% available_values %] </td>
+ <td> [% action_buttons %] </td>
+ <td>
+ [% selected_values %]
+ [% current_values %]
+ </td>
+ </tr>
+</table>
+
+=for layout available_values
+
+<select size="10" multiple="multiple" name="[% event_id_add_values %]">
+ [% call_next %]
+</select>
+
+=for layout selected_values
+
+<select size="10" multiple="multiple" name="[% event_id_remove_values %]">
+ [% call_next %]
+</select>
+
+=for layout hidden_value
+
+<input type="hidden" name="[% field_name %]" value="[% hidden_value %]">
+
+=for layout value_option
+
+<option value="[% option_value %]">[% option_name %]</option>
+
+=for layout action_buttons
+
+<input type="submit" value="&gt;&gt;" name="[% event_id_add_all_values %]" /> <br />
+<input type="submit" value="&gt;" name="[% event_id_do_add_values %]" /> <br />
+<input type="submit" value="&lt;" name="[% event_id_do_remove_values %]" /> <br />
+<input type="submit" value="&lt;&lt;" name="[% event_id_remove_all_values %]" /> <br />
+
+=cut
diff --git a/share/skin/base/layout/field/mutable/choose_one.tt b/share/skin/base/layout/field/mutable/choose_one.tt
new file mode 100644
index 0000000..74e8d8c
--- /dev/null
+++ b/share/skin/base/layout/field/mutable/choose_one.tt
@@ -0,0 +1,27 @@
+=extends field/mutable
+
+=for layout field
+
+<select name="[% field_name %]" id="[% field_id %]">
+ [% option_is_required %]
+ [% option_list %]
+</select>
+
+=for layout option_is_required_yes
+
+=for layout option_is_required_no
+
+<option value="">--</option>
+
+=for layout option
+
+ <option value="[% option_value %]" [% option_is_selected %]
+ > [% option_name %]</option>
+
+=for layout option_is_selected_yes
+
+selected="selected"
+
+=for layout option_is_selected_no
+
+=cut
diff --git a/share/skin/base/layout/field/mutable/date_time.tt b/share/skin/base/layout/field/mutable/date_time.tt
new file mode 100644
index 0000000..05a69a5
--- /dev/null
+++ b/share/skin/base/layout/field/mutable/date_time.tt
@@ -0,0 +1,3 @@
+=extends field/mutable
+
+=cut
diff --git a/share/skin/base/layout/field/mutable/file.tt b/share/skin/base/layout/field/mutable/file.tt
new file mode 100644
index 0000000..05a69a5
--- /dev/null
+++ b/share/skin/base/layout/field/mutable/file.tt
@@ -0,0 +1,3 @@
+=extends field/mutable
+
+=cut
diff --git a/share/skin/base/layout/field/mutable/hidden_array.tt b/share/skin/base/layout/field/mutable/hidden_array.tt
new file mode 100644
index 0000000..0f5e35d
--- /dev/null
+++ b/share/skin/base/layout/field/mutable/hidden_array.tt
@@ -0,0 +1,9 @@
+=for layout widget
+
+[% hidden_list %]
+
+=for layout hidden_field
+
+<input type="hidden" name="[% field_name %]" value="[% field_value %]" />
+
+=cut
diff --git a/share/skin/base/layout/field/mutable/integer.tt b/share/skin/base/layout/field/mutable/integer.tt
new file mode 100644
index 0000000..05a69a5
--- /dev/null
+++ b/share/skin/base/layout/field/mutable/integer.tt
@@ -0,0 +1,3 @@
+=extends field/mutable
+
+=cut
diff --git a/share/skin/base/layout/field/mutable/matching_passwords.tt b/share/skin/base/layout/field/mutable/matching_passwords.tt
new file mode 100644
index 0000000..d07b784
--- /dev/null
+++ b/share/skin/base/layout/field/mutable/matching_passwords.tt
@@ -0,0 +1,8 @@
+=extends field/mutable/password
+
+=for layout widget
+
+[% call_next %]
+[% check_value %]
+
+=cut
diff --git a/share/skin/base/layout/field/mutable/number.tt b/share/skin/base/layout/field/mutable/number.tt
new file mode 100644
index 0000000..05a69a5
--- /dev/null
+++ b/share/skin/base/layout/field/mutable/number.tt
@@ -0,0 +1,3 @@
+=extends field/mutable
+
+=cut
diff --git a/share/skin/base/layout/field/mutable/password.tt b/share/skin/base/layout/field/mutable/password.tt
new file mode 100644
index 0000000..05a69a5
--- /dev/null
+++ b/share/skin/base/layout/field/mutable/password.tt
@@ -0,0 +1,3 @@
+=extends field/mutable
+
+=cut
diff --git a/share/skin/base/layout/field/mutable/string.tt b/share/skin/base/layout/field/mutable/string.tt
new file mode 100644
index 0000000..05a69a5
--- /dev/null
+++ b/share/skin/base/layout/field/mutable/string.tt
@@ -0,0 +1,3 @@
+=extends field/mutable
+
+=cut
diff --git a/share/skin/base/layout/field/mutable/text.tt b/share/skin/base/layout/field/mutable/text.tt
new file mode 100644
index 0000000..b4038aa
--- /dev/null
+++ b/share/skin/base/layout/field/mutable/text.tt
@@ -0,0 +1,9 @@
+=extends field/mutable
+
+=for layout field
+
+<textarea name="[% field_name %]" id="[% field_id %]">[%
+ field_value
+%]</textarea>
+
+=cut
diff --git a/share/skin/base/layout/field/mutable/time_range.tt b/share/skin/base/layout/field/mutable/time_range.tt
new file mode 100644
index 0000000..954c40b
--- /dev/null
+++ b/share/skin/base/layout/field/mutable/time_range.tt
@@ -0,0 +1,25 @@
+=for layout widget
+
+[% label %] [% field %] [% message %]
+
+=for layout field
+
+TODO
+
+=for layout label
+
+<!-- This conditional goes away when mst comes up with something better -->
+[% content_str = GET content; %]
+[% IF content_str.length; %]
+ <label> [% content_str | html %]: </label>
+[% END; %]
+
+=for layout message
+
+<!-- This conditional goes away when mst comes up with something better -->
+[% content_str = GET content; %]
+[% IF content_str.length; %]
+ <span> [% content_str | html %] </span> <br />
+[% END %]
+
+=cut
diff --git a/share/skin/base/layout/field/number.tt b/share/skin/base/layout/field/number.tt
new file mode 100644
index 0000000..18ab448
--- /dev/null
+++ b/share/skin/base/layout/field/number.tt
@@ -0,0 +1,3 @@
+=extends field
+
+=cut
diff --git a/share/skin/base/layout/field/related_object.tt b/share/skin/base/layout/field/related_object.tt
new file mode 100644
index 0000000..18ab448
--- /dev/null
+++ b/share/skin/base/layout/field/related_object.tt
@@ -0,0 +1,3 @@
+=extends field
+
+=cut
diff --git a/share/skin/base/layout/field/string.tt b/share/skin/base/layout/field/string.tt
new file mode 100644
index 0000000..18ab448
--- /dev/null
+++ b/share/skin/base/layout/field/string.tt
@@ -0,0 +1,3 @@
+=extends field
+
+=cut
diff --git a/share/skin/base/layout/field/text.tt b/share/skin/base/layout/field/text.tt
new file mode 100644
index 0000000..18ab448
--- /dev/null
+++ b/share/skin/base/layout/field/text.tt
@@ -0,0 +1,3 @@
+=extends field
+
+=cut
diff --git a/share/skin/default/layout/list_view.tt b/share/skin/base/layout/list_view.tt
index f7a4ef4..4c41e56 100644
--- a/share/skin/default/layout/list_view.tt
+++ b/share/skin/base/layout/list_view.tt
@@ -19,7 +19,7 @@
<a href="[% order_uri %]">[% call_next %]</a>
=for layout actions
-<div class="collection_actions">
+<div id="list_view_actions">
<ul>
[% call_next %]
</ul>
@@ -30,13 +30,15 @@
=for layout pager
-<ul class="pager">
+<div id="list_view_pager">
+<ul>
[% first_page %]
[% previous_page %]
[% page_list %]
[% next_page %]
[% last_page %]
</ul>
+</div>
=for layout numbered_page_this_page
diff --git a/share/skin/base/layout/object.tt b/share/skin/base/layout/object.tt
new file mode 100644
index 0000000..fd9c57d
--- /dev/null
+++ b/share/skin/base/layout/object.tt
@@ -0,0 +1,13 @@
+=for layout widget
+
+<div id="object_field_list">
+ [% field_list %]
+</div>
+
+=for layout field
+
+<span class="object_field">
+ [% call_next %]
+</span>
+
+=cut
diff --git a/share/skin/base/layout/site_layout.tt b/share/skin/base/layout/site_layout.tt
new file mode 100644
index 0000000..16dfc12
--- /dev/null
+++ b/share/skin/base/layout/site_layout.tt
@@ -0,0 +1,45 @@
+=for layout widget
+
+<html>
+
+<head>
+ [% head %]
+</head>
+
+<body>
+ [% body %]
+</body>
+
+</html>
+
+=for layout head
+
+ <title>[% title %]</title>
+
+ [% head_meta %]
+ [% head_style %]
+
+=for layout head_meta
+
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ [% meta_info %]
+
+=for layout meta_info
+
+[% call_next %]
+
+=for layout meta_member
+
+<meta name="[% meta_name %]" content="[% meta_value %]" />[% "\n" %]
+
+=for layout head_style
+
+=for layout body
+
+[% inner %]
+
+=for layout header
+
+<span class="site_layout_title">[% title %]</span>
+
+=cut
diff --git a/share/skin/default/layout/collection.tt b/share/skin/base/layout/value/boolean.tt
index d4703f1..310783b 100644
--- a/share/skin/default/layout/collection.tt
+++ b/share/skin/base/layout/value/boolean.tt
@@ -1,5 +1,5 @@
=for layout widget
-[% members %]
+[% value | html %]
=cut \ No newline at end of file
diff --git a/share/skin/base/layout/value/collection.tt b/share/skin/base/layout/value/collection.tt
new file mode 100644
index 0000000..c866aa8
--- /dev/null
+++ b/share/skin/base/layout/value/collection.tt
@@ -0,0 +1,15 @@
+=for layout widget
+
+[% list %]
+
+=for layout list
+
+<ul>
+[% content %]
+</ul>
+
+=for layout item
+
+<li>[% value | html %]</li>
+
+=cut
diff --git a/share/skin/base/layout/value/date_time.tt b/share/skin/base/layout/value/date_time.tt
new file mode 100644
index 0000000..0ee0d75
--- /dev/null
+++ b/share/skin/base/layout/value/date_time.tt
@@ -0,0 +1,5 @@
+=for layout widget
+
+[% value | html %]
+
+=cut
diff --git a/share/skin/base/layout/value/image.tt b/share/skin/base/layout/value/image.tt
new file mode 100644
index 0000000..5ebea74
--- /dev/null
+++ b/share/skin/base/layout/value/image.tt
@@ -0,0 +1,11 @@
+=for layout widget
+
+[% image %]
+
+=for layout has_image
+
+<img src="[% uri %]">
+
+=for layout no_image
+
+=cut \ No newline at end of file
diff --git a/share/skin/base/layout/value/list.tt b/share/skin/base/layout/value/list.tt
new file mode 100644
index 0000000..bd8ad27
--- /dev/null
+++ b/share/skin/base/layout/value/list.tt
@@ -0,0 +1,15 @@
+=for layout widget
+
+[% list %]
+
+=for layout list
+
+<ul>
+[% content %]
+</ul>
+
+=for layout item
+
+<li>[% value | html %]</li>
+
+=cut \ No newline at end of file
diff --git a/share/skin/base/layout/value/number.tt b/share/skin/base/layout/value/number.tt
new file mode 100644
index 0000000..0ee0d75
--- /dev/null
+++ b/share/skin/base/layout/value/number.tt
@@ -0,0 +1,5 @@
+=for layout widget
+
+[% value | html %]
+
+=cut
diff --git a/share/skin/base/layout/value/related_object.tt b/share/skin/base/layout/value/related_object.tt
new file mode 100644
index 0000000..0ee0d75
--- /dev/null
+++ b/share/skin/base/layout/value/related_object.tt
@@ -0,0 +1,5 @@
+=for layout widget
+
+[% value | html %]
+
+=cut
diff --git a/share/skin/base/layout/value/string.tt b/share/skin/base/layout/value/string.tt
new file mode 100644
index 0000000..310783b
--- /dev/null
+++ b/share/skin/base/layout/value/string.tt
@@ -0,0 +1,5 @@
+=for layout widget
+
+[% value | html %]
+
+=cut \ No newline at end of file
diff --git a/share/skin/base/layout/value/text.tt b/share/skin/base/layout/value/text.tt
new file mode 100644
index 0000000..310783b
--- /dev/null
+++ b/share/skin/base/layout/value/text.tt
@@ -0,0 +1,5 @@
+=for layout widget
+
+[% value | html %]
+
+=cut \ No newline at end of file
diff --git a/share/skin/default/layout/action.tt b/share/skin/default/layout/action.tt
index 67d6c37..4c32a37 100644
--- a/share/skin/default/layout/action.tt
+++ b/share/skin/default/layout/action.tt
@@ -1,19 +1,4 @@
-=for layout widget
-
- <form action="" method="post" enctype="multipart/form-data">
- [% header %]
- [% field_list %]
- [% buttons %]
- [% footer %]
- </form>
-
-=for layout header
-
-<!-- header -->
-
-=for layout field_list
-
-<p> [% call_next %] </p>
+=extends NEXT
=for layout field
@@ -21,43 +6,6 @@
=for layout message_layout
- <span>[% message %]</span> <br />
-
-=for layout buttons
- [% message %]
- [% ok_button_fragment %]
- [% apply_button_fragment %]
- [% cancel_button_fragment %]
-
-=for layout standard_button
-
- <input type="submit" class="button" name="[% event_id %]" value="[% label %]" />
-
-=for layout ok_button
-
-[% standard_button %]
-
-=for layout apply_button
-
-[% standard_button %]
-
-=for layout cancel_button
-
-[% standard_button %]
-
-=for layout whut
-
- [% IF (viewport.ordered_fields.size != 0) && allowed_events.grep('^apply$').size; %]
- <input type="submit" name="[% viewport.event_id_for('apply') | html%]" value="[% apply_label %]" />
- [% END; %]
-
- [% IF allowed_events.grep('^close$').size; %]
- <input type="submit" name="[% viewport.event_id_for('close') | html%]" value="[% close_label %]" />
- [% END; %]
- <br />
-
-=for layout footer
-
- <!-- footer -->
+[% call_next %] <br />
=cut
diff --git a/share/skin/default/layout/object.tt b/share/skin/default/layout/object.tt
index cec7b4d..20dee31 100644
--- a/share/skin/default/layout/object.tt
+++ b/share/skin/default/layout/object.tt
@@ -1,6 +1,4 @@
-=for layout widget
-
- [% field_list %]
+=extends NEXT
=for layout field
diff --git a/share/skin/default/layout/site_layout.tt b/share/skin/default/layout/site_layout.tt
index e9b70ca..17d78ca 100644
--- a/share/skin/default/layout/site_layout.tt
+++ b/share/skin/default/layout/site_layout.tt
@@ -1,4 +1,7 @@
+=extends NEXT
+
=for layout widget
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@@ -14,36 +17,6 @@
</html>
-=for layout head
-
- <title>[% title %]</title>
-
- [% head_meta %]
- [% head_style %]
-
-=for layout head_meta
-
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- [% meta_info %]
-
-=for layout meta_info
-
-[% call_next %]
-
-=for layout meta_member
-
-<meta name="[% meta_name %]" content="[% meta_value %]" />[% "\n" %]
-
=for layout head_style
- <!-- stylesheet links go here -->
-
-=for layout body
-
-[% inner %]
-
-=for layout header
-
-<h1>[% title %]</h1>
-
=cut
diff --git a/share/skin/default/skin.conf b/share/skin/default/skin.conf
new file mode 100644
index 0000000..65b4978
--- /dev/null
+++ b/share/skin/default/skin.conf
@@ -0,0 +1 @@
+extends base