2024-04-09 11:33:50 +02:00
|
|
|
<root>
|
2024-10-18 20:01:59 +02:00
|
|
|
<Select><![CDATA[
|
2024-04-09 11:33:50 +02:00
|
|
|
<p><span class=label>
|
2024-04-10 09:41:31 +02:00
|
|
|
%=l('${prefix}_${Label}')
|
2024-04-09 11:33:50 +02:00
|
|
|
</span><span class=data>
|
2024-10-19 19:58:55 +02:00
|
|
|
% my @${Name}_options = ${structure:OptionsInPerl};
|
2024-04-09 11:33:50 +02:00
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%= select_field '${Name}' => @${Name}_options, class => 'input'
|
|
|
|
<br></span> </p>
|
2024-10-18 20:01:59 +02:00
|
|
|
]]></Select>
|
2024-09-15 13:06:34 +02:00
|
|
|
|
|
|
|
|
2024-04-09 11:33:50 +02:00
|
|
|
|
|
|
|
<Textarea><![CDATA[
|
|
|
|
<span class=label>
|
2024-04-10 09:41:31 +02:00
|
|
|
%=l('${prefix}_${Label}')
|
2024-04-09 11:33:50 +02:00
|
|
|
</span><span class=data>
|
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
2024-11-05 21:01:05 +01:00
|
|
|
%= text_area '${Name}', cols=>${cols | 40}, rows=>${rows | 10}, Readonly=>'${Readonly | false}'
|
2024-04-09 11:33:50 +02:00
|
|
|
</span><br>
|
|
|
|
]]></Textarea>
|
|
|
|
|
|
|
|
<Date><![CDATA[
|
|
|
|
<span class=label>
|
2024-05-05 10:31:10 +02:00
|
|
|
%=l('${prefix}_${Label}')
|
2024-04-09 11:33:50 +02:00
|
|
|
</span><span class=data>
|
2024-04-09 16:36:30 +02:00
|
|
|
%=date_field '${Name}' =>$$${Name}, pattern=>${regexp | .*}
|
2024-04-09 11:33:50 +02:00
|
|
|
</span><br>
|
|
|
|
]]></Date>
|
|
|
|
|
2024-09-15 13:06:34 +02:00
|
|
|
<Time><![CDATA[
|
|
|
|
<span class=label>
|
|
|
|
%=l('${prefix}_${Label}')
|
|
|
|
</span><span class=data>
|
|
|
|
%=time_field '${Name}' =>$$${Name}, pattern=>${regexp | .*}
|
|
|
|
</span><br>
|
|
|
|
]]></Time>
|
|
|
|
|
|
|
|
|
2024-09-15 17:01:09 +02:00
|
|
|
<Text><![CDATA[
|
2024-04-09 11:33:50 +02:00
|
|
|
<p><span class=label>
|
2024-04-10 09:41:31 +02:00
|
|
|
%=l('${prefix}_${Label}')
|
2024-04-09 11:33:50 +02:00
|
|
|
</span><span class=data>
|
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
2024-09-20 18:31:09 +02:00
|
|
|
%= text_field '${Name}', size => '${size | 50}', class => 'textinput ${Name}' , pattern=>'${regexp | ".*"}' , placeholder=>'${placeholder | Name}'
|
2024-04-09 11:33:50 +02:00
|
|
|
<br></span></p>
|
2024-09-15 17:01:09 +02:00
|
|
|
]]></Text>
|
2024-04-09 11:33:50 +02:00
|
|
|
|
2024-10-18 20:01:59 +02:00
|
|
|
<ReadonlyText><![CDATA[
|
|
|
|
<p><span class=label>
|
|
|
|
%=l('${prefix}_${Label}')
|
|
|
|
</span><span class=data>
|
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%= text_field '${Name}', size => '${size | 50}', class => 'textinput ${Name}' , pattern=>'${regexp | ".*"}' , placeholder=>'${placeholder | Name}', Readonly=>'true'
|
|
|
|
<br></span></p>
|
|
|
|
]]></ReadonlyText>
|
|
|
|
|
2024-04-28 13:03:06 +02:00
|
|
|
<SubHeader><![CDATA[
|
2024-09-22 12:57:14 +02:00
|
|
|
<h2 class='subh${type_serial}'><%=l('${Value}')%></h2>]]>
|
2024-04-28 13:03:06 +02:00
|
|
|
</SubHeader>
|
2024-09-16 15:01:17 +02:00
|
|
|
|
|
|
|
<Header><![CDATA[
|
2024-09-22 12:57:14 +02:00
|
|
|
<h1 class='head${type_serial}'><%=l('${Value}')%></h1>]]>
|
2024-09-16 15:01:17 +02:00
|
|
|
</Header>
|
2024-04-24 17:09:23 +02:00
|
|
|
|
|
|
|
<Paragraph><![CDATA[
|
2024-09-20 18:31:09 +02:00
|
|
|
<p class='paragraph para${type_serial}'>
|
2024-09-16 15:01:17 +02:00
|
|
|
%=l('${Value}')
|
2024-04-24 17:09:23 +02:00
|
|
|
</p>
|
|
|
|
]]></Paragraph>
|
2024-04-09 11:33:50 +02:00
|
|
|
|
|
|
|
<Submit><![CDATA[
|
|
|
|
<span class='data'>
|
2024-09-22 12:57:14 +02:00
|
|
|
%= submit_button l('${Value}'), class => 'action subm${type_serial}'
|
2024-04-09 11:33:50 +02:00
|
|
|
</span>]]>
|
|
|
|
</Submit>
|
2024-04-09 16:36:30 +02:00
|
|
|
|
2024-11-06 16:20:42 +01:00
|
|
|
<Search><![CDATA[
|
2024-04-09 16:36:30 +02:00
|
|
|
<p><span class=label>
|
2024-04-10 09:41:31 +02:00
|
|
|
%=l('${prefix}_${Label}')
|
2024-04-09 16:36:30 +02:00
|
|
|
</span><span class=data>
|
2024-09-15 13:06:34 +02:00
|
|
|
%=Search field
|
2024-11-05 19:31:24 +01:00
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%=search_field '${Name}' , class => 'searc${type_serial}'
|
2024-04-09 16:36:30 +02:00
|
|
|
</span>span></p>
|
|
|
|
]]>
|
2024-11-06 16:20:42 +01:00
|
|
|
</Search>
|
2024-04-09 16:36:30 +02:00
|
|
|
|
2024-11-06 16:20:42 +01:00
|
|
|
<Url><![CDATA[
|
2024-04-09 16:36:30 +02:00
|
|
|
<p><span class=label>
|
2024-05-05 10:31:10 +02:00
|
|
|
%=l('${Label}')
|
2024-04-09 16:36:30 +02:00
|
|
|
</span><span class=data>
|
2024-11-05 19:31:24 +01:00
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%=URL_field '${Name}' , class => 'url${type_serial}'
|
2024-04-09 16:36:30 +02:00
|
|
|
</span>span></p>
|
|
|
|
]]>
|
2024-11-06 16:20:42 +01:00
|
|
|
</Url>
|
2024-04-09 16:36:30 +02:00
|
|
|
|
2024-11-06 16:20:42 +01:00
|
|
|
<Tel><![CDATA[
|
2024-04-09 16:36:30 +02:00
|
|
|
<p><span class=label>
|
2024-05-05 10:31:10 +02:00
|
|
|
%=l('${Label}')
|
2024-04-09 16:36:30 +02:00
|
|
|
</span><span class=data>
|
2024-11-05 19:31:24 +01:00
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%=tel_field '${Name}', class => 'tel${type_serial}'
|
2024-04-09 16:36:30 +02:00
|
|
|
</span>span></p>
|
|
|
|
]]>
|
2024-11-06 16:20:42 +01:00
|
|
|
</Tel>
|
2024-04-09 16:36:30 +02:00
|
|
|
|
2024-11-06 16:16:27 +01:00
|
|
|
<Email><![CDATA[
|
2024-04-09 16:36:30 +02:00
|
|
|
<p><span class=label>
|
2024-05-05 10:31:10 +02:00
|
|
|
%=l('${Label}')
|
2024-04-09 16:36:30 +02:00
|
|
|
</span><span class=data>
|
2024-11-05 19:31:24 +01:00
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%=email_field '${Name}', class => 'emai${type_serial}'
|
2024-04-09 16:36:30 +02:00
|
|
|
</span>span></p>
|
|
|
|
]]>
|
2024-11-06 16:16:27 +01:00
|
|
|
</Email>
|
2024-04-09 16:36:30 +02:00
|
|
|
|
2024-11-06 16:20:42 +01:00
|
|
|
<Password><![CDATA[
|
2024-06-13 17:38:25 +02:00
|
|
|
<p><span class='label'>
|
2024-05-05 10:31:10 +02:00
|
|
|
%=l('${Label}')
|
2024-04-09 16:36:30 +02:00
|
|
|
</span><span class=data>
|
2024-11-05 19:31:24 +01:00
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%=password_field '${Name}', class => 'pass${type_serial}'
|
2024-04-09 16:36:30 +02:00
|
|
|
</span>span></p>
|
|
|
|
]]>
|
2024-11-06 16:20:42 +01:00
|
|
|
</Password>
|
2024-09-15 13:06:34 +02:00
|
|
|
|
2024-11-06 16:20:42 +01:00
|
|
|
<Timedate><![CDATA[
|
2024-09-15 13:06:34 +02:00
|
|
|
<p><span class='label'>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
2024-11-05 19:31:24 +01:00
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%=timedate_field '${Name}', class => 'time${type_serial}'
|
2024-09-15 13:06:34 +02:00
|
|
|
</span>span></p>
|
|
|
|
]]>
|
2024-11-06 16:20:42 +01:00
|
|
|
</Timedate>
|
2024-09-15 13:06:34 +02:00
|
|
|
|
2024-11-06 16:20:42 +01:00
|
|
|
<Week><![CDATA[
|
2024-09-15 13:06:34 +02:00
|
|
|
<p><span class='label'>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
2024-11-05 19:31:24 +01:00
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%=week_field '${Name}', class => 'week${type_serial}'
|
2024-09-15 13:06:34 +02:00
|
|
|
</span>span></p>
|
|
|
|
]]>
|
2024-11-06 16:20:42 +01:00
|
|
|
</Week>
|
2024-09-15 13:06:34 +02:00
|
|
|
|
2024-11-06 16:20:42 +01:00
|
|
|
<Month><![CDATA[
|
2024-09-15 13:06:34 +02:00
|
|
|
<p><span class='label'>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
2024-11-05 19:31:24 +01:00
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%=month_field '${Name}', class => 'mont${type_serial}'
|
2024-09-15 13:06:34 +02:00
|
|
|
</span>span></p>
|
|
|
|
]]>
|
2024-11-06 16:20:42 +01:00
|
|
|
</Month>
|
2024-09-15 13:06:34 +02:00
|
|
|
|
2024-11-06 16:20:42 +01:00
|
|
|
<Range><![CDATA[
|
2024-09-15 13:06:34 +02:00
|
|
|
<p><span class='label'>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
2024-11-05 19:31:24 +01:00
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%=range_field '${Name}', class => 'rang${type_serial}'
|
2024-09-15 13:06:34 +02:00
|
|
|
</span>span></p>
|
|
|
|
]]>
|
2024-11-06 16:20:42 +01:00
|
|
|
</Range>
|
2024-09-15 13:06:34 +02:00
|
|
|
|
2024-11-06 16:20:42 +01:00
|
|
|
<Radio><![CDATA[
|
2024-09-15 13:06:34 +02:00
|
|
|
<p><span class='label'>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
2024-11-05 19:31:24 +01:00
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%=radio_field '${Name}', class => 'radi${type_serial}'
|
2024-09-15 13:06:34 +02:00
|
|
|
</span>span></p>
|
|
|
|
]]>
|
2024-11-06 16:20:42 +01:00
|
|
|
</Radio>
|
2024-09-15 13:06:34 +02:00
|
|
|
|
2024-11-06 16:20:42 +01:00
|
|
|
<Number><![CDATA[
|
2024-09-15 13:06:34 +02:00
|
|
|
<p><span class='label'>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
2024-11-05 19:31:24 +01:00
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%=number_field '${Name}', class => 'numb${type_serial}'
|
2024-09-15 13:06:34 +02:00
|
|
|
</span>span></p>
|
|
|
|
]]>
|
2024-11-06 16:20:42 +01:00
|
|
|
</Number>
|
2024-09-15 13:06:34 +02:00
|
|
|
|
2024-11-06 16:20:42 +01:00
|
|
|
<File><![CDATA[
|
2024-09-15 13:06:34 +02:00
|
|
|
<p><span class='label'>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
2024-11-05 19:31:24 +01:00
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%=file_field '${Name}', class => 'file${type_serial}'
|
2024-09-15 13:06:34 +02:00
|
|
|
</span>span></p>
|
|
|
|
]]>
|
2024-11-06 16:20:42 +01:00
|
|
|
</File>
|
2024-09-15 13:06:34 +02:00
|
|
|
|
2024-11-06 16:20:42 +01:00
|
|
|
<Color><![CDATA[
|
2024-09-15 13:06:34 +02:00
|
|
|
<p><span class='label'>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
2024-11-05 19:31:24 +01:00
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%=color_field '${Name}', class => 'colo${type_serial}'
|
2024-09-15 13:06:34 +02:00
|
|
|
</span>span></p>
|
|
|
|
]]>
|
2024-11-06 16:20:42 +01:00
|
|
|
</Color>
|
2024-09-15 13:06:34 +02:00
|
|
|
|
2024-11-06 16:20:42 +01:00
|
|
|
<Checkbox><![CDATA[
|
2024-09-15 13:06:34 +02:00
|
|
|
<p><span class='label'>
|
|
|
|
%=l('${Label}')
|
|
|
|
</span><span class=data>
|
2024-11-05 19:31:24 +01:00
|
|
|
% param '${Name}' => $$${prefix}_data->{${Name}} unless param '${Name}';
|
|
|
|
%=checkbox_field '${Name}', class => 'chec${type_serial}'
|
2024-09-15 13:06:34 +02:00
|
|
|
</span>span></p>
|
|
|
|
]]>
|
2024-11-06 16:20:42 +01:00
|
|
|
</Checkbox>
|
2024-04-09 16:36:30 +02:00
|
|
|
|
2024-04-24 17:09:23 +02:00
|
|
|
<Table><![CDATA[
|
2024-09-20 18:31:09 +02:00
|
|
|
<br /><table class="sme-border TableSort sme-table ${classname} ">
|
|
|
|
<thead class='${classname}'>
|
2024-06-13 17:38:25 +02:00
|
|
|
<tr table-head-row><tal:block tal:repeat="ColHead TopHeadings">
|
|
|
|
<th class='sme-border table-head-col table-head-col-${ColHead} '><%=l('${ColHead}')%></th></tal:block>
|
2024-04-24 17:09:23 +02:00
|
|
|
</tr>
|
|
|
|
</thead>
|
2024-09-20 18:31:09 +02:00
|
|
|
<tbody class='${classname}'>
|
2024-04-25 17:23:07 +02:00
|
|
|
% my $control_data = $self->stash('${TableControl}');
|
2024-04-24 17:09:23 +02:00
|
|
|
% foreach my $row (@$control_data) {
|
2024-06-13 17:38:25 +02:00
|
|
|
<tr class='table-row'><tal:block tal:repeat="ColContent Columns">
|
2024-09-14 12:39:26 +02:00
|
|
|
<td class='sme-border table-col table-col-${ColContent}'><%=$c->render_to_string(inline=>$row->{'${ColContent}'})%></td></tal:block>
|
2024-04-24 17:09:23 +02:00
|
|
|
</tr>
|
|
|
|
%}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2024-04-09 16:36:30 +02:00
|
|
|
]]>
|
2024-04-24 17:09:23 +02:00
|
|
|
</Table>
|
2024-04-09 16:36:30 +02:00
|
|
|
|
2024-09-12 19:54:38 +02:00
|
|
|
<Preformatted><![CDATA[
|
2024-11-04 18:08:38 +01:00
|
|
|
<pre class='preformatted pref${type_serial}'>
|
|
|
|
${Value}
|
|
|
|
</pre>
|
2024-09-12 19:54:38 +02:00
|
|
|
]]>
|
|
|
|
</Preformatted>
|
|
|
|
|
2024-11-04 18:08:38 +01:00
|
|
|
<Link><![CDATA[
|
|
|
|
%= link_to l('${title}'), '${structure:href}' , class=>'link link${type_serial}'
|
|
|
|
]]>
|
|
|
|
</Link>
|
2024-11-05 15:32:00 +01:00
|
|
|
|
|
|
|
<ButtonLink><![CDATA[
|
|
|
|
%= button_to l('${title}'), '${structure:href}' , class=>'buttonlink buttonlink${type_serial}'
|
|
|
|
]]>
|
|
|
|
</ButtonLink>
|
|
|
|
|
2024-11-06 11:54:10 +01:00
|
|
|
<Back><![CDATA[
|
|
|
|
<span class='data'>
|
|
|
|
%= submit_button l('${Value}'), class => 'action back', onclick =>'history.back()'
|
|
|
|
</span>
|
|
|
|
]]>
|
|
|
|
</Back>
|
2024-11-15 18:23:49 +01:00
|
|
|
|
|
|
|
<Group><![CDATA[
|
|
|
|
<div ${Value}>
|
|
|
|
]]>
|
|
|
|
</Group>
|
|
|
|
|
|
|
|
<Endgroup><![CDATA[
|
|
|
|
<div></div>
|
|
|
|
]]>
|
|
|
|
</Endgroup>
|
2024-11-06 11:54:10 +01:00
|
|
|
|
2024-11-05 15:32:00 +01:00
|
|
|
|
2024-11-04 18:08:38 +01:00
|
|
|
|
2024-09-14 19:08:48 +02:00
|
|
|
|
2024-10-18 20:01:59 +02:00
|
|
|
</root>
|