testappproj/templates/base.html~
changeset 0 0b061d58aea3
equal deleted inserted replaced
-1:000000000000 0:0b061d58aea3
       
     1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
       
     2 <html>
       
     3   <head>
       
     4     <title>Fossee Test</title>
       
     5     <link rel="stylesheet" href="/static/pykata.css" type="text/css">
       
     6   </head>
       
     7   <body>
       
     8     <div id="container">
       
     9       <div id="header">
       
    10       <div id="nav">
       
    11           <a href="/">Home</a> |
       
    12           <a href="/accounts/register">Register</a>|
       
    13           {% if user %}
       
    14            
       
    15 	  {% if user.username %} 
       
    16 		     {{ user.username }} |
       
    17 		<a href="/accounts/logout">Sign out</a> 
       
    18           {% else %}
       
    19           	<a href="/accounts/login">Sign in</a>{% endif %}
       
    20           {% endif %}
       
    21           <br /><br />
       
    22           </div>
       
    23       </div>
       
    24       <div id="content">
       
    25           {% block body %}
       
    26           {% endblock %}
       
    27       </div>
       
    28       <div id="footer" style="height:50px; text-align:center;">
       
    29         <strong>FOSSEE, 2010</strong><br />
       
    30         <em>(Powered by MHRD)</em>
       
    31       </div>
       
    32     </div>
       
    33 
       
    34     {% block scripts %}
       
    35     {% endblock %}
       
    36     <!-- Google Analytics tracking -->
       
    37     <script type="text/javascript">
       
    38       var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
       
    39       document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
       
    40     </script>
       
    41     <script type="text/javascript">
       
    42       try {
       
    43       var pageTracker = _gat._getTracker("UA-7813330-1");
       
    44       pageTracker._trackPageview();
       
    45       } catch(err) {}</script>
       
    46   </body>
       
    47 </html>