summaryrefslogblamecommitdiffstats
path: root/templates/base.html
blob: 6e04fead31e624ab9a1fc1b340a9208e89dad9e2 (plain) (tree)







































                                                                                                             
                                                         







































                                                                                                                                     
                                                       













                                                  
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>dev.spline.de - {% block title %}Welcome{% endblock %}</title>
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
  <link href="/css/layout.css" rel="stylesheet" type="text/css" />
  <!--[if lte IE 7]>
  <link href="/css/patches/patch_layout.css" rel="stylesheet" type="text/css" />
  <![endif]-->
  <script src="/js/form.js" type="text/javascript"></script>
</head>
<body>
  <div id="page_margins">
    <div id="page">
      <div id="header">
        <div class="subcolumns">
          <div class="c50l">
            <a href="/"><img id="logo" src="/img/logo.png" alt="logo" /></a>
          </div>
          <div class="c50r" style="text-align: right;">
            {% if session.login %}
            you are logged in as <em>{{ session.login }}</em>
            {% endif %}
          </div>
        </div>
      </div>
      {% if info_msg %}
      <div id="info">
        {{ info_msg }}
      </div>
      {% endif %}
      {% if error_msg %}
      <div id="error">
        {{ error_msg }}
      </div>
      {% endif %}
      <div id="main">
        <div id="col1">
          <div id="col1_content" class="clearfix">
            <div class="nav navbox">
              <a href="list_projects">Project Listing</a>
            </div>
            {% if session.login %}
            <div id="nav" class="nav navbox">
              <a href="new_project">New Project</a>
              <a href="projects">My Projects</a>
              <a href="profile">My Profile</a>
              <a href="logout">Logout</a>
            </div>
            {% else %}
            <div id="login" class="navbox">
              <p>Sign in with your dev.spline.de account</p>
              <form action="login" method="post">
                <input id="login_input" type="text" name="login" value="login" onfocus="clearInput('login_input')" />
                <input id="password_input" type="password" name="password" value="password" onfocus="clearInput('password_input')" />
                <input type="submit" value="Login"/>
              </form>
              <p><a href="password">I forgot my password</a></p>
            </div>
            <div id="register" class="navbox">
              <p>Don't have a dev.spline.de account?<br/><br/>
              <a href="register">Create an account now</a></p>
            </div>
            {% endif %}
          </div>
        </div>
        <div id="col3">
          <div id="col3_content" class="clearfix">
            {% block content %}{% endblock %}
          </div>
          <!-- IE Column Clearing -->
          <div id="ie_clearing"> &#160; </div>
        </div>
      </div>
      <!-- begin: #footer -->
      <div id="footer">
        <div class="subcolumns">
          <div class="c50l">
            dev.spline.de is operated by <a href="http://www.spline.de/">spline</a>
          </div>
          <div class="c50r" style="text-align: right">
            <a href="/account/contact">contact us</a> |
            <a href="/">home</a> |
            <a href="/account/imprint">imprint</a>
          </div>
        </div>
      </div>
      {% if debug_msg %}
      <div id="debug">
        {{ debug_msg }}
      </div>
      {% endif %}
    </div>
  </div>
</body>
</html>