HTML/CSS cleaning
- Legacy-Id: 1946
This commit is contained in:
parent
8b5ce04949
commit
4255d7febd
|
@ -58,18 +58,17 @@ IETF.user_groups = { {% for group in user.groups.all %}"{{group}}":true{% if not
|
|||
<div style="background-color:#313163;color:white;font-size:150%;height:35px;">
|
||||
<img src="/images/ietflogo-blue-small.png" width="60" height="34" style="vertical-align:middle;padding-left:8px;" alt=""/><span style="color:white; padding-left:15px;font-weight:bold;letter-spacing:0.1em;">datatracker.ietf.org</span>
|
||||
</div>
|
||||
<div id="ietf-login" style="position:absolute;top:8px;right:10px;">
|
||||
{% if user.is_authenticated %}
|
||||
|
||||
<div id="ietf-login">{% if user.is_authenticated %}
|
||||
{{ user }}
|
||||
{% else %}
|
||||
<a href="/accounts/login/?next={{request.path|urlencode}}">Sign In</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}</div>
|
||||
|
||||
<table style="margin-left:8px;margin-top:8px;" width="98%;">
|
||||
<tr valign="top">
|
||||
<td style="width:130px;padding-right:8px;">
|
||||
<div class="leftmenu" style="margin-top:4px;">
|
||||
<div class="ietf-navbar">
|
||||
{% include "idrfc/base_leftmenu.html" %}
|
||||
</div>
|
||||
</td>
|
||||
|
@ -98,7 +97,7 @@ YAHOO.util.Event.onContentReady("search_submit_button", function () {
|
|||
{% block content_end %}
|
||||
{% endblock %}
|
||||
</div>
|
||||
<div id="db-extras"></div>
|
||||
<div id="ietf-extras"></div>
|
||||
</td></tr></table>
|
||||
{% include "debug.html" %}
|
||||
</body></html>
|
||||
|
|
|
@ -40,7 +40,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
<li><a href="/doc/ad/{{user.get_profile.person.first_name|lower}}.{{user.get_profile.person.last_name|lower}}/">My Documents</a></li>
|
||||
<li><a href="/iesg/agenda/documents/">Next Telechat</a></li>
|
||||
<li><a href="/iesg/discusses/">Discusses</a></li>
|
||||
</li>
|
||||
<li class="sect">Working Groups</li>
|
||||
{% else %}
|
||||
<li class="sect first">Working Groups</li>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{% extends "idrfc/base.html" %}
|
||||
{% comment %}
|
||||
Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
||||
Copyright (C) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
|
||||
All rights reserved. Contact: Pasi Eronen <pasi.eronen@nokia.com>
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
@ -33,18 +33,14 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
{% endcomment %}
|
||||
|
||||
|
||||
{% block title %}Internet-Drafts and RFCs for {{ ad_name }}
|
||||
{% endblock %}
|
||||
{% block title %}Internet-Drafts and RFCs for {{ ad_name }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Internet-Drafts and RFCs for {{ ad_name }}</h1>
|
||||
|
||||
<h1 style="margin-top:0;">Internet-Drafts and RFCs for {{ ad_name }}</h1>
|
||||
|
||||
<div id="search_results" class="search_results">
|
||||
{% regroup docs by view_sort_group as grouped_docs %}
|
||||
|
||||
<table>
|
||||
<table class="ietf-table ietf-doctable">
|
||||
<tr><th class="doc">Document</th><th class="title">Title</th><th class="date">Date</th><th class="status" colspan="2">Status</th><th class="ad">Area Director</th></tr>
|
||||
{% for doc_group in grouped_docs %}
|
||||
<tr class="header"><td colspan="6">{{doc_group.grouper}}s</td></tr>
|
||||
|
@ -55,7 +51,4 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock content %}
|
||||
|
|
|
@ -32,18 +32,18 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
{% endcomment %}
|
||||
{% load ietf_filters %}
|
||||
<table class="ballotTable"><tr valign="top"><td class="left">
|
||||
<table class="ietf-ballot"><tr valign="top"><td class="left">
|
||||
|
||||
{% if doc_ballot_edit_button %}
|
||||
{% if user|in_group:"Area_Director,Secretariat" %}
|
||||
<div style="margin-top:8px; margin-bottom:8px;" nostyle="position:absolute;right:0px;">
|
||||
<div style="margin-top:8px; margin-bottom:8px;">
|
||||
<span id="doc_ballot_button" class="yui-button yui-link-button"><span class="first-child">
|
||||
<a href="https://datatracker.ietf.org/cgi-bin/idtracker.cgi?command=open_ballot&id_document_tag={% if info.is_rfc %}{{doc.rfc_number}}{% else %}{{doc.tracker_id}}{% endif %}">Edit position</a>
|
||||
</span></span></div>
|
||||
{% endif %}{# user in_group #}
|
||||
{% endif %}
|
||||
|
||||
<p><span class="square" style="background:#c00000;"></span><b>Discuss</b><br/>
|
||||
<p style="margin-top:1em;"><span class="square" style="background:#c00000;"></span><b>Discuss</b><br/>
|
||||
{% with ballot.get_discuss as positions %}{% include "idrfc/doc_ballot_list.html" %}{% endwith %}</p>
|
||||
|
||||
<p><span class="square" style="background:#80ff80;"></span><b>Yes</b><br/>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{% for p in positions %}
|
||||
{% if p.is_old_ad %}[{%endif%}{{p.ad_name}}{% if p.is_old_ad %}]{%endif%} {% if p.has_text %}<img src="/images/comment.png" width="14" height="12" style="novertical-align:middle;" alt="*"/>{% endif %} <br/>
|
||||
{% if p.is_old_ad %}[{%endif%}{{p.ad_name}}{% if p.is_old_ad %}]{%endif%}{% if p.has_text %} <img src="/images/comment.png" width="14" height="12" style="novertical-align:middle;" alt="*"/>{% endif %}<br/>
|
||||
{% if p.old_positions %}<span class="was">(was {{p.old_positions|join:", "}})</span><br/>{%endif%}
|
||||
{% empty %}
|
||||
<i>none</i>
|
||||
|
|
|
@ -33,35 +33,35 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
{% endcomment %}
|
||||
|
||||
{% load ietf_filters %}
|
||||
<table class="ietfTable">
|
||||
<tr><th class="comment_date">Date</th><th class="comment_version">Version</th><th class="comment_by">By</th><th class="comment_text">Text</th></tr>
|
||||
<table class="ietf-table">
|
||||
<tr><th class="comment_date">Date</th><th>Version</th><th>By</th><th>Text</th></tr>
|
||||
|
||||
{% for c in history %}
|
||||
<tr class="{% cycle oddrow,evenrow %}">
|
||||
<td class="comment_date">{{ c.date|date:"Y-m-d" }}</td>
|
||||
|
||||
{% if c.is_rev %}
|
||||
<td class="comment_version">{{ c.revision }}</td>
|
||||
<td class="comment_by">(System)</td>
|
||||
<td class="comment_text">New version available: <a href="http://tools.ietf.org/id/{{c.draft_name}}-{{c.revision}}.txt">{{c.draft_name}}-{{c.revision}}</a> {% ifnotequal c.revision "00" %}(<a href="http://tools.ietf.org/rfcdiff?url2={{c.draft_name}}-{{c.revision}}">diff from -{{c.revision|add:"-1"|stringformat:"02d"}}</a>){% endifnotequal %}</td>
|
||||
<td>{{ c.revision }}</td>
|
||||
<td>(System)</td>
|
||||
<td>New version available: <a href="http://tools.ietf.org/id/{{c.draft_name}}-{{c.revision}}.txt">{{c.draft_name}}-{{c.revision}}</a> {% ifnotequal c.revision "00" %}(<a href="http://tools.ietf.org/rfcdiff?url2={{c.draft_name}}-{{c.revision}}">diff from -{{c.revision|add:"-1"|stringformat:"02d"}}</a>){% endifnotequal %}</td>
|
||||
{% endif %}
|
||||
|
||||
{% if c.is_text %}
|
||||
<td class="comment_version"> </td>
|
||||
<td class="comment_by">(System)</td>
|
||||
<td class="comment_text">{{ c.text }}</td>
|
||||
<td> </td>
|
||||
<td>(System)</td>
|
||||
<td>{{ c.text }}</td>
|
||||
{% endif %}
|
||||
|
||||
{% if c.is_com %}
|
||||
<td class="comment_version">{{ c.comment.version }}</td>
|
||||
<td class="comment_by">{{ c.info.by|escape }}</td>
|
||||
<td class="comment_text">{% if c.comment.ballot %}
|
||||
<td>{{ c.comment.version }}</td>
|
||||
<td>{{ c.info.by|escape }}</td>
|
||||
<td>{% if c.comment.ballot %}
|
||||
[Ballot {{ c.comment.get_ballot_display }}]<br />
|
||||
{% endif %}
|
||||
{% if c.info.snipped %}
|
||||
<div class="commentSnippet" id="commentS{{forloop.counter}}">{{ c.info.textSnippet|safe }}</div>
|
||||
<span class="commentToggle" onclick="toggleComment({{forloop.counter}})" id="commentT{{forloop.counter}}">[show all]</span>
|
||||
<div class="commentFull" id="commentF{{forloop.counter}}" style="display:none;">
|
||||
<div id="commentS{{forloop.counter}}">{{ c.info.textSnippet|safe }}</div>
|
||||
<span class="comment_toggle" onclick="toggleComment({{forloop.counter}})" id="commentT{{forloop.counter}}">[show all]</span>
|
||||
<div id="commentF{{forloop.counter}}" style="display:none;">
|
||||
{{c.info.text|fill:"80"|format_textarea|safe}}
|
||||
</div>
|
||||
{% else %}
|
||||
|
|
|
@ -35,25 +35,16 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
||||
{% load ietf_filters %}
|
||||
{% block morecss %}
|
||||
|
||||
#metabox { width: 99%; border:1px solid #cccccc; background:#edf5ff;margin-top:8px; padding:4px; margin-bottom:1em; }
|
||||
#metatable { border: 0; border-spacing: 0; }
|
||||
#metatable tr { vertical-align:top ;}
|
||||
|
||||
#commentLog { margin-bottom: 1.5ex; }
|
||||
.commentToggle { text-decoration: underline; color: blue; }
|
||||
|
||||
.comment_toggle { text-decoration: underline; color: blue; }
|
||||
.comment_date { white-space: nowrap; }
|
||||
|
||||
div.diffTool { border: 1px solid #cccccc; background: #edf5ff; padding: 8px 4px; margin: 8px 0;}
|
||||
.diffTool label { float:left; width:50px; }
|
||||
|
||||
table.ietfTable { border-collapse:collapse; border:1px solid #7f7f7f; }
|
||||
.ietfTable tr.evenrow { background-color: #EDF5FF; }
|
||||
.ietfTable tr.oddrow { background-color: white; }
|
||||
.ietfTable td { border-right: 1px solid #cbcbcb; padding:3px 6px; }
|
||||
.ietfTable th { color:white; background: #2647A0; text-align:left; padding:3px 6px; border-right: 1px solid #7f7f7f; }
|
||||
|
||||
.markup_draft pre {line-height: 1.2em; margin: 0; }
|
||||
.m_hdr, .m_ftr { color: #808080; }
|
||||
.m_ftr { border-bottom: 1px solid #a0a0a0; }
|
||||
|
@ -65,7 +56,7 @@ table.ietfTable { border-collapse:collapse; border:1px solid #7f7f7f; }
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1 style="margin-top:0;">{% block doc_h1 %}{% endblock %}</h1>
|
||||
<h1>{% block doc_h1 %}{% endblock %}</h1>
|
||||
|
||||
<div id="mytabs" class="yui-navset">
|
||||
<ul class="yui-nav">
|
||||
|
|
|
@ -33,19 +33,16 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
{% endcomment %}
|
||||
|
||||
|
||||
{% block title %}Internet-Drafts and RFCs
|
||||
{% endblock %}
|
||||
{% block title %}Internet-Drafts and RFCs{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1 style="margin-top:0;">Internet-Drafts and RFCs</h1>
|
||||
<h1>Internet-Drafts and RFCs</h1>
|
||||
|
||||
<div id="search_form_box">
|
||||
{% include "idrfc/search_form.html" %}
|
||||
</div>
|
||||
|
||||
<div id="search_results" class="search_results">
|
||||
<div id="search_results">
|
||||
{% if docs %}
|
||||
{% include "idrfc/search_results.html" %}
|
||||
{% endif %}
|
||||
|
|
|
@ -37,7 +37,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
{% endif %}
|
||||
{% regroup docs by view_sort_group as grouped_docs %}
|
||||
|
||||
<table>
|
||||
<table class="ietf-table ietf-doctable">
|
||||
<tr><th class="doc">Document</th><th class="title">Title</th><th class="date">Date</th><th class="status" colspan="2">Status</th><th class="ad">Area Director</th></tr>
|
||||
{% for doc_group in grouped_docs %}
|
||||
<tr class="header"><td colspan="6">{{doc_group.grouper}}s</td></tr>
|
||||
|
|
|
@ -32,12 +32,10 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
{% endcomment %}
|
||||
|
||||
{% load ballot_icon %}
|
||||
{% load ietf_filters %}
|
||||
|
||||
{% block title %}Documents on Future IESG Telechat Agendas
|
||||
{% endblock %}
|
||||
{% block title %}Documents on Future IESG Telechat Agendas{% endblock %}
|
||||
|
||||
{% block morecss %}
|
||||
.agenda_docs tr.oddrow {background-color: #EDF5FF; }
|
||||
|
@ -47,12 +45,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Documents on Future IESG Telechat Agendas</h1>
|
||||
|
||||
<h1 style="margin-top:0;">Documents on Future IESG Telechat Agendas</h1>
|
||||
|
||||
<div class="search_results agenda_docs">
|
||||
<table>
|
||||
|
||||
<table class="ietf-table ietf-doctable agenda_docs">
|
||||
{% for t in telechats %}
|
||||
|
||||
{% if not forloop.first %}
|
||||
|
@ -108,6 +103,4 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
{% endfor %}
|
||||
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock content %}
|
||||
|
|
|
@ -36,16 +36,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
{% load ballot_icon %}
|
||||
{% load ietf_filters %}
|
||||
|
||||
{% block title %}IESG Discuss Positions
|
||||
{% endblock %}
|
||||
{% block title %}IESG Discuss Positions{% endblock %}
|
||||
|
||||
{% block morecss %}
|
||||
.discuss_hidden {display:none;}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1 style="margin-top:0;">IESG Discuss Positions</h1>
|
||||
<h1>IESG Discuss Positions</h1>
|
||||
|
||||
{% if user|in_group:"Area_Director" %}
|
||||
<div style="padding:4px 0;">
|
||||
|
@ -55,8 +53,7 @@ Show: <input type="radio" name="discuss_show" checked="checked" value="all" id="
|
|||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="search_results">
|
||||
<table id="discuss_table">
|
||||
<table class="ietf-table ietf-doctable">
|
||||
<tr><th class="doc">Document</th><th class="status" colspan="2">Status</th><th class="ad">Area Director</th><th>Discusses</th></tr>
|
||||
{% for doc in docs %}
|
||||
<tr{% if user|in_group:"Area_Director" %} class="{% if doc|my_position:user|equal:"Discuss" %}discuss_byme{% else %}discuss_notbyme{% endif %} {% ifequal user.get_profile.person|lower doc.ad_name|lower %}discuss_forme{%else%}discuss_notforme{%endifequal%}"{% endif %}>
|
||||
|
@ -78,9 +75,7 @@ Show: <input type="radio" name="discuss_show" checked="checked" value="all" id="
|
|||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
{% endblock content %}
|
||||
|
||||
{% block scripts %}
|
||||
{% if user|in_group:"Area_Director" %}
|
||||
|
@ -89,14 +84,11 @@ function radio_changed() {
|
|||
YAHOO.util.Dom.removeClass(els1, "discuss_hidden");
|
||||
var els2 = YAHOO.util.Dom.getElementsByClassName("discuss_notforme","tr");
|
||||
YAHOO.util.Dom.removeClass(els2, "discuss_hidden");
|
||||
if (document.getElementById("discusses_all").checked) {
|
||||
// done
|
||||
} else if (document.getElementById("discusses_byme").checked) {
|
||||
if (document.getElementById("discusses_byme").checked) {
|
||||
YAHOO.util.Dom.addClass(els1, "discuss_hidden");
|
||||
} else if (document.getElementById("discusses_forme").checked) {
|
||||
els = YAHOO.util.Dom.getElementsByClassName("discuss_notforme","tr");
|
||||
YAHOO.util.Dom.addClass(els2, "discuss_hidden");
|
||||
}
|
||||
}
|
||||
}
|
||||
var url = location.href.split('#');
|
||||
if (url[1] == 'byme') {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
||||
* Copyright (C) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
|
||||
* All rights reserved. Contact: Pasi Eronen <pasi.eronen@nokia.com>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -42,46 +42,44 @@ body { margin: 0; }
|
|||
}
|
||||
.yui-navset .disabled a em {color:#a0a0a0;}
|
||||
|
||||
#ietf-login { color: white; }
|
||||
.yui-skin-sam h1 { margin-top: 0; }
|
||||
|
||||
#ietf-login { color: white; position:absolute; top:8px; right: 10px; }
|
||||
#ietf-login a, #ietf-login a:visited { color: white; }
|
||||
|
||||
.ballotTable .left { background: #edf5ff; width:150px; padding-left: 10px; }
|
||||
.ballotTable .right { padding-left: 15px; padding-right:15px; width:610px;padding-top:0px;}
|
||||
.ballotTable h2.ballot_ad { background: #2647A0; color:white; padding: 2px 4px; font-size: 108%; margin-top: 0;}
|
||||
.ballotTable .right { background: white; }
|
||||
.ballotTable .square { border:1px solid black; display: block; float:left;width: 10px; height:10px;font-size:1px;margin-right:4px; margin-top:1px;}
|
||||
.ballotTable .was { padding-left: 10px; font-size:85%; }
|
||||
.mydialog button { margin-left: 8px; }
|
||||
.ietf-navbar { background-color: #edf5ff; padding:0; border: 1px solid #89d; margin-top:4px; }
|
||||
.ietf-navbar ul { padding: 0; margin: 0; }
|
||||
.ietf-navbar ul li { list-style: none; padding: 0; margin: 0; font-size: 93%; padding: 2px 0px 2px 0px; }
|
||||
.ietf-navbar ul li.yuimenuitem { padding: 0px 0px 1px 0px; border: 0;}
|
||||
.ietf-navbar ul li a { padding: 0px 0px 0px 10px; }
|
||||
.ietf-navbar ul li.sect a { padding: 2px 2px 2px 2px; }
|
||||
.ietf-navbar ul li.sect { font-weight:bold; color:#fff; background:#2647A0; margin-top:2px; text-indent:2px; padding: 2px 0;}
|
||||
.ietf-navbar ul li.first { margin-top: 0px; }
|
||||
.ietf-navbar ul li.sect a { color:#fff; }
|
||||
.ietf-navbar a, .ietf-navbar a:visited { color: #000000; }
|
||||
.ietf-navbar > ul > li > a:hover { background-color: #b3d4ff; }
|
||||
.ietf-navbar .yuimenuitemlabel { font-size: 12px; padding: 0 10px; }
|
||||
.ietf-navbar #wgs .bd { background-color: #ecf5fa; }
|
||||
.ietf-navbar #wgs > .bd { border: 0;}
|
||||
|
||||
.leftmenu { background-color: #edf5ff; padding:0; border: 1px solid #89d; }
|
||||
.leftmenu ul { padding: 0; margin: 0; }
|
||||
.leftmenu ul li { list-style: none; padding: 0; margin: 0; font-size: 93%; padding: 2px 0px 2px 0px; }
|
||||
.leftmenu ul li.yuimenuitem { padding: 0px 0px 1px 0px; border: 0;}
|
||||
.leftmenu ul li a { padding: 0px 0px 0px 10px; }
|
||||
.leftmenu ul li.sect a { padding: 2px 2px 2px 2px; }
|
||||
.leftmenu ul li.sect { font-weight:bold; color:#fff; background:#2647A0; margin-top:2px; text-indent:2px; padding: 2px 0;}
|
||||
.leftmenu ul li.first { margin-top: 0px; }
|
||||
.leftmenu ul li.sect a { color:#fff; }
|
||||
.leftmenu a, .leftmenu a:visited { color: #000000; }
|
||||
.leftmenu > ul > li > a:hover { background-color: #b3d4ff; }
|
||||
.leftmenu .yuimenuitemlabel { font-size: 12px; padding: 0 10px; }
|
||||
.leftmenu #wgs .bd { background-color: #ecf5fa; }
|
||||
.leftmenu #wgs > .bd { border: 0;}
|
||||
.ietf-ballot .left { background: #edf5ff; width:160px; padding-left: 10px; }
|
||||
.ietf-ballot .right { padding-left: 15px; padding-right:15px; width:610px;padding-top:0px;}
|
||||
.ietf-ballot h2.ballot_ad { background: #2647A0; color:white; padding: 2px 4px; font-size: 108%; margin-top: 0;}
|
||||
.ietf-ballot .right { background: white; }
|
||||
.ietf-ballot .square { border:1px solid black; display: block; float:left;width: 10px; height:10px;font-size:1px;margin-right:4px; margin-top:1px;}
|
||||
.ietf-ballot .was { padding-left: 10px; font-size:85%; }
|
||||
|
||||
#search_form_box {width: 99.5%; border: 0px solid #cccccc; background:#edf5ff;margin-top:8px; padding:4px; margin-bottom:1em; padding-left:8px;}
|
||||
|
||||
form#search_form { padding-top: 4px; padding-bottom: 4px; }
|
||||
#search_form input { padding: 0; padding-left: 2px; border: 1px solid #89d;}
|
||||
#search_form select { border: 1px solid #89d; }
|
||||
#search_form div.search_field { margin-top:2px; }
|
||||
#search_form label { width: 130px; float: left; }
|
||||
|
||||
/* checkboxes for document types */
|
||||
#search_form table#search_types { border-collapse:collapse;}
|
||||
#search_form #search_types td { padding:0; }
|
||||
#search_form #search_types td input { margin-left: 0; width:14px; border:0;}
|
||||
/* give checkbox a fixed width so that IE6 aligns the left edge correctly */
|
||||
|
||||
#search_form #id_filename,
|
||||
#search_form #id_author { width: 244px; }
|
||||
#search_form #id_state,
|
||||
|
@ -90,27 +88,26 @@ form#search_form { padding-top: 4px; padding-bottom: 4px; }
|
|||
#search_form #id_group {width: 120px; margin-right:4px; }
|
||||
#search_form #id_area {width:120px; }
|
||||
|
||||
.search_results table { border: 1px solid #7f7f7f; border-collapse:collapse; }
|
||||
.search_results tr.header { border-top: 1px solid #7f7f7f; border-bottom: 1px solid #7f7f7f; border-left: 1px solid white; border-right:2px solid white;}
|
||||
.search_results tr.header td {padding: 6px 6px; font-weight: bold; }
|
||||
.search_results td { border-right: 1px solid #cbcbcb; padding: 3px 6px; }
|
||||
.search_results th { border-right: 1px solid #7f7f7f; padding: 3px 6px; }
|
||||
.search_results th { color: white; background:#2647A0; text-align: left; }
|
||||
.search_results tr.evenrow { background-color: #EDF5FF; }
|
||||
.search_results {}
|
||||
table.ietf-table { border-collapse:collapse; border:1px solid #7f7f7f; }
|
||||
.ietf-table tr.evenrow { background-color: #EDF5FF; }
|
||||
.ietf-table tr.oddrow { background-color: white; }
|
||||
.ietf-table td { border-right: 1px solid #cbcbcb; padding:3px 6px; }
|
||||
.ietf-table th { color:white; background: #2647A0; text-align:left; padding:3px 6px; border-right: 1px solid #7f7f7f; }
|
||||
|
||||
.search_results table { max-width: 1200px; }
|
||||
.search_results th.doc, .search_results td.title { min-width:20em; max-width: 35em; }
|
||||
.search_results th.title, .search_results td.title { min-width: 20em; max-width: 35em; }
|
||||
.search_results th.date, .search_results td.date { white-space:nowrap; min-width: 6em;}
|
||||
.search_results th.status, .search_results td.status { min-width: 20em;}
|
||||
.search_results th.ad, .search_results td.ad { white-space:nowrap; min-width: 6em; }
|
||||
.search_results td.ballot { border-left: hidden; }
|
||||
.ietf-doctable tr.header { border-top: 1px solid #7f7f7f; border-bottom: 1px solid #7f7f7f; border-left: 1px solid white; border-right:2px solid white;}
|
||||
.ietf-doctable tr.header td {padding: 6px 6px; font-weight: bold; }
|
||||
.ietf-doctable table { max-width: 1200px; }
|
||||
.ietf-doctable th.doc, .ietf-doctable td.doc { min-width:20em; max-width: 35em; }
|
||||
.ietf-doctable th.title, .ietf-doctable td.title { min-width: 20em; max-width: 35em; }
|
||||
.ietf-doctable th.date, .ietf-doctable td.date { white-space:nowrap; min-width: 6em;}
|
||||
.ietf-doctable th.status, .ietf-doctable td.status { min-width: 20em;}
|
||||
.ietf-doctable th.ad, .ietf-doctable td.ad { white-space:nowrap; min-width: 6em; }
|
||||
.ietf-doctable td.ballot { border-left: hidden; mid-width: 37px; }
|
||||
|
||||
td.ballot { min-width:37px; }
|
||||
table.ballot_icon { empty-cells: show; padding: 0; border-spacing: 0; border: 1px solid black; border-collapse: collapse; table-layout:fixed; min-width:35px; background:white; }
|
||||
table.ballot_icon td { border: 1px solid black; height: 7px; width: 6px; padding: 0;}
|
||||
td.ballot_icon_green { background:#80ff80; }
|
||||
td.ballot_icon_red { background: #c00000; color: yellow; }
|
||||
td.ballot_icon_gray { background: #c0c0c0; }
|
||||
table.ballot_icon td.ballot_icon_my { border: 3px outset black;}
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ function showBallot(draftName, trackerId) {
|
|||
|
||||
var handleEditPosition = function() {
|
||||
IETF.ballotDialog.hide();
|
||||
var tid = document.getElementById("doc_ballot_dialog_id").innerHTML;
|
||||
var tid = document.getElementById("ballot_dialog_id").innerHTML;
|
||||
window.open("https://datatracker.ietf.org/cgi-bin/idtracker.cgi?command=open_ballot&id_document_tag="+tid);
|
||||
};
|
||||
var handleClose = function() {
|
||||
|
@ -44,8 +44,8 @@ function showBallot(draftName, trackerId) {
|
|||
|
||||
if (!IETF.ballotDialog) {
|
||||
el = document.createElement("div");
|
||||
el.innerHTML = '<div id="doc_ballot_dialog" class="mydialog" style="visibility:hidden;"><div class="hd">Positions for <span id="doc_ballot_dialog_name">draft-ietf-foo-bar</span><span id="doc_ballot_dialog_id" style="display:none;"></span></div><div class="bd"> <div id="doc_ballot_dialog_12" style="overflow-y:scroll; height:500px;"></div> </div></div>';
|
||||
document.getElementById("db-extras").appendChild(el);
|
||||
el.innerHTML = '<div id="ballot_dialog" style="visibility:hidden;"><div class="hd">Positions for <span id="ballot_dialog_name">draft-ietf-foo-bar</span><span id="ballot_dialog_id" style="display:none;"></span></div><div class="bd"> <div id="ballot_dialog_body" style="overflow-y:scroll; height:500px;"></div> </div></div>';
|
||||
document.getElementById("ietf-extras").appendChild(el);
|
||||
|
||||
var buttons = [{text:"Close", handler:handleClose, isDefault:true}];
|
||||
if (("Area_Director" in IETF.user_groups) ||
|
||||
|
@ -53,18 +53,18 @@ function showBallot(draftName, trackerId) {
|
|||
buttons.unshift({text:"Edit Position", handler:handleEditPosition});
|
||||
}
|
||||
var kl = [new YAHOO.util.KeyListener(document, {keys:27}, handleClose)]
|
||||
IETF.ballotDialog = new YAHOO.widget.Dialog("doc_ballot_dialog", {
|
||||
IETF.ballotDialog = new YAHOO.widget.Dialog("ballot_dialog", {
|
||||
visible:false, draggable:false, close:true, modal:true,
|
||||
width:"850px", fixedcenter:true, constraintoviewport:true,
|
||||
width:"860px", fixedcenter:true, constraintoviewport:true,
|
||||
buttons: buttons, keylisteners:kl});
|
||||
IETF.ballotDialog.render();
|
||||
}
|
||||
document.getElementById("doc_ballot_dialog_name").innerHTML = draftName;
|
||||
document.getElementById("doc_ballot_dialog_id").innerHTML = trackerId;
|
||||
document.getElementById("ballot_dialog_name").innerHTML = draftName;
|
||||
document.getElementById("ballot_dialog_id").innerHTML = trackerId;
|
||||
|
||||
IETF.ballotDialog.show();
|
||||
|
||||
el = document.getElementById("doc_ballot_dialog_12");
|
||||
el = document.getElementById("ballot_dialog_body");
|
||||
el.innerHTML = "Loading...";
|
||||
YAHOO.util.Connect.asyncRequest('GET',
|
||||
"/doc/"+draftName+"/_ballot.data",
|
||||
|
|
Loading…
Reference in a new issue