<%--
  Before including this template, set the 'header_title' and 'header_details'
  template variables.  Other, optional variables handled:
  - header_subtitle - if set, doesn't prefix header_title with 'Setup: ', and is
                      used instead of header_title for the subtitle.
  - message - if set, will be displayed as a success message (green)
  - error - if set, will be displayed as an error message (red)
--%>

<div class="header-block">
  <h1><%unless header_subtitle%>Setup: <%endunless%><%header_title%></h1>
  <h2><%if header_subtitle%><%header_subtitle%><%else%><%header_title%><%endif%></h2>
  <%if message%><div class="success"><div class="word">Results:&nbsp;</div> <%message%></div><%endif%>
  <%if message_pre%><div class="success preformatted"><div class="word">Results:&nbsp;</div> <pre><%message_pre%></pre></div><%endif%>
  <%if error%><div class="error"><div class="word">Error:&nbsp;</div> <%error%></div><%endif%>
  <h3><%header_details%></h3>
</div>

