Skip to content

Commit 62b7d91

Browse files
committed
Update cxx-html-doc-framework
1 parent c6d57c1 commit 62b7d91

File tree

3 files changed

+22
-81
lines changed

3 files changed

+22
-81
lines changed

bower_components/cxx-html-doc-framework/base.css

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,6 @@ p:first-child, ul, ol {margin-top: 0}
7777
del {text-decoration: line-through; color: #8B0040;}
7878
ins {text-decoration: underline; color: #005100;}
7979

80-
del2 {text-decoration: line-through; color: #FF0040; font-size:100%;}
81-
ins2 {text-decoration: underline; color: #FF0040; font-size:100%;}
82-
/* inserted in TS and then deleted for LWG */
83-
insdel {text-decoration: line-through; color: #FF4440; font-size:100%;}
84-
85-
del3 {text-decoration: line-through; color: #006666; font-size:100%;}
86-
ins3 {text-decoration: underline; color: #00CC66; font-size:100%;}
87-
88-
/* inserted in Rappersil and then deleted by another paper */
89-
insdel2 {text-decoration: line-through; color: #003366; font-size:100%;}
90-
9180
pre {
9281
margin-left: 1em;
9382
margin-top: .5em;

bower_components/cxx-html-doc-framework/titlepage.html

Lines changed: 19 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -36,84 +36,37 @@
3636
/* position:relative on :host makes position:absolute on its children work
3737
relative to :host's bounds. */
3838
:host { position: relative; }
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%; }
39+
table { position: absolute; right: 0; top: 0; }
40+
h1 { position: absolute; top: 40%; }
41+
p.warning { position: absolute; bottom: 5%; }
4642

4743
h1 {text-align: center;}
4844

4945
th { text-align: left; vertical-align: top; }
5046
</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>
5162
<template if="{{stage == 'draft'}}">
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
63+
<p class="warning"><strong>Note: this is an early draft. It’s known to be
10364
incomplet and incorrekt, and it has lots of b<span
10465
style="margin-left: -1.2pt; margin-right: 1pt">a</span>d<span
10566
style="width:1.5em"> </span>for<span
10667
style="margin-left:-3pt; margin-right:0.6pt">mat</span>ti<span
10768
style="position:relative; top:-0.15ex">n</span>g.</strong></p>
10869
</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>
11770
</template>
11871
<script src="titlepage.js"></script>
11972
</polymer-element>

bower_components/cxx-html-doc-framework/titlepage.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,9 @@ limitations under the License.
3030
this.title = this.querySelector('h1').textContent;
3131
this.stage = this.getAttribute('stage');
3232
if (this.stage == 'draft') {
33-
this.stage_title = "Working Draft, ";
34-
} else if (this.stage == 'pdts') {
35-
this.tsnum = this.querySelector('cxx-tsnum');
36-
this.iso_title_prefix = "Information technology – Programming languages, their environments and system software interfaces – "
33+
this.stage_title = "Working Draft";
34+
//} else if (this.stage == 'pdts') {
35+
// this.iso_title_prefix = "Information technology – Programming languages, their environments and system software interfaces – "
3736
} else {
3837
console.error('Unexpected stage: ' + this.stage);
3938
}

0 commit comments

Comments
 (0)