Bradley M. Kuhn
09a4b021c1
During the recent improvements made on the website, the menus and submenu highlighting for selected menus fell into disarray. Correction requires changes to the CSS and templates both, because Django doesn't really have a convenient way to set variables in templates to use to solve this. There are still a few submenu items highlighting not working even after this commit. More work needs to be done.
41 lines
1.4 KiB
HTML
41 lines
1.4 KiB
HTML
{% extends "base_conservancy.html" %}
|
|
{% load cache %}
|
|
{% load humanize %}
|
|
{% block head %}
|
|
<link href="/jquery-ui.css" rel="stylesheet" type="text/css"/>
|
|
<link href="/forms.css" rel="stylesheet" type="text/css"/>
|
|
|
|
{% endblock %}
|
|
|
|
{% block outercontent %}
|
|
<div class="content-with-donate-sidebar">
|
|
<div id="container">
|
|
<div id="sidebar" class="{% block submenuselection %}{% endblock %}">
|
|
<h2>What We Do</h2>
|
|
{% include 'submenus/what_we_do_partial.html' %}
|
|
<h2>Resources for Journalists</h2>
|
|
<ul>
|
|
<li class="News"><a href="/news/">News</a></li>
|
|
<li class="PressKit"><a href="/press/">Press Kit</a></li>
|
|
<li class="Glossary"><a href="/copyleft-compliance/glossary.html">Glossary</a></li>
|
|
</ul>
|
|
</div>
|
|
<div id="mainContent">{% block content %}{% endblock %}
|
|
</div>
|
|
|
|
</div>
|
|
<div class="donate-sidebar">
|
|
<details>
|
|
<summary>Support Now!</summary>
|
|
|
|
<h3>Support Copyleft Enforcement Now!</h3>
|
|
|
|
<p>
|
|
To support our copyleft compliance & enforcement work,
|
|
please <a href="/sustainer/#annual"><span class="donate-box-highlight">become a Conservancy
|
|
Sustainer <strong>right now</strong></span></a>. We can't sustain
|
|
this work without ongoing support from donors like you!</p>
|
|
</details>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|