* header manipulations related endpoints are now rendered with the datatables and support pagination, and search Change-Id: I264d2c55ec97199714159bbc2d1d3181e23880fbchanges/55/27755/1
parent
052935e8da
commit
c3ed47b5c7
@ -1,88 +0,0 @@
|
||||
[% site_config.title = c.loc('Header Rules for [_1]', set_result.name) -%]
|
||||
|
||||
<div class="row">
|
||||
<span>
|
||||
<a class="btn btn-primary btn-large" href="[% c.uri_for('/back') %]"><i class="icon-arrow-left"></i> [% c.loc('Back') %]</a>
|
||||
</span>
|
||||
[% back_created = 1 -%]
|
||||
[% UNLESS c.user.read_only -%]
|
||||
<span>
|
||||
<a class="btn btn-primary btn-large" href="[% c.uri_for_action('/header/rules_create', [c.req.captures.0]) %]"><i class="icon-star"></i> [% c.loc('Create Header Rule') %]</a>
|
||||
</span>
|
||||
[% END -%]
|
||||
</div>
|
||||
|
||||
[% IF messages -%]
|
||||
<div class="row">
|
||||
[% FOREACH m IN messages -%]
|
||||
<div class="alert alert-[% m.type %]">[% m.text %]</div>
|
||||
[% END -%]
|
||||
</div>
|
||||
[% END -%]
|
||||
|
||||
<div class="ngcp-separator"></div>
|
||||
<table class="table table-bordered table-striped table-highlight table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>[% c.loc('Name') %]</th>
|
||||
<th>[% c.loc('Description') %]</th>
|
||||
<th class="ngcp-actions-column"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[% FOR r IN rules %]
|
||||
<tr class="sw_action_row">
|
||||
<td>
|
||||
<a href="[% c.uri_for_action('/header/rules_root',[set_result.id], 'move' => r.id, 'where' => 'up') %]">
|
||||
<i class="icon-arrow-up"></i>
|
||||
</a>
|
||||
<a href="[% c.uri_for_action('/header/rules_root',[set_result.id], 'move' => r.id, 'where' => 'down') %]">
|
||||
<i class="icon-arrow-down"></i>
|
||||
</a>
|
||||
</td>
|
||||
<td>[% r.name %]</td>
|
||||
<td>[% r.description %]</td>
|
||||
<td class="ngcp-actions-column">
|
||||
[% UNLESS c.user.read_only -%]
|
||||
<div class="sw_actions pull-right">
|
||||
[%- FILTER null;
|
||||
backuritmp=c.req.uri;
|
||||
backuritmp.query_param_delete('back');
|
||||
backuritmp.query_param_delete('move');
|
||||
backuritmp.query_param_delete('where');
|
||||
END;
|
||||
%]
|
||||
<a class="btn btn-small btn-primary" data-backuri="[%-backuritmp-%]" href="[% c.uri_for_action('/header/rules_edit',[set_result.id, r.id]) %]">
|
||||
<i class="icon-edit"></i> [% c.loc('Edit') %]
|
||||
</a>
|
||||
<a class="btn btn-small btn-primary" data-backuri="[%-backuritmp-%]" href="[% c.uri_for_action('/header/conditions_edit',[set_result.id, r.id]) %]">
|
||||
<i class="icon-cog"></i> [% c.loc('Conditions') %]
|
||||
</a>
|
||||
<a class="btn btn-small btn-primary" data-backuri="[%-backuritmp-%]" href="[% c.uri_for_action('/header/actions_edit',[set_result.id, r.id]) %]">
|
||||
<i class="icon-star"></i> [% c.loc('Actions') %]
|
||||
</a>
|
||||
<a data-confirm="Delete" class="btn btn-small btn-secondary" href="[% c.uri_for_action('/header/rules_delete',[set_result.id, r.id]) %]">
|
||||
<i class="icon-trash"></i> [% c.loc('Delete') %]
|
||||
</a>
|
||||
</div>
|
||||
[% END -%]
|
||||
</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
[% IF edit_flag || create_flag -%]
|
||||
[%
|
||||
PROCESS "helpers/modal.tt";
|
||||
modal_header(m.name = c.loc('Header Rule'),
|
||||
m.create_flag = create_flag);
|
||||
form.render;
|
||||
modal_footer();
|
||||
modal_script(m.close_target = rules_uri);
|
||||
-%]
|
||||
[% END -%]
|
||||
|
||||
|
||||
[% # vim: set tabstop=4 syntax=html expandtab: -%]
|
@ -1,104 +1,32 @@
|
||||
[% site_config.title = c.loc('Header Rule Actions for [_1]', rule_result.name) -%]
|
||||
|
||||
<div class="row">
|
||||
<span>
|
||||
<a class="btn btn-primary btn-large" href="[% c.uri_for_action('/header/rules_root',[set_result.id]) %]"><i class="icon-arrow-left"></i> [% c.loc('Back') %]</a>
|
||||
</span>
|
||||
[% back_created = 1 -%]
|
||||
[% UNLESS c.user.read_only -%]
|
||||
<span>
|
||||
<a class="btn btn-primary btn-large" href="[% c.uri_for_action("/header/actions_create", [set_result.id, rule_result.id]) %]"><i class="icon-star"></i> [% c.loc('Create Header Rule Action') %]</a>
|
||||
</span>
|
||||
[% END -%]
|
||||
<span>
|
||||
<a class="btn btn-teritary btn-large" data-backuri="[% c.uri_for_action('/header/rules_list',[set_result.id]) %]" href="[% c.uri_for_action('/header/conditions_root',[set_result.id, rule_result.id]) %]"><i class="icon-glass"></i> [% c.loc('Conditions') %]</a>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
[% IF messages -%]
|
||||
<div class="row">
|
||||
[% FOREACH m IN messages -%]
|
||||
<div class="alert alert-[% m.type %]">[% m.text %]</div>
|
||||
[% END -%]
|
||||
</div>
|
||||
[% END -%]
|
||||
[%
|
||||
helper.name = c.loc('Header Rule Actions');
|
||||
helper.identifier = 'header_rule_actions';
|
||||
helper.messages = messages;
|
||||
helper.dt_columns = action_dt_columns;
|
||||
helper.length_change = 1;
|
||||
|
||||
<div class="ngcp-separator"></div>
|
||||
<table class="table table-bordered table-striped table-highlight table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>[% c.loc('Header') %]</th>
|
||||
<th>[% c.loc('Part') %]</th>
|
||||
<th>[% c.loc('Type') %]</th>
|
||||
<th>[% c.loc('Value Part') %]</th>
|
||||
<th>[% c.loc('Value') %]</th>
|
||||
<th>[% c.loc('Rewrite Rule Set') %]</th>
|
||||
<th>[% c.loc('Rewrite Rules') %]</th>
|
||||
<th>[% c.loc('Enabled') %]</th>
|
||||
<th class="ngcp-actions-column"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[% FOR action IN actions %]
|
||||
<tr class="sw_action_row">
|
||||
<td>
|
||||
[% IF action != actions.first %]
|
||||
<a href="[% c.uri_for_action('/header/actions_root',[set_result.id, rule_result.id], 'move' => action.id, 'where' => 'up') %]">
|
||||
<i class="icon-arrow-up"></i>
|
||||
</a>
|
||||
[% END %]
|
||||
[% IF action != actions.last %]
|
||||
<a href="[% c.uri_for_action('/header/actions_root',[set_result.id, rule_result.id], 'move' => action.id, 'where' => 'down') %]">
|
||||
<i class="icon-arrow-down"></i>
|
||||
</a>
|
||||
[% END %]
|
||||
</td>
|
||||
<td>[% action.header %]</td>
|
||||
<td>[% action.header_part %]</td>
|
||||
<td>[% action.action_type %]</td>
|
||||
<td>[% action.value_part %]</td>
|
||||
<td>[% action.value %]</td>
|
||||
<td>[% action.rwr_set %]</td>
|
||||
<td>[% action.rwr_dp %]</td>
|
||||
<td>[% action.enabled %]</td>
|
||||
<td class="ngcp-actions-column">
|
||||
[% UNLESS c.user.read_only -%]
|
||||
<div class="sw_actions pull-right">
|
||||
[%- FILTER null;
|
||||
backuritmp=c.req.uri;
|
||||
backuritmp.query_param_delete('back');
|
||||
backuritmp.query_param_delete('move');
|
||||
backuritmp.query_param_delete('where');
|
||||
END;
|
||||
%]
|
||||
<a class="btn btn-small btn-primary" data-backuri="[%-backuritmp-%]" href="[% c.uri_for_action('/header/actions_edit',[set_result.id, rule_result.id, action.id]) %]">
|
||||
<i class="icon-edit"></i> [% c.loc('Edit') %]
|
||||
</a>
|
||||
<a data-confirm="Delete" class="btn btn-small btn-secondary" href="[% c.uri_for_action('/header/actions_delete',[set_result.id, rule_result.id, action.id]) %]">
|
||||
<i class="icon-trash"></i> [% c.loc('Delete') %]
|
||||
</a>
|
||||
</div>
|
||||
[% END -%]
|
||||
</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
</tbody>
|
||||
</table>
|
||||
helper.close_target = close_target;
|
||||
helper.create_flag = create_flag;
|
||||
helper.edit_flag = edit_flag;
|
||||
helper.form_object = form;
|
||||
helper.ajax_uri = c.uri_for_action( "/header/actions_ajax", [c.req.captures.0, c.req.captures.1] );
|
||||
|
||||
[% IF edit_flag || create_flag -%]
|
||||
[%
|
||||
IF form.has_for_js;
|
||||
form.render_repeatable_js;
|
||||
UNLESS c.user.read_only;
|
||||
helper.dt_buttons = [
|
||||
{ uri = "/header/" _ set_result.id _ "/rules/" _ rule_result.id _ "/actions/?move='+full.id+'&where=up", class = 'btn-small btn-primary', icon = 'icon-arrow-up' },
|
||||
{ uri = "/header/" _ set_result.id _ "/rules/" _ rule_result.id _ "/actions/?move='+full.id+'&where=down", class = 'btn-small btn-primary', icon = 'icon-arrow-down' },
|
||||
{ name = c.loc('Edit'), uri = "/header/" _ set_result.id _ "/rules/" _ rule_result.id _ "/actions/'+full.id+'/edit", class = 'btn-small btn-primary', icon = 'icon-edit' },
|
||||
{ name = c.loc('Delete'), uri = "/header/" _ set_result.id _ "/rules/" _ rule_result.id _ "/actions/'+full.id+'/delete", class = 'btn-small btn-secondary', icon = 'icon-trash' },
|
||||
];
|
||||
helper.top_buttons = [
|
||||
{ name = c.loc('Create Header Rule Action'), uri = c.uri_for_action('/header/actions_create', [c.req.captures.0, c.req.captures.1]), icon = 'icon-star' },
|
||||
{ name = c.loc('Conditions'), uri = "/header/" _ set_result.id _ "/rules/" _ rule_result.id _ "/conditions", class = 'btn btn-teritary btn-large', icon = 'icon-play' },
|
||||
];
|
||||
END;
|
||||
PROCESS "helpers/modal.tt";
|
||||
modal_header(m.name = c.loc('Header Rule Actions'),
|
||||
m.create_flag = create_flag);
|
||||
form.render;
|
||||
modal_footer();
|
||||
modal_script(m.close_target = actions_uri);
|
||||
-%]
|
||||
[% END -%]
|
||||
|
||||
PROCESS 'helpers/datatables.tt';
|
||||
-%]
|
||||
|
||||
[% # vim: set tabstop=4 syntax=html expandtab: -%]
|
||||
|
@ -1,86 +1,30 @@
|
||||
[% site_config.title = c.loc('Header Rule Conditions for [_1]', rule_result.name) -%]
|
||||
|
||||
<div class="row">
|
||||
<span>
|
||||
<a class="btn btn-primary btn-large" href="[% c.uri_for_action('/header/rules_root',[set_result.id]) %]"><i class="icon-arrow-left"></i> [% c.loc('Back') %]</a>
|
||||
</span>
|
||||
[% back_created = 1 -%]
|
||||
[% UNLESS c.user.read_only -%]
|
||||
<span>
|
||||
<a class="btn btn-primary btn-large" href="[% c.uri_for_action("/header/conditions_create", [set_result.id, rule_result.id]) %]"><i class="icon-star"></i> [% c.loc('Create Header Rule Condition') %]</a>
|
||||
</span>
|
||||
[% END -%]
|
||||
<span>
|
||||
<a class="btn btn-teritary btn-large" href="[% c.uri_for_action('/header/actions_root',[set_result.id, rule_result.id]) %]"><i class="icon-play"></i> [% c.loc('Actions') %]</a>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
[% IF messages -%]
|
||||
<div class="row">
|
||||
[% FOREACH m IN messages -%]
|
||||
<div class="alert alert-[% m.type %]">[% m.text %]</div>
|
||||
[% END -%]
|
||||
</div>
|
||||
[% END -%]
|
||||
[%
|
||||
helper.name = c.loc('Header Rule Conditions');
|
||||
helper.identifier = 'header_rule_conditions';
|
||||
helper.messages = messages;
|
||||
helper.dt_columns = condition_dt_columns;
|
||||
helper.length_change = 1;
|
||||
|
||||
<div class="ngcp-separator"></div>
|
||||
<table class="table table-bordered table-striped table-highlight table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>[% c.loc('Match') %]</th>
|
||||
<th>[% c.loc('Part') %]</th>
|
||||
<th>[% c.loc('Name') %]</th>
|
||||
<th>[% c.loc('Expression') %]</th>
|
||||
<th>[% c.loc('Type') %]</th>
|
||||
<th>[% c.loc('Values') %]</th>
|
||||
<th>[% c.loc('Rewrite Rule Set') %]</th>
|
||||
<th>[% c.loc('Rewrite Rules') %]</th>
|
||||
<th>[% c.loc('Enabled') %]</th>
|
||||
<th class="ngcp-actions-column"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[% FOR condition IN conditions %]
|
||||
<tr class="sw_action_row">
|
||||
<td>[% condition.match_type %]</td>
|
||||
<td>[% condition.match_part %]</td>
|
||||
<td>[% condition.match_name %]</td>
|
||||
<td>[% IF condition.expression_negation %] ! [% END %][% condition.expression %]</td>
|
||||
<td>[% condition.value_type %]</td>
|
||||
<td>[% condition.values.join('<br/>') %]</td>
|
||||
<td>[% condition.rwr_set %]</td>
|
||||
<td>[% condition.rwr_dp %]</td>
|
||||
<td>[% condition.enabled %]</td>
|
||||
<td class="ngcp-actions-column">
|
||||
[% UNLESS c.user.read_only -%]
|
||||
<div class="sw_actions pull-right">
|
||||
<a class="btn btn-small btn-primary" data-backuri="[%-backuritmp-%]" href="[% c.uri_for_action('/header/conditions_edit',[set_result.id, rule_result.id, condition.id]) %]">
|
||||
<i class="icon-edit"></i> [% c.loc('Edit') %]
|
||||
</a>
|
||||
<a data-confirm="Delete" class="btn btn-small btn-secondary" href="[% c.uri_for_action('/header/conditions_delete',[set_result.id, rule_result.id, condition.id]) %]">
|
||||
<i class="icon-trash"></i> [% c.loc('Delete') %]
|
||||
</a>
|
||||
</div>
|
||||
[% END -%]
|
||||
</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
</tbody>
|
||||
</table>
|
||||
helper.close_target = close_target;
|
||||
helper.create_flag = create_flag;
|
||||
helper.edit_flag = edit_flag;
|
||||
helper.form_object = form;
|
||||
helper.ajax_uri = c.uri_for_action( "/header/conditions_ajax", [c.req.captures.0, c.req.captures.1] );
|
||||
|
||||
[% IF edit_flag || create_flag -%]
|
||||
[%
|
||||
IF form.has_for_js;
|
||||
form.render_repeatable_js;
|
||||
UNLESS c.user.read_only;
|
||||
helper.dt_buttons = [
|
||||
{ name = c.loc('Edit'), uri = "/header/" _ set_result.id _ "/rules/" _ rule_result.id _ "/conditions/'+full.id+'/edit", class = 'btn-small btn-primary', icon = 'icon-edit' },
|
||||
{ name = c.loc('Delete'), uri = "/header/" _ set_result.id _ "/rules/" _ rule_result.id _ "/conditions/'+full.id+'/delete", class = 'btn-small btn-secondary', icon = 'icon-trash' },
|
||||
];
|
||||
helper.top_buttons = [
|
||||
{ name = c.loc('Create Header Rule Condition'), uri = c.uri_for_action('/header/conditions_create', [c.req.captures.0, c.req.captures.1]), icon = 'icon-star' },
|
||||
{ name = c.loc('Actions'), uri = "/header/" _ set_result.id _ "/rules/" _ rule_result.id _ "/actions", class = 'btn btn-teritary btn-large', icon = 'icon-play' },
|
||||
];
|
||||
END;
|
||||
PROCESS "helpers/modal.tt";
|
||||
modal_header(m.name = c.loc('Header Rule Conditions'),
|
||||
m.create_flag = create_flag);
|
||||
form.render;
|
||||
modal_footer();
|
||||
modal_script(m.close_target = conditions_uri);
|
||||
-%]
|
||||
[% END -%]
|
||||
|
||||
PROCESS 'helpers/datatables.tt';
|
||||
-%]
|
||||
|
||||
[% # vim: set tabstop=4 syntax=html expandtab: -%]
|
||||
|
@ -1,98 +1,35 @@
|
||||
[% site_config.title = c.loc('Header Rules for [_1]', set_result.name) -%]
|
||||
|
||||
<div class="row">
|
||||
<span>
|
||||
<a class="btn btn-primary btn-large" href="[% c.uri_for('/back') %]"><i class="icon-arrow-left"></i> [% c.loc('Back') %]</a>
|
||||
</span>
|
||||
[% back_created = 1 -%]
|
||||
[% UNLESS c.user.read_only -%]
|
||||
<span>
|
||||
<a class="btn btn-primary btn-large" href="[% c.uri_for_action('/header/rules_create', [c.req.captures.0]) %]"><i class="icon-star"></i> [% c.loc('Create Header Rule') %]</a>
|
||||
</span>
|
||||
[% END -%]
|
||||
</div>
|
||||
[%
|
||||
helper.name = c.loc('Header Rules');
|
||||
helper.identifier = 'header_rules';
|
||||
helper.messages = messages;
|
||||
helper.dt_columns = rule_dt_columns;
|
||||
helper.length_change = 1;
|
||||
|
||||
[% IF messages -%]
|
||||
<div class="row">
|
||||
[% FOREACH m IN messages -%]
|
||||
<div class="alert alert-[% m.type %]">[% m.text %]</div>
|
||||
[% END -%]
|
||||
</div>
|
||||
[% END -%]
|
||||
helper.close_target = close_target;
|
||||
helper.create_flag = create_flag;
|
||||
helper.edit_flag = edit_flag;
|
||||
helper.form_object = form;
|
||||
helper.ajax_uri = c.uri_for_action( "/header/rules_ajax", [c.req.captures.0] );
|
||||
|
||||
<div class="ngcp-separator"></div>
|
||||
<table class="table table-bordered table-striped table-highlight table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>[% c.loc('Name') %]</th>
|
||||
<th>[% c.loc('Direction') %]</th>
|
||||
<th>[% c.loc('Description') %]</th>
|
||||
<th>[% c.loc('Stopper') %]</th>
|
||||
<th>[% c.loc('Enabled') %]</th>
|
||||
<th class="ngcp-actions-column"></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
[% FOR r IN rules %]
|
||||
<tr class="sw_action_row">
|
||||
<td>
|
||||
[% IF r != rules.first %]
|
||||
<a href="[% c.uri_for_action('/header/rules_root',[set_result.id], 'move' => r.id, 'where' => 'up') %]">
|
||||
<i class="icon-arrow-up"></i>
|
||||
</a>
|
||||
[% END %]
|
||||
[% IF r != rules.last %]
|
||||
<a href="[% c.uri_for_action('/header/rules_root',[set_result.id], 'move' => r.id, 'where' => 'down') %]">
|
||||
<i class="icon-arrow-down"></i>
|
||||
</a>
|
||||
[% END %]
|
||||
</td>
|
||||
<td>[% r.name %]</td>
|
||||
<td>[% r.direction %]</td>
|
||||
<td>[% r.description %]</td>
|
||||
<td>[% r.stopper %]</td>
|
||||
<td>[% r.enabled %]</td>
|
||||
<td class="ngcp-actions-column">
|
||||
[% UNLESS c.user.read_only -%]
|
||||
<div class="sw_actions pull-right">
|
||||
[%- FILTER null;
|
||||
backuritmp=c.req.uri;
|
||||
backuritmp.query_param_delete('back');
|
||||
backuritmp.query_param_delete('move');
|
||||
backuritmp.query_param_delete('where');
|
||||
END;
|
||||
%]
|
||||
<a class="btn btn-small btn-primary" data-backuri="[%-backuritmp-%]" href="[% c.uri_for_action('/header/rules_edit',[set_result.id, r.id]) %]">
|
||||
<i class="icon-edit"></i> [% c.loc('Edit') %]
|
||||
</a>
|
||||
<a class="btn btn-small btn-tertiary" data-backuri="[%-backuritmp-%]" href="[% c.uri_for_action('/header/conditions_root',[set_result.id, r.id]) %]">
|
||||
<i class="icon-glass"></i> [% c.loc('Conditions') %]
|
||||
</a>
|
||||
<a class="btn btn-small btn-tertiary" data-backuri="[%-backuritmp-%]" href="[% c.uri_for_action('/header/actions_root',[set_result.id, r.id]) %]">
|
||||
<i class="icon-play"></i> [% c.loc('Actions') %]
|
||||
</a>
|
||||
<a data-confirm="Delete" class="btn btn-small btn-secondary" href="[% c.uri_for_action('/header/rules_delete',[set_result.id, r.id]) %]">
|
||||
<i class="icon-trash"></i> [% c.loc('Delete') %]
|
||||
</a>
|
||||
</div>
|
||||
[% END -%]
|
||||
</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
</tbody>
|
||||
</table>
|
||||
UNLESS c.user.read_only;
|
||||
helper.dt_buttons = [
|
||||
{ uri = "/header/" _ set_result.id _ "/rules/?move='+full.id+'&where=up", class = 'btn-small btn-primary', icon = 'icon-arrow-up' },
|
||||
{ uri = "/header/" _ set_result.id _ "/rules/?move='+full.id+'&where=down", class = 'btn-small btn-primary', icon = 'icon-arrow-down' },
|
||||
{ name = c.loc('Edit'), uri = "/header/" _ set_result.id _ "/rules/'+full.id+'/edit", class = 'btn-small btn-primary', icon = 'icon-edit' },
|
||||
{ name = c.loc('Conditions'), uri = "/header/"_ set_result.id _ "/rules/'+full.id+'/conditions", class = 'btn-small btn-tertiary', icon = 'icon-glass' },
|
||||
{ name = c.loc('Actions'), uri = "/header/"_ set_result.id _ "/rules/'+full.id+'/actions", class = 'btn-small btn-tertiary', icon = 'icon-play' },
|
||||
{ name = c.loc('Delete'), uri = "/header/" _ set_result.id _ "/rules/'+full.id+'/delete", class = 'btn-small btn-secondary', icon = 'icon-trash' },
|
||||
];
|
||||
helper.top_buttons = [
|
||||
{ name = c.loc('Create Header Rule'), uri = c.uri_for_action('/header/rules_create', [c.req.captures.0]), icon = 'icon-star' },
|
||||
];
|
||||
END;
|
||||
|
||||
[% IF edit_flag || create_flag -%]
|
||||
[%
|
||||
PROCESS "helpers/modal.tt";
|
||||
modal_header(m.name = c.loc('Header Rule'),
|
||||
m.create_flag = create_flag);
|
||||
form.render;
|
||||
modal_footer();
|
||||
modal_script(m.close_target = rules_uri);
|
||||
PROCESS 'helpers/datatables.tt';
|
||||
-%]
|
||||
[% END -%]
|
||||
|
||||
|
||||
|
||||
[% # vim: set tabstop=4 syntax=html expandtab: -%]
|
||||
|
Loading…
Reference in new issue