From 69a3c5dea43cfc30f07e429bbb124ab5c2abea9b Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Thu, 23 Jul 2015 09:55:56 +0000 Subject: [PATCH] Merged in [9856] from lars@netapp.com: Style the metadata tables for groups, documents, etc. like Henrik prefers. - Legacy-Id: 9867 Note: SVN reference [9856] has been migrated to Git commit 9133b9469e556081b6fb8c3ba24225944e4cdc27 --- ietf/templates/doc/document_charter.html | 22 +++++----- .../doc/document_conflict_review.html | 16 +++---- ietf/templates/doc/document_draft.html | 42 +++++++++---------- .../templates/doc/document_status_change.html | 18 ++++---- ietf/templates/group/group_about.html | 27 ++++++------ static/css/ietf.css | 13 ++++-- 6 files changed, 73 insertions(+), 65 deletions(-) diff --git a/ietf/templates/doc/document_charter.html b/ietf/templates/doc/document_charter.html index 4c131542d..27b1378cc 100644 --- a/ietf/templates/doc/document_charter.html +++ b/ietf/templates/doc/document_charter.html @@ -27,11 +27,11 @@ - + Document - + {% if doc.get_state_slug != "approved" %} Proposed charter {% else %} @@ -49,7 +49,7 @@ - + Title @@ -60,14 +60,14 @@ {{ doc.title }} - + Last updated {{ doc.time|date:"Y-m-d" }} - + State @@ -89,19 +89,19 @@ - + WG - State + State {{ group.state.name }} - + IESG - Responsible AD + Responsible AD {% if can_manage %} {% doc_edit_button "charter_edit_ad" name=doc.name %} @@ -113,7 +113,7 @@ {% if not snapshot and chartering %} - + Telechat date @@ -135,7 +135,7 @@ {% endif %} - + Send notices to diff --git a/ietf/templates/doc/document_conflict_review.html b/ietf/templates/doc/document_conflict_review.html index 456c3f73e..1dcb5ab9a 100644 --- a/ietf/templates/doc/document_conflict_review.html +++ b/ietf/templates/doc/document_conflict_review.html @@ -23,10 +23,10 @@ - + Document - + {% if doc.get_state_slug not in approved_states %} Proposed conflict review {% else %} @@ -46,14 +46,14 @@ - + Last updated {{ doc.time|date:"Y-m-d" }} - + State @@ -67,10 +67,10 @@ - + IESG - Shepherding AD + Shepherding AD {% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %} Edit @@ -82,7 +82,7 @@ {% if not snapshot %} - + Telechat date @@ -105,7 +105,7 @@ {% endif %} - + Send notices to diff --git a/ietf/templates/doc/document_draft.html b/ietf/templates/doc/document_draft.html index 2b4301c35..78df0162d 100644 --- a/ietf/templates/doc/document_draft.html +++ b/ietf/templates/doc/document_draft.html @@ -38,7 +38,7 @@ - + Document Type @@ -63,7 +63,7 @@ - + Last updated @@ -76,7 +76,7 @@ {% if replaces or can_edit_stream_info %} - + Replaces @@ -91,7 +91,7 @@ {% endif %} {% if replaced_by %} - + Replaced by @@ -131,7 +131,7 @@ {% endif %} {% endif %} - + Stream @@ -145,7 +145,7 @@ {% if doc.get_state_slug != "rfc" %} - + Intended RFC status @@ -159,7 +159,7 @@ {% endif %} - + Formats @@ -178,7 +178,7 @@ {% if conflict_reviews %} - + IETF conflict review @@ -187,7 +187,7 @@ {% endif %} - + Stream {% if doc.stream %} @@ -224,7 +224,7 @@ {% if consensus %} - + Consensus @@ -238,7 +238,7 @@ {% endif %} - + Document shepherd @@ -254,7 +254,7 @@ {% if shepherd_writeup or can_edit_shepherd_writeup %} - + Shepherd write-up @@ -277,14 +277,14 @@ {% endif %} {% if published and started_iesg_process and published.time < started_iesg_process.time %} - + This information refers to IESG processing after the RFC was initially published: {% endif %} - + IESG IESG state @@ -298,7 +298,7 @@ - + Telechat date @@ -324,7 +324,7 @@ - + Responsible AD @@ -339,7 +339,7 @@ {% if iesg_state %} {% if doc.note or can_edit %} - + IESG note @@ -354,7 +354,7 @@ {% endif %} {% endif %} - + Send notices to @@ -370,7 +370,7 @@ {% if iana_review_state %} - + IANA IANA review state @@ -384,7 +384,7 @@ - + IANA action state @@ -399,7 +399,7 @@ {% endif %} - + {% if rfc_editor_state %} RFC Editor diff --git a/ietf/templates/doc/document_status_change.html b/ietf/templates/doc/document_status_change.html index c02cd876f..d6542332a 100644 --- a/ietf/templates/doc/document_status_change.html +++ b/ietf/templates/doc/document_status_change.html @@ -23,10 +23,10 @@ - + Document - + {% if doc.get_state_slug not in approved_states %} Proposed status change {% else %} @@ -46,7 +46,7 @@ - + Last updated @@ -56,7 +56,7 @@ {% regroup sorted_relations by relationship.name as relation_groups %} {% for relation_group in relation_groups %} - + {{relation_group.grouper}} @@ -64,7 +64,7 @@ {% endfor %} - + State @@ -78,10 +78,10 @@ - + IESG - Telechat date + Telechat date {% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %} Edit @@ -101,7 +101,7 @@ - + Shepherding AD @@ -114,7 +114,7 @@ - + Send notices to diff --git a/ietf/templates/group/group_about.html b/ietf/templates/group/group_about.html index dcbf15461..c3f4565ba 100644 --- a/ietf/templates/group/group_about.html +++ b/ietf/templates/group/group_about.html @@ -10,8 +10,9 @@

