app/templates/projrev/base.html
changeset 34 21942fac2b4b
parent 31 ef9fdc847543
--- a/app/templates/projrev/base.html	Thu Aug 06 18:49:06 2009 +0530
+++ b/app/templates/projrev/base.html	Mon Aug 10 16:38:13 2009 +0530
@@ -11,12 +11,21 @@
 
 {% block stylesheets %} 
 <link rel="stylesheet" href="/site-content/css/projrev.css" type="text/css"/>
+<link type="text/css" rel="stylesheet" href="/site-content/css/colorbox.css" />
+<link type="text/css" rel="stylesheet" href="/site-content/css/jquery-purr.css" />
+<link type="text/css" rel="stylesheet" href="/site-content/css/jquery.rating.css" />
 {% endblock stylesheets %}
 
 {% block scripts %}
   <script type="text/javascript" 
   src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js">
   </script>
+  <script type="text/javascript" src="/site-content/js/jquery.colorbox-min.js">
+  </script>
+  <script language="JavaScript" type="text/javascript" src="/site-content/js/jquery.purr.js">
+  </script>
+  <script language="JavaScript" type="text/javascript" src="/site-content/js/jquery.rating.js">
+  </script>
 {% endblock scripts %}
 <title>National Mission on Education through ICT</title>
 	
@@ -33,7 +42,8 @@
 		<h1 id="logo"><a href="index.html" title="">National Mission on Education <span class="gray">through ICT</span></a></h1>	
 	</div></div>
 
-	<div class="headerphoto"></div>
+	<!-- <div class="headerphoto"></div>  -->
+	<br /> <br />
 	{% endblock header %}
 
 	<!-- content-wrap starts here -->
@@ -41,48 +51,41 @@
 		
 		{% block sidebar %}		
 		<div id="sidebar" >
-		
-			<div class="sidebox">
-			
-				<h1>Short About</h1>
-				
-				<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero. Suspendisse bibendum. 
-				Cras id urna. Morbi tincidunt, orci ac convallis aliquam, lectus turpis varius lorem, eu 
-				posuere nunc justo tempus leo.</p>	
-						
-			</div>			
-
 			<div class="sidebox">	
 			
-				<h1>Sponsors</h1>
+				<h1>Links</h1>
 				<ul class="sidemenu">
-					<li><a href="http://www.dreamhost.com/r.cgi?287326" class="top">Dreamhost</a></li>
-					<li><a href="http://www.4templates.com/?aff=ealigam">4templates</a></li>
-					<li><a href="http://store.templatemonster.com/?aff=ealigam">TemplateMonster</a></li>	
-					<li><a href="http://www.fotolia.com/partner/114283">Fotolia.com</a></li>									
-					<li><a href="http://www.text-link-ads.com/?ref=40025">Text Link Ads</a></li> 		
+				  {% if user.is_authenticated %}
+            <li>Welcome, {{ user.username }}</li>
+            <li><a href="/logout/" class="top"><strong>Logout</strong></a></li>
+            {% if user.is_staff%}
+              <li><a href="/proposal/review/" class="top">Review Proposals</a></li>
+              <li><a href="/proposal/rank/" class="top">Aggregated Scores for Proposals</a></li>
+              <li><a href="/proposal/myreviews/" class="top">Show all my reviews</a></li>
+            {% else %}
+              <li><a href="/proposal/submit/" class="top">Create/Edit Proposals</a></li>
+            {% endif %}
+          {% else %}
+            <li>Welcome, new user. Please log in.</li>
+            <li><a href="/login/" class="top"><strong>Login</strong></a></li>
+          {% endif %}
 				</ul>
-				
 			</div>
-			
-			<div class="sidebox">	
-						
-				<h1>Search Box</h1>	
-				<form action="#" class="searchform">
-					<p>
-					<input name="search_query" class="textbox" type="text" />
-  					<input name="search" class="button" value="Search" type="submit" />
-					</p>			
-				</form>			
-				
-			</div>
-					
+
+      <div class="sidebox">
+      
+        <h1>About NME ICT</h1>
+        
+        <p>National Mission on Education is an Ministry of Human Resources 
+        Development, Govt. of India initiative. The goal .</p>  
+            
+      </div>					
 		</div>	
 		{% endblock sidebar %}
 
 		<div id="main">		
 		{% block content %}
-		{% comment %} To be filled in inherited templates {% endcomment %}				
+		{% comment %} To be filled in inherited templates {% endcomment %}
 		{% endblock content %}
 		</div>					
 	
@@ -92,39 +95,32 @@
 <div id="footer"><div id="footer-content">
 	
 		<div class="col float-left">
-			<h1>Site Partners</h1>
+			<h1>Funded projects</h1>
 			<ul>				
-				<li><a href="http://www.dreamhost.com/r.cgi?287326"><strong>Dreamhost</strong> - Affordable &amp; Reliable Webhosting</a></li>
-				<li><a href="http://www.4templates.com/?aff=ealigam"><strong>4templates</strong> - Low Cost Hi-Quality Templates</a></li>
-				<li><a href="http://store.templatemonster.com/?aff=ealigam"><strong>TemplateMonster</strong> - Best templates on the net!</a></li>	
-				<li><a href="http://www.fotolia.com/partner/114283"><strong>Fotolia</strong> - Free stock images or from $1</a></li>						
-				<li><a href="http://www.text-link-ads.com/?ref=40025"><strong>Text Link Ads</strong> - Easiest. Money. Ever.</a></li>
+				<li><a href="http://scilab.in"><strong>Scilab</strong> - scilab.in</a></li>
 			</ul>			
 		</div>
 		
 		<div class="col float-left">
 			<h1>Links</h1>
 			<ul>				
-				<li><a href="http://www.openwebdesign.org/">openwebdesign.org</a></li>
-				<li><a href="http://www.opendesigns.org/">Opendesigns.org</a></li>
-				<li><a href="http://www.pdphoto.org/">PDPhoto.org</a></li>
-				<li><a href="http://www.alistapart.com">Alistapart</a></li>					
-				<li><a href="http://www.cssremix.com">CSS Remix</a></li>				
+				<li><a href="http://www.education.nic.in/">Ministry of HRD</a></li>	
+				<li><a href="http://www.iitb.ac.in/">IIT Bombay</a></li>
 			</ul>			
 		</div>		
 	
 		<div class="col2 float-right">
 		<p>
-		&copy; copyright 2006 <strong>Your Company Name</strong><br /> 
-		Design by: <a href="index.html"><strong>styleshout</strong></a> &nbsp; &nbsp;
+		&copy; copyright 2009 <strong>Sakshath</strong><br /> 
+		Design by: <a href="index.html"><strong>IIT Bombay</strong></a> &nbsp; &nbsp;<br/>
+		Information Provided and Updated by Ministry of Human Resource Development<br/>
 		Valid <a href="http://jigsaw.w3.org/css-validator/check/referer"><strong>CSS</strong></a> | 
 		      <a href="http://validator.w3.org/check/referer"><strong>XHTML</strong></a>
 		</p>
 		
 		<ul>						
-			<li><a href="index.html"><strong>Home</strong></a></li>
-			<li><a href="index.html"><strong>Sitemap</strong></a></li>
-			<li><a href="index.html"><strong>RSS Feed</strong></a></li>								
+			<li><a href="/"><strong>Home</strong></a></li>
+			<li><a href=""><strong>Sitemap</strong></a></li>								
 		</ul>	
 		</div>