testappproj/templates/base.html~
changeset 0 0b061d58aea3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testappproj/templates/base.html~	Mon May 17 22:33:59 2010 +0530
@@ -0,0 +1,47 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html>
+  <head>
+    <title>Fossee Test</title>
+    <link rel="stylesheet" href="/static/pykata.css" type="text/css">
+  </head>
+  <body>
+    <div id="container">
+      <div id="header">
+      <div id="nav">
+          <a href="/">Home</a> |
+          <a href="/accounts/register">Register</a>|
+          {% if user %}
+           
+	  {% if user.username %} 
+		     {{ user.username }} |
+		<a href="/accounts/logout">Sign out</a> 
+          {% else %}
+          	<a href="/accounts/login">Sign in</a>{% endif %}
+          {% endif %}
+          <br /><br />
+          </div>
+      </div>
+      <div id="content">
+          {% block body %}
+          {% endblock %}
+      </div>
+      <div id="footer" style="height:50px; text-align:center;">
+        <strong>FOSSEE, 2010</strong><br />
+        <em>(Powered by MHRD)</em>
+      </div>
+    </div>
+
+    {% block scripts %}
+    {% endblock %}
+    <!-- Google Analytics tracking -->
+    <script type="text/javascript">
+      var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+      document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+    </script>
+    <script type="text/javascript">
+      try {
+      var pageTracker = _gat._getTracker("UA-7813330-1");
+      pageTracker._trackPageview();
+      } catch(err) {}</script>
+  </body>
+</html>