Note: The data for concluded {{ group.type.name }}s is occasionally incorrect.

{% endif %} +
- + @@ -19,13 +20,13 @@ - + - + {% if group.parent and group.parent.type_id == "area" %} @@ -35,7 +36,7 @@ - + - + - + - + {% for slug, label, roles in group.personnel %} {% if forloop.first %} {% else %} - + {% endif %} + - - + + {% endif %} {% if group.state_id != "conclude" and group.type_id != "sdo" and group.type_id != "rfcedtyp" and group.type_id != "isoc" %} - + @@ -120,7 +121,7 @@ - + diff --git a/static/css/ietf.css b/static/css/ietf.css index fb7b7f09d..0719233b9 100644 --- a/static/css/ietf.css +++ b/static/css/ietf.css @@ -391,9 +391,16 @@ footer { } */ -tbody tr.plain td, tbody tr.plain th { border-top: 0px; } -tbody tr.plain th { text-align: right; width: 9em; } -tbody tr.plain:first-child th { text-align: left; width: 6em; } + +table tbody.meta th, table tbody.meta td { border-top: 0; } +table tbody.meta th:first-child, table tbody.meta td:first-child { + width: 6em; +} +table tbody.meta th:nth-child(2), table tbody.meta td:nth-child(2) { + text-align: right; + width: 9em; +} + td.ad div { border-bottom: solid #ccc 1px; }
{{ group.type.name }} Name
Acronym {{ group.acronym }}
{{ group.parent.type.name }} {{ group.parent.name }} ({{ group.parent.acronym }})
State {{ group.state.name }} @@ -47,7 +48,7 @@ {% if group.features.has_chartering_process %}
Charter {% if group.charter %} @@ -67,7 +68,7 @@ {% with group.groupurl_set.all as urls %} {% if urls %}
More info {% for url in urls %} @@ -78,13 +79,13 @@ {% endif %} {% endwith %}
Personnel{{ label }} @@ -101,18 +102,18 @@ {% if group.list_email %} -
Mailing list Address{{ group.list_email|urlize }}
To subscribe{{ group.list_subscribe|urlize }}
Archive{{ group.list_archive|urlize }}
To subscribe{{ group.list_subscribe|urlize }}
Archive{{ group.list_archive|urlize }}
Jabber chat Room address
Logs https://jabber.ietf.org/logs/{{ group.acronym }}/