From dcccd9c863702346160cca3ce444ca21ac575f24 Mon Sep 17 00:00:00 2001 From: Lars Eggert <lars@eggert.org> Date: Wed, 22 Jul 2015 14:31:01 +0000 Subject: [PATCH] Apply more of the styling from the current meta tables. Commit ready for merge. - Legacy-Id: 9857 --- ietf/templates/doc/document_charter.html | 4 ++-- ietf/templates/doc/document_draft.html | 4 ++-- ietf/templates/group/group_about.html | 2 +- static/css/ietf.css | 5 +++++ 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ietf/templates/doc/document_charter.html b/ietf/templates/doc/document_charter.html index 27b1378cc..c8b760a3b 100644 --- a/ietf/templates/doc/document_charter.html +++ b/ietf/templates/doc/document_charter.html @@ -20,9 +20,9 @@ <thead id="message-row"> <tr> {% if doc.rev != latest_rev %} - <th colspan="4" class="alert-warning"> The information below is for an old version of the document</th> + <th colspan="4" class="alert-warning">The information below is for an old version of the document</th> {% else %} - <th colspan="4"> </th> + <th colspan="4"></th> {% endif %} </tr> </thead> diff --git a/ietf/templates/doc/document_draft.html b/ietf/templates/doc/document_draft.html index 5998e7ea7..28c6a4631 100644 --- a/ietf/templates/doc/document_draft.html +++ b/ietf/templates/doc/document_draft.html @@ -31,9 +31,9 @@ <thead id="message-row"> <tr> {% if doc.rev != latest_rev %} - <th colspan="4" class="alert-warning"> The information below is for an old version of the document</th> + <th colspan="4" class="alert-warning">The information below is for an old version of the document</th> {% else %} - <th colspan="4"> </th> + <th colspan="4"></th> {% endif %} </tr> </thead> diff --git a/ietf/templates/group/group_about.html b/ietf/templates/group/group_about.html index c3f4565ba..567543b88 100644 --- a/ietf/templates/group/group_about.html +++ b/ietf/templates/group/group_about.html @@ -10,8 +10,8 @@ <p class="alert alert-warning"><b>Note:</b> The data for concluded {{ group.type.name }}s is occasionally incorrect.</p> {% endif %} - <br> <table class="table table-condensed"> + <thead><tr><th colspan="3"></th></tr></thead> <tbody class="meta"> <tr> <th>{{ group.type.name }}</th> diff --git a/static/css/ietf.css b/static/css/ietf.css index e68b3e878..7c05cd58f 100644 --- a/static/css/ietf.css +++ b/static/css/ietf.css @@ -396,6 +396,11 @@ table tbody.meta th, table tbody.meta td { border-top: 0; } table tbody.meta th:nth-child(2), table tbody.meta td:nth-child(2) { text-align: right; + width: 9em; +} + +table tbody.meta th:first-child, table tbody.meta td:first-child { + width: 6em; }