Skip to content

Commit 9133b94

Browse files
committed
Style the metadata tables for groups, documents, etc. like Henrik prefers.
Commit ready for merge. - Legacy-Id: 9856
1 parent 0293061 commit 9133b94

6 files changed

Lines changed: 69 additions & 63 deletions

File tree

ietf/templates/doc/document_charter.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
</tr>
2828
</thead>
2929

30-
<tbody>
30+
<tbody class="meta">
3131

3232
<tr>
3333
<th>Document</th>
34-
<th class="text-right">
34+
<th>
3535
{% if doc.get_state_slug != "approved" %}
3636
Proposed charter
3737
{% else %}
@@ -49,7 +49,7 @@
4949
</td>
5050
</tr>
5151

52-
<tr class="plain">
52+
<tr>
5353
<td></td>
5454
<th>Title</th>
5555
<td class="edit">
@@ -60,14 +60,14 @@
6060
<td>{{ doc.title }}</td>
6161
</tr>
6262

63-
<tr class="plain">
63+
<tr>
6464
<td></td>
6565
<th>Last updated</th>
6666
<td class="edit"></td>
6767
<td>{{ doc.time|date:"Y-m-d" }}</td>
6868
</tr>
6969

70-
<tr class="plain">
70+
<tr>
7171
<td></td>
7272
<th><a href="/doc/help/state/charter/">State</a></th>
7373
<td class="edit">
@@ -89,19 +89,19 @@
8989

9090
</tbody>
9191

92-
<tbody>
92+
<tbody class="meta">
9393
<tr>
9494
<th>WG</th>
95-
<th class="text-right">State</th>
95+
<th>State</th>
9696
<td class="edit"></td>
9797
<td>{{ group.state.name }}</td>
9898
</tr>
9999
</tbody>
100100

101-
<tbody>
101+
<tbody class="meta">
102102
<tr>
103103
<th>IESG</th>
104-
<th class="text-right">Responsible AD</th>
104+
<th>Responsible AD</th>
105105
<td class="edit">
106106
{% if can_manage %}
107107
{% doc_edit_button "charter_edit_ad" name=doc.name %}
@@ -113,7 +113,7 @@
113113
</tr>
114114

115115
{% if not snapshot and chartering %}
116-
<tr class="plain">
116+
<tr>
117117
<td></td>
118118
<th>Telechat date</th>
119119
<td class="edit">
@@ -135,7 +135,7 @@
135135
</tr>
136136
{% endif %}
137137

138-
<tr class="plain">
138+
<tr>
139139
<td></td>
140140
<th>Send notices to</th>
141141
<td class="edit">

ietf/templates/doc/document_conflict_review.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@
2323
</tr>
2424
</thead>
2525

26-
<tbody>
26+
<tbody class="meta">
2727
<tr>
2828
<th>Document</th>
29-
<th class="text-right">
29+
<th>
3030
{% if doc.get_state_slug not in approved_states %}
3131
Proposed conflict review
3232
{% else %}
@@ -46,14 +46,14 @@
4646
</td>
4747
</tr>
4848

49-
<tr class="plain">
49+
<tr>
5050
<td></td>
5151
<th>Last updated</th>
5252
<td class="edit"></td>
5353
<td>{{ doc.time|date:"Y-m-d" }}</td>
5454
</tr>
5555

56-
<tr class="plain">
56+
<tr>
5757
<td></td>
5858
<th><a href="/doc/help/state/conflict-review/">State</a></th>
5959
<td class="edit">
@@ -67,10 +67,10 @@
6767
</tr>
6868

6969
</tbody>
70-
<tbody>
70+
<tbody class="meta">
7171
<tr>
7272
<th>IESG</th>
73-
<th class="text-right">Shepherding AD</th>
73+
<th>Shepherding AD</th>
7474
<td class="edit">
7575
{% if not snapshot and user|has_role:"Area Director,Secretariat" and doc.get_state_slug not in approved_states %}
7676
<a class="btn btn-default btn-xs pull-right" href="{% url "conflict_review_ad" name=doc.name %}">Edit</a>
@@ -82,7 +82,7 @@
8282
</tr>
8383

8484
{% if not snapshot %}
85-
<tr class="plain">
85+
<tr>
8686
<td></td>
8787
<th>Telechat date</th>
8888
<td class="edit">
@@ -105,7 +105,7 @@
105105
</tr>
106106
{% endif %}
107107

108-
<tr class="plain">
108+
<tr>
109109
<td></td>
110110
<th>Send notices to</th>
111111
<td class="edit">

ietf/templates/doc/document_draft.html

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</tr>
3939
</thead>
4040

41-
<tbody>
41+
<tbody class="meta">
4242
<tr>
4343
<th>Document</th>
4444
<th>Type</th>
@@ -64,7 +64,7 @@
6464
</tr>
6565

6666
<tr>
67-
<th class="plain"></th>
67+
<th></th>
6868
<th>Last updated</th>
6969
<td class="edit"></td>
7070
<td>
@@ -77,7 +77,7 @@
7777

