=for layout widget
-[% members %]
+<div id="collection_members">
+ [% members %]
+</div>
-=cut
\ No newline at end of file
+=cut
=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
=for layout widget
-[% pager %]
+[% pager_fragment %]
[% call_next %]
-[% pager %]
+[% pager_fragment %]
[% actions %]
=for layout widget
+<div id="object_field_list">
[% field_list %]
+</div>
=for layout field
- [% call_next %] <br>
+ [% call_next %]
=cut
=for layout widget
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+<html>
<head>
[% head %]
=for layout head_style
<!-- stylesheet links go here -->
-
+
=for layout body
[% inner %]
=for layout header
-<h1>[% title %]</h1>
+<span class="site_layout_title">[% title %]</span>
=cut
-extends base
+extends default
widget_search_path ComponentUI::View::Site::Widget
-=extends NEXT
+=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>
=for layout field
-[% call_next %]
+[% call_next %] <br />
=for layout message_layout
- <span>[% message %]</span>
+ <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 -->
=cut
--- /dev/null
+=for layout widget
+ <a href="[% uri %]">[% label %]</a>
+=cut
+++ /dev/null
-=extends NEXT
-
-=for layout label
-
- [% label %]:
-
-=cut
-=extends NEXT
+=for layout widget
+
+[% label %]
+[% list %]
=for layout label
- [% content | html %]:
+<strong > [% content | html %]: </strong>
+
+=for layout list
+
+<ul>
+[% content %]
+</ul>
+
+=for layout item
+
+<li>[% content | html %]</li>
-=cut
+=cut
\ No newline at end of file
--- /dev/null
+=extends field
+
+=cut
-=extends NEXT
+=for layout widget
+
+[% label_box %]
+[% list %]
=for layout label_box
- [% label %]:
+<strong> [% label %]: </strong>
+
+=for layout list
+
+<ul>
+[% call_next %]
+</ul>
+
+=for layout item
+
+<li>[% name %]</li>
=cut
--- /dev/null
+=extends field
+
+=cut
--- /dev/null
+=extends field
+
+=cut
-=extends NEXT
+=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>
+<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
--- /dev/null
+=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
-=extends NEXT
+=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=">>" name="[% event_id_add_all_values %]" />
-<input type="submit" value=">" name="[% event_id_do_add_values %]" />
-<input type="submit" value="<" name="[% event_id_do_remove_values %]" />
-<input type="submit" value="<<" name="[% event_id_remove_all_values %]" />
+<input type="submit" value=">>" name="[% event_id_add_all_values %]" /> <br />
+<input type="submit" value=">" name="[% event_id_do_add_values %]" /> <br />
+<input type="submit" value="<" name="[% event_id_do_remove_values %]" /> <br />
+<input type="submit" value="<<" name="[% event_id_remove_all_values %]" /> <br />
=cut
--- /dev/null
+=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
--- /dev/null
+=extends field/mutable
+
+=cut
--- /dev/null
+=extends field/mutable
+
+=cut
--- /dev/null
+=for layout widget
+
+[% hidden_list %]
+
+=for layout hidden_field
+
+<input type="hidden" name="[% field_name %]" value="[% field_value %]" />
+
+=cut
--- /dev/null
+=extends field/mutable
+
+=cut
--- /dev/null
+=extends field/mutable/password
+
+=for layout widget
+
+[% call_next %]
+[% check_value %]
+
+=cut
--- /dev/null
+=extends field/mutable
+
+=cut
--- /dev/null
+=extends field/mutable
+
+=cut
--- /dev/null
+=extends field/mutable
+
+=cut
--- /dev/null
+=extends field/mutable
+
+=for layout field
+
+<textarea name="[% field_name %]" id="[% field_id %]">[%
+ field_value
+%]</textarea>
+
+=cut
-=extends NEXT
+=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>
+ <span> [% content_str | html %] </span> <br />
[% END %]
=cut
--- /dev/null
+=extends field
+
+=cut
--- /dev/null
+=extends field
+
+=cut
--- /dev/null
+=extends field
+
+=cut
--- /dev/null
+=extends field
+
+=cut
+++ /dev/null
-=extends NEXT
-
-=for layout actions
-
-<ul>
- [% call_next %]
-</ul>
-
-=for layout pager
-
-<ul>
- [% first_page %]
- [% previous_page %]
- [% page_list %]
- [% next_page %]
- [% last_page %]
-</ul>
-
-=cut
=for layout field
- [% call_next %]
+ [% call_next %] <br>
=cut
--- /dev/null
+=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">
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+
+<head>
+ [% head %]
+</head>
+
+<body>
+ [% body %]
+</body>
+
+</html>
+
+=for layout head_style
+
+=cut
--- /dev/null
+=for layout widget
+
+[% value | html %]
+
+=cut
\ No newline at end of file
--- /dev/null
+=for layout widget
+
+[% list %]
+
+=for layout list
+
+<ul>
+[% content %]
+</ul>
+
+=for layout item
+
+<li>[% value | html %]</li>
+
+=cut
--- /dev/null
+=for layout widget
+
+[% value | html %]
+
+=cut
--- /dev/null
+=for layout widget
+
+[% image %]
+
+=for layout has_image
+
+<img src="[% uri %]">
+
+=for layout no_image
+
+=cut
\ No newline at end of file
--- /dev/null
+=for layout widget
+
+[% list %]
+
+=for layout list
+
+<ul>
+[% content %]
+</ul>
+
+=for layout item
+
+<li>[% value | html %]</li>
+
+=cut
\ No newline at end of file
--- /dev/null
+=for layout widget
+
+[% value | html %]
+
+=cut
--- /dev/null
+=for layout widget
+
+[% value | html %]
+
+=cut
--- /dev/null
+=for layout widget
+
+[% value | html %]
+
+=cut
\ No newline at end of file
--- /dev/null
+=for layout widget
+
+[% value | html %]
+
+=cut
\ No newline at end of file