<%@ import uri="../html/layout.dart" %> <%@ import uri="breadcrumbs.html.g.dart" %> <%@ import uri="footer.html.g.dart" %> <%@ import uri="header.html.g.dart" %> <%@ import uri="nav.html.g.dart" %> <%@ export uri="../html/breadcrumb.dart" %> <%@ export uri="../html/html_utils.dart" %> <%@ export uri="../html/view.dart" %> <%@ class extends="Layout" %> <%@ render params="StringBuffer body, HttpRequest request, {int statusCode = 400}" %> <%= title %> <% for (final tag in tags) { %> <%== tag %> <% } %> <%== header_html().render(title) %> <%== nav_html().render(request) %>
<%== breadcrumbs_html().render(breadcrumbs) %>
<%== body %>
<%== footer_html().render() %> <% body.clear(); body.write(out); final response = request.response; response.headers.add('Content-Type', 'text/html; charset=utf-8'); response.statusCode = statusCode; response.write(out); %>