added more pages. anoop
authoranoop
Fri, 04 Jun 2010 19:00:02 +0530
branchanoop
changeset 31 ec540dfbfe78
parent 30 11f828503666
child 32 7badc9093d9b
added more pages.
sdi/views.py
templates/base.html
templates/index.html
templates/list_stats.html
templates/reg_complete.html
urls.py
--- a/sdi/views.py	Fri Jun 04 14:59:14 2010 +0530
+++ b/sdi/views.py	Fri Jun 04 19:00:02 2010 +0530
@@ -76,3 +76,17 @@
 def homepage(request):
         return render_to_response("index.html")
 
+def schedule(request):
+	return render_to_response("schedule.html")
+
+def organizers(request):
+	return render_to_response("organizers.html")
+
+def venue(request):
+	return render_to_response("venue.html")
+
+def contact(request):
+	return render_to_response("contact.html")
+
+def about(request):
+	return render_to_response("about.html")
--- a/templates/base.html	Fri Jun 04 14:59:14 2010 +0530
+++ b/templates/base.html	Fri Jun 04 19:00:02 2010 +0530
@@ -19,9 +19,10 @@
   color:#666666;
   background-color:#f3f3f3;
   font-family: Arial, "Trebuchet MS", Verdana;
-  font-size: 80%;
+  font-size: 90%;
   background-repeat:repeat-x;
   background-position:top;
+  text-align: justify;
 }
 
 /******************************************** ********** ********** **********/
@@ -46,7 +47,7 @@
 }
 
 #header-image {
-  height:120px;
+  height:180px;/*120px*/
   background-color:#FFFFFF;
   background-image:url(/media/logo.png);
   background-repeat:no-repeat;
@@ -70,7 +71,7 @@
 }
 
 .content-padding {
-  padding:10px;
+  padding:0px;
 }
 
 #sidebar-left {
@@ -84,21 +85,20 @@
   float:left;
 }
 
-.sidebar-left #middle-content,
-.sidebar-right #middle-content {
+.sidebar-left #middle-content{
   width:77%;
   float:left;
 }
 
 .sidebars #middle-content {
-  width:56%;
+  width:77%;
   float:left;
 }
 
-#sidebar-right {
-  width:21%;
+<!-- #sidebar-right {
+  width:0%;
   float:right;
-}
+} -->
 
 div.tablewrapper {
   width:99%;
@@ -447,7 +447,7 @@
 #navigation-breadcrumb {
   padding:5px 20px; 
   border-top: 1px solid #ffffff;
-  background-image:url(img/bg_breadcrumb.gif);
+  background-image:url(/media/bg_breadcrumb.gif);
   background-repeat:repeat-x;
 //  margin-bottom:10px;
 }
@@ -871,7 +871,7 @@
 <li class="leaf"><a href="/sage_days/registration/register" 
 title="Conference Registration">Register</a></li>
 <li class="leaf first"><a href="/sage_days/schedule" title="">Schedule</a></li>
-<li class="leaf"><a href="/sage_days/speakers" title="">Speakers</a></li>
+<!--<li class="leaf"><a href="/sage_days/speakers" title="">Speakers</a></li>-->
 <li class="leaf"><a href="/sage_days/organizers" 
 title="Conference Organizers">Organizers</a></li>
 <li class="leaf"><a href="/sage_days/venue" title="">Venue</a></li>
--- a/templates/index.html	Fri Jun 04 14:59:14 2010 +0530
+++ b/templates/index.html	Fri Jun 04 19:00:02 2010 +0530
@@ -1,8 +1,51 @@
 {% extends 'base.html' %}
 {% block content %}
 <h2>Sage Days 25, Mumbai, India</h2>
