[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [% INCLUDE global/header.html.tmpl title = "Query Database" style_urls = [ "extensions/BMO/web/styles/reports.css" ] %]



[% IF executed %]
[% IF sql_error %] [% sql_error FILTER html %] [% ELSIF rows.size %] [% FOREACH column = columns %] [% END %] [% FOREACH row = rows %] [% tr_class = loop.count % 2 ? 'report_row_even' : 'report_row_odd' %] [% FOREACH field = row %] [% END %] [% END %]
[% column FILTER html %]
[% field FILTER html %]
[% ELSE %] no results [% END %] [% END %] [% INCLUDE global/footer.html.tmpl %]