<!DOCTYPE html>
<html lang="de">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="/img/favicon.ico">

    <title>Home - vpnControl</title>

    <!-- Bootstrap core CSS -->
    <link href="/css/bootstrap.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="/css/narrow-jumbotron.css" rel="stylesheet">
  </head>

  <body>

    <div class="container">
      <div class="header clearfix">
        <nav>
          <ul class="nav nav-pills float-xs-right">
            <li class="nav-item">
              {{ if eq .ReqDir "home"}}
              <a class="nav-link active" href="/">home <span class="sr-only">(current)</span></a>
              {{ else }}
              <a class="nav-link" href="/">home</a>
              {{ end }}
            </li>
            <li class="nav-item">
              {{ if eq .ReqDir "account"}}
              <a class="nav-link active" href="/account">account <span class="sr-only">(current)</span></a>
              {{ else }}
              <a class="nav-link" href="/account">account</a>
              {{ end }}
            </li>
            <li class="nav-item">
              {{ if eq .ReqDir "help"}}
              <a class="nav-link active" href="/help">help <span class="sr-only">(current)</span></a>
              {{ else }}
              <a class="nav-link" href="/help">help</a>
              {{ end }}
            </li>
            {{ if eq .Admin "1" }}
            <li class="nav-item">
            {{ if eq .ReqDir "admin"}}
            <a class="nav-link active" href="/admin">admin <span class="sr-only">(current)</span></a>
            {{ else }}
            <a class="nav-link" href="/admin">admin</a>
            {{ end }}
            </li>
            {{ end }}
          </ul>
        </nav>
        <h3 class="text-muted">mmnx<sub>vpn</sub></h3>
      </div>
      {{ if eq .HasError "1" }}
      {{ render "partials/notification_box.html" }}
      {{ end }}
      {{ yield }}
      <div class="container">
        <footer class="footer">
          <p>&copy; mmnx 2016</p>
        </footer>
      </div>

    </div> <!-- /container -->
    <script src="/js/ie10-viewport-bug-workaround.js"></script>
  </body>
</html>