|
36 | 36 | /* position:relative on :host makes position:absolute on its children work
|
37 | 37 | relative to :host's bounds. */
|
38 | 38 | :host { position: relative; }
|
39 |
| - table { position: absolute; right: 0; top: 0; } |
40 |
| - h1 { position: absolute; top: 40%; } |
41 |
| - p.warning { position: absolute; bottom: 5%; } |
| 39 | + table.draft_header { position: absolute; right: 0; top: 0; } |
| 40 | + table.pdts_header { position: absolute; right: 0; top: 0; } |
| 41 | + table.pdts_footer { position: absolute; left: 0; bottom: 5%; } |
| 42 | + table.pdts_warning { position: absolute; bottom: 20%; } |
| 43 | + h1.draft_title { position: absolute; top: 40%; } |
| 44 | + h1.pdts_title { position: absolute; top: 30%; } |
| 45 | + p.draft_warning { position: absolute; bottom: 5%; } |
42 | 46 |
|
43 | 47 | h1 {text-align: center;}
|
44 | 48 |
|
45 | 49 | th { text-align: left; vertical-align: top; }
|
46 | 50 | </style>
|
47 |
| - <table> |
48 |
| - <template if="{{docnum}}"> |
49 |
| - <tr><th>Document Number:</th><td><content select="cxx-docnum"/></td></tr> |
50 |
| - </template> |
51 |
| - <template if="{{pubdate}}"> |
52 |
| - <tr><th>Date:</th><td><content select="time[pubdate]"/></td></tr> |
53 |
| - </template> |
54 |
| - <template if="{{revises}}"> |
55 |
| - <tr><th>Revises:</th><td><content select="cxx-revises"/></td></tr> |
56 |
| - </template> |
57 |
| - <template if="{{editor}}"> |
58 |
| - <tr><th>Editor:</th><td><content select="cxx-editor"/></td></tr> |
59 |
| - </template> |
60 |
| - </table> |
61 |
| - <h1>{{stage_title}}, {{iso_title_prefix}}{{title}}</h1> |
62 | 51 | <template if="{{stage == 'draft'}}">
|
63 |
| - <p class="warning"><strong>Note: this is an early draft. It’s known to be |
| 52 | + <table class="draft_header"> |
| 53 | + <template if="{{docnum}}"> |
| 54 | + <tr><th>Document Number:</th><td><content select="cxx-docnum"/></td></tr> |
| 55 | + </template> |
| 56 | + <template if="{{pubdate}}"> |
| 57 | + <tr><th>Date:</th><td><content select="time[pubdate]"/></td></tr> |
| 58 | + </template> |
| 59 | + <template if="{{revises}}"> |
| 60 | + <tr><th>Revises:</th><td><content select="cxx-revises"/></td></tr> |
| 61 | + </template> |
| 62 | + <template if="{{editor}}"> |
| 63 | + <tr><th>Editor:</th><td><content select="cxx-editor"/></td></tr> |
| 64 | + </template> |
| 65 | + </table> |
| 66 | + </template> |
| 67 | + <template if="{{stage == 'pdts'}}"> |
| 68 | + <table class="pdts_header"> |
| 69 | + <template if="{{docnum}}"> |
| 70 | + <tr><th>ISO/IEC JTC 1/SC 22/WG 21</th><td><content select="cxx-docnum"/></td></tr> |
| 71 | + </template> |
| 72 | + <template if="{{pubdate}}"> |
| 73 | + <tr><th>Date:</th><td><content select="time[pubdate]"/></td></tr> |
| 74 | + </template> |
| 75 | + <template if="{{tsnum}}"> |
| 76 | + <tr><th>ISO/IEC PDTS</th><td><content select="cxx-tsnum"/></td></tr> |
| 77 | + </template> |
| 78 | + <tr><th>ISO/IEC JTC1 SC22</th></tr> |
| 79 | + <tr><th>Secretariat:</th><td>ANSI</td></tr> |
| 80 | + </table> |
| 81 | + </template> |
| 82 | + <template if="{{stage == 'draft'}}"> |
| 83 | + <h1 class="draft_title">{{stage_title}}{{iso_title_prefix}}{{title}}</h1> |
| 84 | + </template> |
| 85 | + <template if="{{stage == 'pdts'}}"> |
| 86 | + <h1 class="pdts_title">{{stage_title}}{{iso_title_prefix}}{{title}}</h1> |
| 87 | + </template> |
| 88 | + <template if="{{stage == 'pdts'}}"> |
| 89 | + <table class="pdts_warning" border="1" cellpadding="10" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%"> |
| 90 | + <tr> |
| 91 | + <td width="100%"><p align="center"><b>Warning</b></p> |
| 92 | + <p>This document is not an ISO International Standard. It is distributed for review and comment. It is |
| 93 | + subject to change without notice and may not be referred to as an International Standard. |
| 94 | + </p> |
| 95 | + <p>Recipients of this draft are invited to submit, with their comments, notification of any relevant |
| 96 | + patent rights of which they are aware and to provide supporting documentation.</p> |
| 97 | + </td> |
| 98 | + </tr> |
| 99 | + </table> |
| 100 | + </template> |
| 101 | + <template if="{{stage == 'draft'}}"> |
| 102 | + <p class="draft_warning"><strong>Note: this is an early draft. It’s known to be |
64 | 103 | incomplet and incorrekt, and it has lots of b<span
|
65 | 104 | style="margin-left: -1.2pt; margin-right: 1pt">a</span>d<span
|
66 | 105 | style="width:1.5em"> </span>for<span
|
67 | 106 | style="margin-left:-3pt; margin-right:0.6pt">mat</span>ti<span
|
68 | 107 | style="position:relative; top:-0.15ex">n</span>g.</strong></p>
|
69 | 108 | </template>
|
| 109 | + <template if="{{stage == 'pdts'}}"> |
| 110 | + <table class="pdts_footer"> |
| 111 | + <tr><td>Document type:</th><td>Draft Technical Specification</td></tr> |
| 112 | + <tr><td>Document subtype:</th></tr> |
| 113 | + <tr><td>Document stage:</td><td>(10) Proposal</td></tr> |
| 114 | + <tr><td>Document language:</td><td>E</td></tr> |
| 115 | + </table> |
| 116 | + </template> |
70 | 117 | </template>
|
71 | 118 | <script src="titlepage.js"></script>
|
72 | 119 | </polymer-element>
|
|
0 commit comments