~nchohan/+junk/mytools

« back to all changes in this revision

Viewing changes to sample_apps/tasks/templates/base.html

  • Committer: root
  • Date: 2010-11-03 07:43:57 UTC
  • Revision ID: root@appscale-image0-20101103074357-xea7ja3sor3x93oc
init

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
 
3
  <head>
 
4
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
 
5
    <title>{% block title %}{{ application_name }}{% endblock %}</title>
 
6
    <link href="/static/css/base.css" rel="stylesheet" type="text/css"/>
 
7
    {% block head %}{% endblock %}
 
8
  </head>
 
9
  <body {% block bodyattributes %}{% endblock %}>
 
10
    {% block header %}
 
11
      <div id="header">
 
12
        <div class="login">
 
13
          {% if user %}
 
14
            <span class="item nickname">{{ user.nickname }}</span> |
 
15
            <span class="item"><a href="{{ logout_url|escape }}">Sign out</a></span>
 
16
          {% else %}
 
17
            <span class="item"><a href="{{ login_url|escape }}">Sign in</a></span>
 
18
          {% endif %}
 
19
        </div>
 
20
        <div class="title"><a href="/"><img src="/static/images/logo.png" alt="Google Wiki"/></a></div>
 
21
      </div>
 
22
    {% endblock %}
 
23
    <div id="body">{% block body %}{% endblock %}</div>
 
24
    {% block footer %}{% endblock %}
 
25
  </body>
 
26
</html>