Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1e29b3d

Browse files
committed
Remove duplication between PDTS and DTS HTML.
1 parent8044bdb commit1e29b3d

File tree

1 file changed

+27
-84
lines changed

1 file changed

+27
-84
lines changed

‎titlepage.html‎

Lines changed: 27 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -46,34 +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) .header {position: absolute;right:0;top:0;text-align: right; }
50-
:host-context(body.cxx-pdts) .header ::contentcxx-docnum {font-size:150%; }
51-
:host-context(body.cxx-pdts) .headercxx-docnum {font-size:150%; }
52-
:host-context(body.cxx-pdts)hgroup {position: absolute;top:30%; }
53-
:host-context(body.cxx-pdts)hgroup* {margin:0; }
54-
:host-context(body.cxx-pdts)hgrouph1 {font-size:150%;font-weight: bold; }
55-
:host-context(body.cxx-pdts)hgrouph2 {font-size:100%;font-weight: normal; }
56-
:host-context(body.cxx-pdts) .footer {position: absolute;left:0;bottom:5%; }
57-
:host-context(body.cxx-pdts)figure {border:#111 solid1px;padding:10px;margin-left: auto;margin-right: auto; }
58-
:host-context(body.cxx-pdts)figcaption {text-align: center;font-weight: bold; }
59-
:host-context(body.cxx-pdts) .warning {position: absolute;bottom:20%; }
60-
:host-context(body.cxx-pdts) .copyrightaddress {font-style: normal;margin-left:2em; }
61-
:host-context(body.cxx-pdts) .copyrightaddressa {color: inherit;text-decoration: inherit; }
62-
63-
/* this dts stuff just replicates the pdts stuff above*/
64-
:host-context(body.cxx-dts) .header {position: absolute;right:0;top:0;text-align: right; }
65-
:host-context(body.cxx-dts) .header ::contentcxx-docnum {font-size:150%; }
66-
:host-context(body.cxx-dts) .headercxx-docnum {font-size:150%; }
67-
:host-context(body.cxx-dts)hgroup {position: absolute;top:30%; }
68-
:host-context(body.cxx-dts)hgroup* {margin:0; }
69-
:host-context(body.cxx-dts)hgrouph1 {font-size:150%;font-weight: bold; }
70-
:host-context(body.cxx-dts)hgrouph2 {font-size:100%;font-weight: normal; }
71-
:host-context(body.cxx-dts) .footer {position: absolute;left:0;bottom:5%; }
72-
:host-context(body.cxx-dts)figure {border:#111 solid1px;padding:10px;margin-left: auto;margin-right: auto; }
73-
:host-context(body.cxx-dts)figcaption {text-align: center;font-weight: bold; }
74-
:host-context(body.cxx-dts) .warning {position: absolute;bottom:20%; }
75-
:host-context(body.cxx-dts) .copyrightaddress {font-style: normal;margin-left:2em; }
76-
:host-context(body.cxx-dts) .copyrightaddressa {color: inherit;text-decoration: inherit; }
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 ::contentcxx-docnum {font-size:150%; }
51+
:host-context(body.cxx-pdts,body.cxx-dts) .headercxx-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)hgrouph1 {font-size:150%;font-weight: bold; }
55+
:host-context(body.cxx-pdts,body.cxx-dts)hgrouph2 {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 solid1px;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) .copyrightaddress {font-style: normal;margin-left:2em; }
61+
:host-context(body.cxx-pdts,body.cxx-dts) .copyrightaddressa {color: inherit;text-decoration: inherit; }
7762

7863
th {text-align: left;vertical-align: top; }
7964
</style>
@@ -103,65 +88,17 @@ <h1>Working Draft, {{title}}</h1>
10388
</div>
10489
</template>
10590

106-
<templateif="{{stage == 'pdts'}}">
91+
<templateif="{{stage == 'pdts' || stage == 'dts'}}">
10792
<divclass="page">
10893
<divclass="header">
10994
<strong>ISO/IEC JTC1 SC22 WG21<contentselect="cxx-docnum"/></content></strong><br/>
11095
Date:<contentselect="time[pubdate]"></content><br/>
111-
ISO/IEC PDTS<contentselect="cxx-project-number"></content><br/>
112-
ISO/IEC JTC1 SC22<br/>
113-
Secretariat: ANSI
114-
</div>
115-
<hgroup>
116-
<h1>Programming Languages — {{title}}</h1>
117-
<templateif="{{title_fr}}">
118-
<h2>Langages de programmation — {{title_fr}}</h2>
96+
<templateif="{{stage == 'pdts'}}">
97+
ISO/IEC PDTS<contentselect="cxx-project-number"></content><br/>
98+
</template>
99+
<templateif="{{stage == 'dts'}}">
100+
ISO/IEC DTS<contentselect="cxx-project-number"></content><br/>
119101
</template>
120-
</hgroup>
121-
<figureclass="warning">
122-
<figcaption>Warning</figcaption>
123-
<p>This document is not an ISO International Standard. It is distributed for review and comment. It is
124-
subject to change without notice and may not be referred to as an International Standard.
125-
</p>
126-
<p>Recipients of this draft are invited to submit, with their comments, notification of any relevant
127-
patent rights of which they are aware and to provide supporting documentation.</p>
128-
</figure>
129-
<divclass="footer">
130-
Document type: Proposed Draft Technical Specification<br/>
131-
Document stage: (30) Committee<br/>
132-
Document language: E
133-
</div>
134-
</div>
135-
<divclass="page">
136-
<figureclass="copyright">
137-
<figcaption>Copyright notice</figcaption>
138-
<p>This ISO document is a working draft or committee draft and is copyright-protected by ISO. While
139-
the reproduction of working drafts or committee drafts in any form for use by participants in the
140-
ISO standards development process is permitted without prior permission from ISO, neither this
141-
document nor any extract from it may be reproduced, stored or transmitted in any form for any
142-
other purpose without prior written permission from ISO.</p>
143-
<p>Requests for permission to reproduce this document for the purpose of selling it should be
144-
addressed as shown below or to ISO’s member body in the country of the requester:</p>
145-
<address>
146-
ISO copyright officer<br>
147-
Case postale 56, CH-1211 Geneva 20<br>
148-
Tel. + 41 22 749 01 11<br>
149-
Fax + 41 22 749 09 47<br>
150-
E-mail<ahref="mailto:copyright@iso.org">copyright@iso.org</a><br>
151-
Web<ahref="http://www.iso.org">www.iso.org</a>
152-
</address>
153-
<p>Reproduction may be subject to royalty payments or a licensing agreement.</p>
154-
<p>Violators may be prosecuted.</p>
155-
</figure>
156-
</div>
157-
</template>
158-
159-
<templateif="{{stage == 'dts'}}">
160-
<divclass="page">
161-
<divclass="header">
162-
<strong>ISO/IEC JTC1 SC22 WG21<contentselect="cxx-docnum"/></content></strong><br/>
163-
Date:<contentselect="time[pubdate]"></content><br/>
164-
ISO/IEC DTS<contentselect="cxx-project-number"></content><br/>
165102
ISO/IEC JTC1 SC22<br/>
166103
Secretariat: ANSI
167104
</div>
@@ -180,8 +117,14 @@ <h2>Langages de programmation — {{title_fr}}</h2>
180117
patent rights of which they are aware and to provide supporting documentation.</p>
181118
</figure>
182119
<divclass="footer">
183-
Document type: Draft Technical Specification<br/>
184-
Document stage: (40) Enquiry<br/>
120+
<templateif="{{stage == 'pdts'}}">
121+
Document type: Proposed Draft Technical Specification<br/>
122+
Document stage: (30) Committee<br/>
123+
</template>
124+
<templateif="{{stage == 'dts'}}">
125+
Document type: Draft Technical Specification<br/>
126+
Document stage: (40) Enquiry<br/>
127+
</template>
185128
Document language: E
186129
</div>
187130
</div>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp