{% extends 'base.html' %}
{% block head %}
  
  
  <link rel="stylesheet" href="/static/css/fonts.css" />
  <link rel="stylesheet" href="/static/css/main.css" />
  
  <script type="text/javascript" src="/static/js/main.js"></script>
  <title>EdgwareRoad: {% block title %} {% endblock %}</title>
  {% block extra_head %}

  {% endblock %}
{% endblock %}

{% block body %}
  <div id="wrapper">

    {% block header %}
    <div id="header">
      <div id="mainTitle">
        <h1><a href="/" title="Go Home">Edgwareroad.org</a></h1>
      </div>
      <div id="pageTitle">
        <h2>{% block pageTitle %} {% endblock %}</h2>
      </div>
      <div id="intro">
        <div id="introPara1">
          Edgwareroad.org is a platform for publishing and archiving possible studies about the Edgware Road, London. Created by artists CAMP during their residency at the Serpentine Gallery.
        </div>
      </div>
    </div>
    {% endblock %}

    <div id="content">
      {% block content %} {% endblock %}
    </div>
    {% block footer %}
    <div id="footer">
      <ul id="nav">
        <li>
          <a href="/archive" title="The Edgwareroad.org Archive">Archive</a>
        </li>
        <li>
          <a href="/upload" title="File Uploader">Upload</a>
        </li>
        <li>
          <a href="/publish" title="Publish!">Publish</a>
        </li>
          <li>
          <a href="/browse" title="Browse Publications">Browse</a>
        </li>
        <li>
          <a href="/contact" title="Contact Us">About/Contact</a>
        </li>
        <li>
          <a href="/faq" title="Frequently Asked Questions">FAQ</a>
        </li>
        <li> &nbsp;</li>
        
        <li>
          {% if user.is_authenticated %}
            <a href="/logout" title="Logout">Logout</a>
          {% else %}
            <a href="/account" title="Login / Sign Up">Login/Sign Up</a>
          {% endif %}
        </li>
        

      </ul>
      <div id="loginStatus">
        {% if user.is_authenticated %}
          Logged in as {{ user.username }}.
        {% else %}
          Not logged in.
        {% endif %}
      </div>
    </div>
    <div id="logo">
          <a href="http://www.serpentinegallery.org/edgware_road_project.html" title="Serpentine Gallery Webpage">Serpentine <br />Gallery</a>
    </div>
  </div>
  {% endblock %}

{% endblock %}