7878
{% if replaces or can_edit_stream_info %}
7979
<tr>
80-
<th class="plain"></th>
80+
<th></th>
8181
<th>Replaces</th>
8282
<td class="edit">
8383
{% if can_edit_stream_info %}
@@ -92,7 +92,7 @@
9292

9393
{% if replaced_by %}
9494
<tr>
95-
<th class="plain"></th>
95+
<th></th>
9696
<th>Replaced by</th>
9797
<td class="edit"></td>
9898
<td>
@@ -132,7 +132,7 @@
132132
{% endif %}
133133

134134
<tr>
135-
<th class="plain"></th>
135+
<th></th>
136136
<th>Stream</th>
137137
<td class="edit">
138138
{% if can_change_stream %}
@@ -146,7 +146,7 @@
146146

147147
{% if doc.get_state_slug != "rfc" %}
148148
<tr>
149-
<th class="plain"></th>
149+
<th></th>
150150
<th>Intended RFC status</th>
151151
<td class="edit">
152152
{% if can_edit or can_edit_stream_info %}
@@ -160,7 +160,7 @@
160160
{% endif %}
161161

162162
<tr>
163-
<th class="plain"></th>
163+
<th></th>
164164
<th>Formats</th>
165165
<td class="edit"></td>
166166
<td>
@@ -179,15 +179,15 @@
179179

180180
{% if conflict_reviews %}
181181
<tr>
182-
<th class="plain"></th>
182+
<th></th>
183183
<th>IETF conflict review</th>
184184
<td class="edit"></td>
185185
<td>{{ conflict_reviews|join:", "|urlize_ietf_docs }}</td>
186186
</tr>
187187
{% endif %}
188188

189189
</tbody>
190-
<tbody>
190+
<tbody class="meta">
191191
<tr>
192192
<th>Stream</th>
193193
{% if doc.stream %}
@@ -225,7 +225,7 @@
225225

226226
{% if consensus %}
227227
<tr>
228-
<th class="plain"></th>
228+
<th></th>
229229
<th>Consensus</th>
230230
<td class="edit">
231231
{% if can_edit or can_edit_stream_info %}
@@ -239,7 +239,7 @@
239239
{% endif %}
240240

241241
<tr>
242-
<th class="plain"></th>
242+
<th></th>
243243
<th>Document shepherd</th>
244244
<td class="edit">
245245
{% if can_edit_stream_info %}
@@ -255,7 +255,7 @@
255255

256256
{% if shepherd_writeup or can_edit_shepherd_writeup %}
257257
<tr>
258-
<th class="plain"></th>
258+
<th></th>
259259
<th>Shepherd write-up</th>
260260
<td class="edit">
261261
{% if can_edit_shepherd_writeup %}
@@ -278,13 +278,13 @@
278278

279279
{% if published and started_iesg_process and published.time < started_iesg_process.time %}
280280
<tr>
281-
<th class="plain"></th>
281+
<th></th>
282282
<th colspan="3" class="warning">This information refers to IESG processing after the RFC was initially published:</th>
283283
</tr>
284284
{% endif %}
285285

286286
</tbody>
287-
<tbody>
287+
<tbody class="meta">
288288
<tr>
289289
<th>IESG</th>
290290
<th><a href="{% url "ietf.help.views.state" doc=doc.type.slug type="iesg" %}">IESG state</a></th>
@@ -299,7 +299,7 @@
299299
</tr>
300300

301301
<tr>
302-
<th class="plain"></th>
302+
<th></th>
303303
<th>Telechat date</th>
304304
<td class="edit">
305305
{% if can_edit %}
@@ -325,7 +325,7 @@
325325
</tr>
326326

327327
<tr>
328-
<th class="plain"></th>
328+
<th></th>
329329
<th>Responsible AD</th>
330330
<td class="edit">
331331
{% if can_edit %}
@@ -340,7 +340,7 @@
340340
{% if iesg_state %}
341341
{% if doc.note or can_edit %}
342342
<tr>
343-
<th class="plain"></th>
343+
<th></th>
344344
<th>IESG note</th>
345345
<td class="edit">
346346
{% if can_edit %}
@@ -355,7 +355,7 @@
355355
{% endif %}
356356

357357
<tr>
358-
<th class="plain"></th>
358+
<th></th>
359359
<th>Send notices to</th>
360360
<td class="edit">
361361
{% if can_edit_notify %}
@@ -370,7 +370,7 @@
370370
</tbody>
371371

372372
{% if iana_review_state %}
373-
<tbody>
373+
<tbody class="meta">
374374
<tr>
375375
<th>IANA</th>
376376
<th><a href="{% url "ietf.help.views.state" doc=doc.type.slug type="iana-review" %}">IANA review state</a></th>
@@ -385,7 +385,7 @@
385385
</tr>
386386

387387
<tr>
388-
<th class="plain"></th>
388+
<th></th>
389389
<th>IANA action state</th>
390390
<td class="edit">
391391
{% if can_edit_iana_state %}
@@ -399,7 +399,7 @@
399399
</tbody>
400400
{% endif %}
401401

402-
<tbody>
402+
<tbody class="meta">
403403
{% if rfc_editor_state %}
404404
<tr>
405405
<th>RFC Editor</th>

0 commit comments

Comments
 (0)