Changeset - c15ed233cfed
[Not reviewed]
0 4 0
Bradley Kuhn (bkuhn) - 7 years ago 2015-03-05 15:43:41
bkuhn@ebb.org
Begin work to highlight sidebar menu correctly.

The sidebar menu, and its related top menu item should match setups used
with other sidebar based pages on the site.
4 files changed with 6 insertions and 3 deletions:
0 comments (0 inline, 0 general)
www/conservancy/static/conservancy.css
Show inline comments
...
 
@@ -148,7 +148,8 @@ h3 { margin-top: .6em; margin-bottom: .4em; }
 
#container #sidebar.License ul li.License,
 
#container #sidebar.Current ul li.Current,
 
#container #sidebar.Services ul li.Services,
 
#container #sidebar.Applying ul li.Applying
 
#container #sidebar.Applying ul li.Applying,
 
#container #sidebar.Applying ul li.AboutCompliance
 
{
 
    color: #000033;
 
    font-weight: bold;
...
 
@@ -262,6 +263,7 @@ body.conservancy-Members #navbar ul li.Members a,
 
body.conservancy-news #navbar ul li.news a,
 
body.conservancy-blog #navbar ul li.blog a,
 
body.conservancy-About #navbar ul li.About a,
 
body.conservancy-linux-compliance #navbar ul li.linux-compliance a,
 
body.conservancy-donate #navbar ul li.donate a,
 
body.conservancy-npoacct #navbar ul li.npoacct a,
 
body.conservancy-sponsors #navbar ul li.sponsors a /* NO COMMA HERE! */
www/conservancy/static/linux-compliance/about.html
Show inline comments
 
{% extends "base_compliance.html" %}
 
{% block subtitle %}GPL Compliance Project For Linux Developers - {% endblock %}
 
{% block submenuselection %}About{% endblock %}
 
{% block submenuselection %}AboutCompliance{% endblock %}
 
{% block content %}
 
<h1>GPL Compliance Project for Linux Developers</h1>
 

	
www/conservancy/templates/base_compliance.html
Show inline comments
...
 
@@ -43,7 +43,7 @@ of $<span id="fundraiser-goal">50,000</span> match met.<br/>
 
         <div id="sidebar" class="{% block submenuselection %}other{% endblock %}">
 
            <h2>Conservancy's GPL {% block category %}Compliance{% endblock %} Work</h2>
 
            <ul>
 
            <li class="About"><a href="/linux-compliance/about.html">About GPL Compliance Project for Linux Developers</a></li>
 
            <li class="AboutCompliance"><a href="/linux-compliance/about.html">About GPL Compliance Project for Linux Developers</a></li>
 
            </ul>
 
         </div>
 
               <div id="mainContent">{% block content %}{% endblock %}
www/conservancy/templates/base_conservancy.html
Show inline comments
...
 
@@ -27,6 +27,7 @@
 
	  <li class="sponsors"><a href="/sponsors/">Sponsors</a></li>
 
	  <li class="donate"><a href="/donate/">Donate</a></li>
 
          <li class="npoacct"><a href="/npoacct/">NPOAcct</a></li>
 
          <li class="linux-compliance"><a href="/linux-compliance/">GPL</a></li>
 
          <li class="supporter"><a href="/supporter/">Become a Supporter!</a></li>
 
	</ul>
 
      </div>
0 comments (0 inline, 0 general)