Skip to content

Commit dd1b6ad

Browse files
committed
Add the TS publication stage.
1 parent c3791ab commit dd1b6ad

File tree

4 files changed

+126
-34
lines changed

4 files changed

+126
-34
lines changed

foreword.html

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<!-- Copyright 2015 Google Inc. All rights reserved.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
14+
-->
15+
16+
<!--
17+
This element is empty and auto-generates the necessary content.
18+
-->
19+
<polymer-element name="cxx-foreword" noscript>
20+
<template>
21+
<style>
22+
:host { display: block; min-height: 100%; }
23+
:host { page-break-before: always; page-break-after: always; min-height: 100vh; margin-bottom: 2em; }
24+
25+
:host-context(body.cxx-draft) :host { display: none; }
26+
</style>
27+
<section>
28+
<h1>Foreword</h1>
29+
30+
<p>
31+
ISO (the International Organization for Standardization) is a
32+
worldwide federation of national standards bodies (ISO member
33+
bodies). The work of preparing International Standards is
34+
normally carried out through ISO technical committees. Each
35+
member body interested in a subject for which a technical
36+
committee has been established has the right to be represented
37+
on that committee. International organizations, governmental
38+
and non-governmental, in liaison with ISO, also take part in
39+
the work. ISO collaborates closely with the International
40+
Electrotechnical Commission (IEC) on all matters of
41+
electrotechnical standardization.
42+
</p>
43+
<p>
44+
The procedures used to develop this document and those
45+
intended for its further maintenance are described in the
46+
ISO/IEC Directives, Part 1. In particular the different
47+
approval criteria needed for the different types of ISO
48+
documents should be noted. This document was drafted in
49+
accordance with the editorial rules of the ISO/IEC Directives,
50+
Part 2.
51+
<a href="http://www.iso.org/directives">www.iso.org/directives</a>
52+
</p>
53+
<p>
54+
Attention is drawn to the possibility that some of the
55+
elements of this document may be the subject of patent rights.
56+
ISO shall not be held responsible for identifying any or all
57+
such patent rights. Details of any patent rights identified
58+
during the development of the document will be in the
59+
Introduction and/or on the ISO list of patent declarations
60+
received.
61+
<a href="http://www.iso.org/patents">www.iso.org/patents</a>
62+
</p>
63+
<p>
64+
Any trade name used in this document is information given for
65+
the convenience of users and does not constitute an
66+
endorsement.
67+
</p>
68+
<p>
69+
For an explanation on the meaning of ISO specific terms and
70+
expressions related to conformity assessment, as well as
71+
information about ISO's adherence to the WTO principles in the
72+
Technical Barriers to Trade (TBT) see the following URL:
73+
<a href="http://www.iso.org/iso/home/standards_development/resources-for-technical-work/foreword.htm">Foreword - Supplementary information</a>
74+
</p>
75+
<p>
76+
The committee responsible for this document is ISO/IEC JTC1.
77+
</p>
78+
</section>
79+
</template>
80+
</polymer-element>

framework.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<link rel="import" href="ref.html"/>
2929
<link rel="import" href="foreign-index.html"/>
3030
<link rel="import" href="titlepage.html"/>
31+
<link rel="import" href="foreword.html"/>
3132
<script src="include.js"></script>
3233
<link rel="import" href="email.html"/>
3334
<link rel="import" href="ednote.html"/>

titlepage.html

Lines changed: 43 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,19 @@
4646
:host-context(body.cxx-draft) h1 { position: absolute; top: 40%; text-align: center; }
4747
:host-context(body.cxx-draft) p.warning { position: absolute; bottom: 5%; }
4848

