<!-- Copyright 2008 Orbitz WorldWide

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. -->
<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
    <title>Graphite Browser Header</title>
    <style>
      body {
        background-color: #000;
        background: url('/content/img/carbon-fiber.png');
        background: url('/content/img/carbon-fiber.png'), -webkit-linear-gradient(top, #000 55%, #333);
        background: url('/content/img/carbon-fiber.png'),    -moz-linear-gradient(top, #000, #000);
        background: url('/content/img/carbon-fiber.png'),     -ms-linear-gradient(top, #000 55%, #333);
        background: url('/content/img/carbon-fiber.png'),      -o-linear-gradient(top, #000 55%, #333);
        background: url('/content/img/carbon-fiber.png'),         linear-gradient(top, #000 55%, #333);
      }
      div.header {
        margin-top: 13px;
      }
      .header span.title {
        font-family: "HelveticaNeue-UltraLight", "Helvetica Neue", "Helvetica";
        font-size: 1.6em;
        font-weight: 100;
        margin-left: 50px;
        color: #fff;
      }
      .header div.nav {
        float: right;
      }
      .header .nav * {
        font: 12px Helvetica, Arial, Tahoma, sans-serif;
        color: rgb(173, 173, 173);
      }
      .header .nav ul {
        margin-top: 10px;
        list-style: none;
      }
      .header .nav ul li {
        float: left;
        margin-right: 15px;
      }
      .header .nav ul li a {
        text-decoration: none;
      }
      .header .nav ul li a:hover {
        color: #fff;
      }
    </style>
  </head>
  <body>
    <div class="header">
      <span class="title">Graphite</span>
      <div class="nav">
        <ul>
        {% if user.is_authenticated %}
          <li>Logged in as <b>{{ user.username }}</b>, <a href="/account/logout/" target="_top">logout</a> (<a href="/account/edit/" target="_top">edit profile</a>)</li>
        {% else %}
          <li><a href="{{login_url}}" target="_top">Login</a></li>
        {% endif %}
        {% if documentation_url %}
          <li><a href="{{documentation_url}}" target="_newWindow">Documentation</a></li>
        {% endif %}
          <li><a href="/dashboard/" target="_top">Dashboard</a></li>
          <li><a href="/events/" target="_top">events</a></li>
        </ul>
      </div>
    </div>
  </body>
</html>
