annis-web 0.2.0

This is an experimental version of ANNIS corpus search frontend.
Documentation
<!DOCTYPE html>
<html lang="en">
  <head>
    <title>ANNIS Error occurred</title>
    <meta name="keywords" content="ANNIS, error">
    <meta name="description"
          content="An error has occured in the ANNIS application and this page describes the error in more detail.">
    <style>
      body {
        font-family: "Alegreya Sans", "Arial", sans-serif;
        font-size: 12pt;
      }
      
      h1 {
        font-size: 22pt;
        margin: 0px 0px 10px 0px;
      }

      blockquote {
        margin-left: 20px;
        margin-right: 20px;
      }

      .container {
        display: flex;
        flex-direction: row;
      }

      .box {
        padding: 10px;
        margin: 5px;
        border-radius: 6px;
      }

      .is-danger {
        color: white;
        background-color: #e53935;


      }
      .is-info {
        color: white;
        background-color: #3e8ed0;
      }

      .subtitle {
        font-size: 12pt;
        font-weight: bold;
      }

    </style>
  </head>
  <body>
    <div class="container">
      <div class="box is-danger">
        <h1>An unexpected error has occurred</h1>
        <div class="subtitle">
          The error code is "{{ status_code }} ({{ canonical_reason }})" and the following message describes the issue in more detail:
        </div>
        <blockquote>
          {{ message }}
        </blockquote>
      </div>
      <div class="box is-info">
        <h1 class="title">What can you do?</h1>
        <div>
          You can try to
          <ul>
            <li>reload the page and see if the error still occurs,</li>
            <li>try the same operation later (maybe the server is overloaded or there is maintenance work going on), or</li>
            <li>close the browser, re-open it and try again (in case there is an issue with the login-session).</li>
          </ul>
          If the problem persists, please inform the administrator of this particular ANNIS server.
          Please include the error code and the error message in this report.
          If possible, describe the steps needed to reproduce this error.
        </div>
      </div>
    </div>
  </body>
</html>