49-
:host-context(body.cxx-pdts, body.cxx-dts) .header { position: absolute; right: 0; top: 0; text-align: right; }
50-
:host-context(body.cxx-pdts, body.cxx-dts) .header ::content cxx-docnum { font-size: 150%; }
51-
:host-context(body.cxx-pdts, body.cxx-dts) .header cxx-docnum { font-size: 150%; }
52-
:host-context(body.cxx-pdts, body.cxx-dts) hgroup { position: absolute; top: 30%; }
53-
:host-context(body.cxx-pdts, body.cxx-dts) hgroup * { margin: 0; }
54-
:host-context(body.cxx-pdts, body.cxx-dts) hgroup h1 { font-size: 150%; font-weight: bold; }
55-
:host-context(body.cxx-pdts, body.cxx-dts) hgroup h2 { font-size: 100%; font-weight: normal; }
56-
:host-context(body.cxx-pdts, body.cxx-dts) .footer { position: absolute; left: 0; bottom: 5%; }
57-
:host-context(body.cxx-pdts, body.cxx-dts) figure { border: #111 solid 1px; padding: 10px; margin-left: auto; margin-right: auto; }
58-
:host-context(body.cxx-pdts, body.cxx-dts) figcaption { text-align: center; font-weight: bold; }
59-
:host-context(body.cxx-pdts, body.cxx-dts) .warning { position: absolute; bottom: 20%; }
60-
:host-context(body.cxx-pdts, body.cxx-dts) .copyright address { font-style: normal; margin-left: 2em; }
61-
:host-context(body.cxx-pdts, body.cxx-dts) .copyright address a { color: inherit; text-decoration: inherit; }
49+
:host-context(body.cxx-pdts, body.cxx-dts, body.cxx-ts) .header { position: absolute; right: 0; top: 0; text-align: right; }
50+
:host-context(body.cxx-pdts, body.cxx-dts, body.cxx-ts) .header ::content cxx-docnum { font-size: 150%; }
51+
:host-context(body.cxx-pdts, body.cxx-dts, body.cxx-ts) .header cxx-docnum { font-size: 150%; }
52+
:host-context(body.cxx-pdts, body.cxx-dts, body.cxx-ts) hgroup { position: absolute; top: 30%; }
53+
:host-context(body.cxx-pdts, body.cxx-dts, body.cxx-ts) hgroup * { margin: 0; }
54+
:host-context(body.cxx-pdts, body.cxx-dts, body.cxx-ts) hgroup h1 { font-size: 150%; font-weight: bold; }
55+
:host-context(body.cxx-pdts, body.cxx-dts, body.cxx-ts) hgroup h2 { font-size: 100%; font-weight: normal; }
56+
:host-context(body.cxx-pdts, body.cxx-dts, body.cxx-ts) .footer { position: absolute; left: 0; bottom: 5%; }
57+
:host-context(body.cxx-pdts, body.cxx-dts, body.cxx-ts) figure { border: #111 solid 1px; padding: 10px; margin-left: auto; margin-right: auto; }
58+
:host-context(body.cxx-pdts, body.cxx-dts, body.cxx-ts) figcaption { text-align: center; font-weight: bold; }
59+
:host-context(body.cxx-pdts, body.cxx-dts, body.cxx-ts) .warning { position: absolute; bottom: 20%; }
60+
:host-context(body.cxx-pdts, body.cxx-dts, body.cxx-ts) .copyright address { font-style: normal; margin-left: 2em; }
61+
:host-context(body.cxx-pdts, body.cxx-dts, body.cxx-ts) .copyright address a { color: inherit; text-decoration: inherit; }
6262

6363
th { text-align: left; vertical-align: top; }
6464
</style>
@@ -88,18 +88,23 @@ <h1>Working Draft, {{title}}</h1>
8888
</div>
8989
</template>
9090

91-
<template if="{{stage == 'pdts' || stage == 'dts'}}">
91+
<template if="{{stage == 'pdts' || stage == 'dts' || stage == 'ts'}}">
9292
<div class="page">
9393
<div class="header">
94-
<strong>ISO/IEC JTC1 SC22 WG21 <content select="cxx-docnum"/></content></strong><br/>
95-
Date: <content select="time[pubdate]"></content><br/>
96-
<template if="{{stage == 'pdts'}}">
97-
ISO/IEC PDTS <content select="cxx-project-number"></content><br/>
94+
<template if="{{stage == 'pdts' || stage == 'dts'}}">
95+
<strong>ISO/IEC JTC1 SC22 WG21 <content select="cxx-docnum"/></content></strong><br/>
96+
Date: <content select="time[pubdate]"></content><br/>
97+
<template if="{{stage == 'pdts'}}">
98+
ISO/IEC PDTS <content select="cxx-project-number"></content><br/>
99+
</template>
100+
<template if="{{stage == 'dts'}}">
101+
ISO/IEC DTS <content select="cxx-project-number"></content><br/>
102+
</template>
98103
</template>
99-
<template if="{{stage == 'dts'}}">
100-
ISO/IEC DTS <content select="cxx-project-number"></content><br/>
104+
<template if="{{stage == 'ts'}}">
105+
<strong>ISO/IEC <content select="cxx-project-number"></content>:{{pubyear}}</strong><br/>
101106
</template>
102-
ISO/IEC JTC1 SC22<br/>
107+
ISO/IEC JTC1 SC22 WG21<br/>
103108
Secretariat: ANSI
104109
</div>
105110
<hgroup>
@@ -125,29 +130,34 @@ <h2>Langages de programmation — {{title_fr}}</h2>
125130
Document type: Draft Technical Specification<br/>
126131
Document stage: (40) Enquiry<br/>
127132
</template>
133+
<template if="{{stage == 'ts'}}">
134+
Document type: Technical Specification<br/>
135+
Document stage: (60) Publication<br/>
136+
</template>
128137
Document language: E
129138
</div>
130139
</div>
131140
<div class="page">
132141
<figure class="copyright">
133-
<figcaption>Copyright notice</figcaption>
134-
<p>This ISO document is a working draft or committee draft and is copyright-protected by ISO. While
135-
the reproduction of working drafts or committee drafts in any form for use by participants in the
136-
ISO standards development process is permitted without prior permission from ISO, neither this
137-
document nor any extract from it may be reproduced, stored or transmitted in any form for any
138-
other purpose without prior written permission from ISO.</p>
139-
<p>Requests for permission to reproduce this document for the purpose of selling it should be
140-
addressed as shown below or to ISO’s member body in the country of the requester:</p>
142+
<p>© ISO {{pubyear}}</p>
143+
<p>
144+
All rights reserved. Unless otherwise specified, no part
145+
of this publication may be reproduced or utilized
146+
otherwise in any form or by any means, electronic or
147+
mechanical, including photocopying, or posting on the
148+
internet or an intranet, without prior written permission.
149+
Permission can be requested from either ISO at the address
150+
below or ISO's member body in the country of the requester.
151+
</p>
141152
<address>
142-
ISO copyright officer<br>
143-
Case postale 56, CH-1211 Geneva 20<br>
153+
ISO copyright office<br>
154+
Case postale 56 · CH-1211 Geneva 20<br>
144155
Tel. + 41 22 749 01 11<br>
145156
Fax + 41 22 749 09 47<br>
146157
E-mail <a href="mailto:copyright@iso.org">copyright@iso.org</a><br>
147158
Web <a href="http://www.iso.org">www.iso.org</a>
148159
</address>
149-
<p>Reproduction may be subject to royalty payments or a licensing agreement.</p>
150-
<p>Violators may be prosecuted.</p>
160+
<p>Published in Switzerland.</p>
151161
</figure>
152162
</div>
153163
</template>

titlepage.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ limitations under the License.
2525
stage: null,
2626

2727
computeStage: function() {
28-
var stages = ['draft', 'pdts', 'dts'];
28+
var stages = ['draft', 'pdts', 'dts', 'ts'];
2929
var presentStages = stages.filter(function(stage) {
3030
return document.body.classList.contains('cxx-' + stage);
3131
});
@@ -52,6 +52,7 @@ limitations under the License.
5252
this.projectNumber = this.querySelector('cxx-project-number');
5353
this.docnum = this.querySelector('cxx-docnum');
5454
this.pubdate = this.querySelector('time[pubdate]');
55+
this.pubyear = new Date(this.pubdate.textContent.split('-')).getFullYear();
5556
this.editor = this.querySelector('cxx-editor');
5657
this.revises = this.querySelector('cxx-revises');
5758

0 commit comments

Comments
 (0)