-<p>
-For registration click <a href="/sage_days/registration/register/">here</a><br /><br />
-</p>
+<h4>What is 'Sage Days'?</h4>
+Sage Days is a confluence of present and prospective SAGE Users and Developers.
+It is an opportunity to come together to share ideas, brainstorm and hack on Sage.
+
+Sage Days 25 is the 25th version of Sage Days, and is being organized in Mumbai, India.
+In order to cater to an Indian audience and scenario, this version has been tweaked
+slightly. Sage Days 25 has beginner level tutorials, in addition to the usual talks and sprints,
+to help new users get started with Sage and help promote the use of Sage in India.
+<br/>
+<br/>
+<h4>What is Sage?</h4>
+Sage is a free, open-source mathematics software system licensed under the GPL.
+It combines the power of numerous existing open-source packages into a common
+Python-based interface. It's mission is to create a "viable free open source alternative to
+Magma, Maple, Mathematica and Matlab".
+
+Sage has tools for a broad range of mathematical areas like Linear Algebra, Calculus,
+Symbolic Math,  Plotting, Rings & Groups, Graph Theory, Number Theory and Cryptography.
+Essentially, "it can do anything from mapping a 12-dimensional object to calculating rainfall
+patterns under global warming" - as Science Daily puts it . Eager to get started? Start <a href="http://www.sagemath.org/tour.html">here</a>.
 
+Apart from being feature rich, it's usability is one of it's greatest strengths. Sage Notebook,
+a web-interface for all the math you'll ever want to do, is really the killer feature! As the Sage
+Marketing page says, "The SAGE GUI surely works on your computer box, because it just runs
+in Firefox!".  <a href="http://www.sagenb.org/">Try it Now!</a>
+<br/>
+<br/>
+<h4>Why should you attend?</h4>
+Sage Days 25 is being attended by the creator and lead developer of Sage, Prof. William Stein.
+It will also be attended by other developers of Sage. This would be a great opportunity to meet
+and interact with them!  
+
+The conference will be attended by a plethora of enthusiastic people from all over the country
+who use Sage or are interested in doing so. The conference will also see the presence of many
+mathematicians interested in software. Who knows, you may run into someone you'd want to
+collaborate with, for your future work!
+
+This event will be a great learning experience, if you are even remotely interested in math and software for it!
+<br/>
+<br/>
+<h4>When and Where?</h4>
+Venue: IIT-Bombay, Mumbai, India<br/>
+Dates: August 9-12, 2010<br/>
+<a href="http://wiki.sagemath.org/daysindia25/schedule">Tentative Schedule</a><br/>
+<a href="/sage_days/registration/register">Register Here</a>
+<br/>
+<br/>
 {% endblock %}
--- a/templates/list_stats.html	Fri Jun 04 14:59:14 2010 +0530
+++ b/templates/list_stats.html	Fri Jun 04 19:00:02 2010 +0530
@@ -1,4 +1,7 @@
 {% extends 'base.html' %}
+{% block title %}
+Registration Statistics
+{% endblock %}
 {% block content %}
 <form action="" method="post">
 <!--
--- a/templates/reg_complete.html	Fri Jun 04 14:59:14 2010 +0530
+++ b/templates/reg_complete.html	Fri Jun 04 19:00:02 2010 +0530
@@ -1,4 +1,7 @@
 {% extends 'base.html' %}
+{% block title %}
+Registration Complete
+{% endblock %}
 {% block content %}
 <script language="javascript">
 setTimeout("document.location='/sage_days'", 10000);
--- a/urls.py	Fri Jun 04 14:59:14 2010 +0530
+++ b/urls.py	Fri Jun 04 19:00:02 2010 +0530
@@ -4,7 +4,7 @@
 from django.contrib import admin
 admin.autodiscover()
 
-from sage_days.sdi.views import register, homepage
+from sage_days.sdi.views import register, homepage, schedule, organizers, venue, contact, about
 from sage_days.settings import APACHE_URL_PREFIX as aup
 
 urlpatterns = patterns('',
@@ -18,5 +18,10 @@
     # Uncomment the next line to enable the admin:
     (r'^administration/', include(admin.site.urls)),
     (r'^$',homepage),
+    (r'^schedule/',schedule),
+    (r'^organizers/',organizers),
+    (r'^venue/',venue),
+    (r'^contact/',contact),
+    (r'^about/',about),
     (r'^registration/', include('sage_days.sdi.site.urls')),
 )