app/soc/templates/soc/base.html
changeset 1457 9fd31955cc49
parent 1451 ef134d062b83
child 1478 2cf71cd69521
equal deleted inserted replaced
1456:27e4b7ff2246 1457:9fd31955cc49
   110   </div>
   110   </div>
   111 
   111 
   112   <div id="header">
   112   <div id="header">
   113    <div id="logo">
   113    <div id="logo">
   114 	{% block logo %}
   114 	{% block logo %}
   115 <a href="/"><img src="/soc/content/images/gospo-logo.png" alt="Google Open Source Programs"/></a>
   115 <a href="/"><img src="/soc/content/images/gospo-logo.png" alt="{{ site_name }}"/></a>
   116    <span title=" TODO: logo updated in site sponsor interface " class="popup">
   116    <span title=" TODO: logo updated in site sponsor interface " class="popup">
   117 <small>*</small>
   117 <small>*</small>
   118    </span>
   118    </span>
   119 	{% endblock %}
   119 	{% endblock %}
   120    </div>
   120    </div>
   159 {% block sidebar_menu %}	
   159 {% block sidebar_menu %}	
   160     <ul>
   160     <ul>
   161      <li>
   161      <li>
   162 <a class="selected" href="/">
   162 <a class="selected" href="/">
   163     {% block sidebar_menu_title %}
   163     {% block sidebar_menu_title %}
   164     Google Open Source Programs
   164     {{ site_name }}
   165     {% endblock %}
   165     {% endblock %}
   166     </a>
   166     </a>
   167 {% if sidebar_menu_items %}
   167 {% if sidebar_menu_items %}
   168 {% include 'soc/sidebar/sidebar.html' %}
   168 {% include 'soc/sidebar/sidebar.html' %}
   169 {% endif %}
   169 {% endif %}
   190 
   190 
   191   <div id="body">
   191   <div id="body">
   192 	
   192 	
   193    <div style="line-height: 140%;">
   193    <div style="line-height: 140%;">
   194 	{% block body %}
   194 	{% block body %}
   195 <p class="todo">
   195   &lt;Missing Page Body&gt;
   196 This is generic HTML that can be configured via the site administration
       
   197 interface.  It is unclear if the site admin can be trusted and allowed to enter
       
   198 any arbitrary HTML (more flexible and powerful) or if only a whitelist of "safe"
       
   199 HTML tags should be permitted (to prevent XSS, etc.).
       
   200 (<a href="http://www.feedparser.org/"><code>feedparser</code></a> is useful for
       
   201 this and is written in Python, should whitelisting be necessary.)
       
   202 </p>
       
   203 <p>
       
   204 Welcome to Google Open Source Programs, the home of
       
   205 <a href="/program/gsoc2009/home">Google Summer of Code</a>
       
   206 and the
       
   207 <a href="/program/ghop2008/home">Google Highly Open Participation</a> contest.
       
   208 </p>
       
   209 <p class="todo">
       
   210 The site administration interface will provide a mechanism to select a feed to
       
   211 be displayed here.
       
   212 </p>
       
   213 	{% endblock %}
   196 	{% endblock %}
   214    </div>
   197    </div>
   215    <div id="footer" dir="ltr">
   198    <div id="footer" dir="ltr">
   216     {% if ga_tracking_num %}
   199     {% if ga_tracking_num %}
   217     {% include 'soc/site/ga.html' %}
   200     {% include 'soc/site/ga.html' %}