diff options
author | Ivan Kohler <ivan@freeside.biz> | 2013-12-09 23:37:20 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2013-12-09 23:37:20 -0800 |
commit | 8c39c41a00e15164ea306bfd73b2ae187dade9a5 (patch) | |
tree | 01e5f6317530d28d3e17ca5bf23319ad962e32e5 /httemplate/elements/tr-select-alarm_type.html | |
parent | 2083f6fb050747ad589a6e1dd15a3f513e9e6ee4 (diff) |
on-the-fly alarm vendor / type / CS adding, RT#23694
Diffstat (limited to 'httemplate/elements/tr-select-alarm_type.html')
-rw-r--r-- | httemplate/elements/tr-select-alarm_type.html | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/httemplate/elements/tr-select-alarm_type.html b/httemplate/elements/tr-select-alarm_type.html index b929fb8..1fc9355 100644 --- a/httemplate/elements/tr-select-alarm_type.html +++ b/httemplate/elements/tr-select-alarm_type.html @@ -1,12 +1,9 @@ -% #if ( scalar(@domains) < 2 ) { -% #} else { - <TR> - <TD ALIGN="right"><% $opt{'label'} || 'Type' %></TD> - <TD> - <% include( '/elements/select-alarm_type.html', %opt) %> - </TD> - </TR> -% #} -<%init> - my %opt = @_; -</%init> +<& /elements/tr-select-table.html, + label => 'Type', + table => 'alarm_type', + #name_col => + add_inline => 1, + add_fields => [ 'inputs', 'outputs' ], + add_right => [ 'Alarm configuration', 'Alarm global configuration' ], + @_, +&> |