[%# Template for Backends table on TentMaker home page. Expects these view.data parameters: backends - the backends hash built by Bigtop::Tentmaker::do_main %] [% backends = view.data.backends %] [% FOREACH type_name IN backends.keys.sort %] [% type_hash = backends.$type_name %] [% FOREACH backend IN type_hash.keys.sort %] [% INCLUDE backend_module %] [% END %] [% END %]
Type Backend What Does It Make? Config Statements
[% BLOCK backend_module %] [% type_name %] [% INCLUDE backend_and_checkbox %] [% FOREACH line IN type_hash.$backend.output %] [% line.1 %] [% UNLESS loop.last %]
[% END %] [% END %] [% FOREACH statement IN type_hash.$backend.keywords %] [% NEXT IF statement.type == 'deprecated' %] [% INCLUDE backend_statement statements = type_hash.$backend.statements %] [% END %]
[% END %] [% BLOCK backend_and_checkbox %] [% backend %] [% END %] [% BLOCK backend_statement %] [% statement.keyword %] [% key = statement.keyword single_value = statements.$key.0 values = statements.$key %] [% INCLUDE input_boxes.ttc name_prefix = 'backend_' method_group = 'conf' keyword_prefix = "$type_name::$backend::" %] [% statement.descr %] [% END %]