From 56e1cc2e3523e0674eb426238665500c0dd5149a Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Wed, 16 Nov 2011 04:06:56 +0000 Subject: [PATCH] Added a colour indication to the Area/WG overview page showing responsible AD for each WG. Also some html reformatting for better readability. - Legacy-Id: 3623 --- ietf/templates/wginfo/wg-dir.html | 87 +++++++++++++++++-------------- static/css/base2.css | 9 ++++ 2 files changed, 56 insertions(+), 40 deletions(-) diff --git a/ietf/templates/wginfo/wg-dir.html b/ietf/templates/wginfo/wg-dir.html index 95b2c2296..bc7a78029 100644 --- a/ietf/templates/wginfo/wg-dir.html +++ b/ietf/templates/wginfo/wg-dir.html @@ -44,49 +44,56 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. {% block content %}

Active IETF Working Groups

-

See also: Concluded -Working Groups (www.ietf.org), Concluded Working Groups (tools.ietf.org), Historic Charters.

+

See also: + Concluded Working Groups (www.ietf.org), + Concluded Working Groups (tools.ietf.org), + Historic Charters. +

-{% for area in areas|dictsort:"area_acronym.name" %} -

{{ area.area_acronym.name }}

+ {% for area in areas|dictsort:"area_acronym.name" %} +

{{ area.area_acronym.name }}

-{% for ad in area.areadirector_set.all|dictsort:"person.last_name" %} -{% if forloop.first %} -

Area Director{{ forloop.revcounter|pluralize }}:

-

-{% endif %} -{{ ad.person }} <{{ ad.person.email.1 }}>{% if not forloop.last %}
{% endif %} -{% if forloop.last %} -

-{% endif %} -{% endfor %} + {% for ad in area.areadirector_set.all|dictsort:"person.last_name" %} + {% if forloop.first %} +

Area Director{{ forloop.revcounter|pluralize }}:

+

+ {% endif %} +   {{ ad.person }} <{{ ad.person.email.1 }}>{% if not forloop.last %}
{% endif %} + {% if forloop.last %} +

+ {% endif %} + {% endfor %} -{% for url in area.additional_urls %} -{% if forloop.first %} -

Area Specific Web Page{{ forloop.revcounter|pluralize}}:

-

-{% endif %} -{{ url.description }}{% if not forloop.last %}
{% endif %} -{% if forloop.last %} -

-{% endif %} -{% endfor %} + {% for url in area.additional_urls %} + {% if forloop.first %} +

Area Specific Web Page{{ forloop.revcounter|pluralize}}:

+

+ {% endif %} + {{ url.description }}{% if not forloop.last %}
{% endif %} + {% if forloop.last %} +

+ {% endif %} + {% endfor %} -{% for wg in area.active_wgs %} -{% if forloop.first %} -

Active Working Groups:

-
- -{% endif %} - - -{% if forloop.last %} -
{{ wg }}{{ wg.group_acronym.name }}{% for chair in wg.chairs %}{{chair.person}}{% if not forloop.last %}, {% endif %}{% endfor %}
-
-{% endif %} -{% empty %} -

No Active Working Groups

-{% endfor %}{# wg #} + {% for wg in area.active_wgs %} + {% if forloop.first %} +

Active Working Groups:

+
+ + {% endif %} + + + + + + + {% if forloop.last %} +
{{ wg }}{% for ad in area.areadirector_set.all|dictsort:"person.last_name" %}{% ifequal ad wg.area_director %} {% endifequal %}{% endfor %}{{ wg.group_acronym.name }}{% for chair in wg.chairs %}{{chair.person}}{% if not forloop.last %}, {% endif %}{% endfor %}
+
+ {% endif %} + {% empty %} +

No Active Working Groups

+ {% endfor %}{# wg #} -{% endfor %}{# area #} + {% endfor %}{# area #} {% endblock %} diff --git a/static/css/base2.css b/static/css/base2.css index ea3d39208..06e53fe57 100644 --- a/static/css/base2.css +++ b/static/css/base2.css @@ -159,3 +159,12 @@ form table .help { } @media print { .noprint { display: none } } + +.color1 { color: #ffb000; } +.color2 { color: #00ffff; } +.bgcolor1 { background-color: #ffb000; } +.bgcolor2 { background-color: #00ffff; } +.square { width: 0.8ex; height: 0.8ex; margin: 0; padding: 0; display: inline-block; position: relative; top: 0.8ex } +.big { font-size: 109.5%; margin: 0; padding: 0; } +.large { font-size: 120%; margin: 0; padding: 0; } +.huge { font-size: 144%; margin: 0; padding: 0; }