Files @ 09a4b021c1f5
Branch filter:

Location: website/www/conservancy/templates/base_vizio.html

Bradley M. Kuhn
Repair menu highlighting, both for main menu and submenus

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.
{% extends "base_conservancy.html" %}
{% load cache %}
{% load humanize %}
{% block category %}WhatWeDo{% endblock %}
{% 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="VizioTopBar {% block submenuselection %}{% endblock %}">
            <h2>What We Do</h2>
            {% include 'submenus/what_we_do_partial.html' %}
            <h2>Vizio Lawsuit</h2>
            <ul>
            <li class="VizioMain"><a href="/copyleft-compliance/vizio.html">About the Lawsuit</a></li>
            <li class="VizioMain"><a href="/copyleft-compliance/vizio.html">Press Release</a></li>
            <li class="VizioComplaint"><a href="/docs/software-freedom-conservancy-v-vizio-complaint-2021-10-19.pdf">Complaint</a></li>
            <li class="VizioQandA"><a href="/press/qanda.html">Q&amp;A</a></li>
            </ul>
            <h2>Resources for Journalists</h2>
            <ul>
            <li class="VizioPressKit"><a href="/docs/software-freedom-conservancy-v-vizio-announce-press-kit.pdf">Press Kit</a></li>
            <li class="VizioPhotoAssets"><a href="/docs/software-freedom-conservancy-v-vizio-photo-assets.zip">Photo Assets</a></li>
            <li class="Glossary"><a href="/copyleft-compliance/glossary.html">Glossary</a></li>
            </ul>
            <h2><ul><li class="ComplianceMain"><a href="/copyleft-compliance/index.html">More About Copyleft Compliance</a></li></ul></h2>
         </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 &amp; 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 %}