|
|
|
@ -3,98 +3,122 @@
|
|
|
|
|
width="[(#SVG{margin_left}|width)]" |
|
|
|
|
height="[(#SVG{header_height}|height)]" |
|
|
|
|
> |
|
|
|
|
<style type="text/css"> |
|
|
|
|
<![CDATA[ |
|
|
|
|
text { |
|
|
|
|
fill: #333; |
|
|
|
|
[font-size: (#SVG{header_height}|mult{2}|div{3})px;] |
|
|
|
|
} |
|
|
|
|
<style type="text/css"> |
|
|
|
|
<![CDATA[ |
|
|
|
|
text { |
|
|
|
|
fill: #333; |
|
|
|
|
[font-size: (#SVG{header_height}|mult{2}|div{3})px;] |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
g.eol rect, |
|
|
|
|
.branches rect.eol { |
|
|
|
|
fill: #e29ea2; |
|
|
|
|
} |
|
|
|
|
g.eol rect, |
|
|
|
|
.branches rect.eol { |
|
|
|
|
fill: #e29ea2; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
g.eol text { |
|
|
|
|
fill: white; |
|
|
|
|
} |
|
|
|
|
g.eol text { |
|
|
|
|
fill: white; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
g.security rect, |
|
|
|
|
.branches rect.security { |
|
|
|
|
fill: #fceaae; |
|
|
|
|
} |
|
|
|
|
g.security rect, |
|
|
|
|
.branches rect.security { |
|
|
|
|
fill: #fceaae; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
g.stable rect, |
|
|
|
|
.branches rect.stable { |
|
|
|
|
fill: #c3e2c5; |
|
|
|
|
} |
|
|
|
|
g.stable rect, |
|
|
|
|
.branches rect.stable { |
|
|
|
|
fill: #c3e2c5; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
g.future rect, |
|
|
|
|
.branches rect.future { |
|
|
|
|
fill: #edcbdc; |
|
|
|
|
} |
|
|
|
|
g.future rect, |
|
|
|
|
.branches rect.future { |
|
|
|
|
fill: #edcbdc; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.branch-labels text { |
|
|
|
|
dominant-baseline: central; |
|
|
|
|
text-anchor: middle; |
|
|
|
|
} |
|
|
|
|
.branch-labels text { |
|
|
|
|
dominant-baseline: central; |
|
|
|
|
text-anchor: middle; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.today line { |
|
|
|
|
stroke: #f33; |
|
|
|
|
stroke-dasharray: 7,7; |
|
|
|
|
stroke-width: 3px; |
|
|
|
|
} |
|
|
|
|
.today line { |
|
|
|
|
stroke: #f33; |
|
|
|
|
stroke-dasharray: 7,7; |
|
|
|
|
stroke-width: 3px; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.today text { |
|
|
|
|
fill: #f33; |
|
|
|
|
text-anchor: middle; |
|
|
|
|
} |
|
|
|
|
.today text { |
|
|
|
|
fill: #f33; |
|
|
|
|
text-anchor: middle; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.years line { |
|
|
|
|
stroke: black; |
|
|
|
|
} |
|
|
|
|
.years line { |
|
|
|
|
stroke: black; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.years text { |
|
|
|
|
text-anchor: middle; |
|
|
|
|
} |
|
|
|
|
]]> |
|
|
|
|
</style> |
|
|
|
|
.years text { |
|
|
|
|
text-anchor: middle; |
|
|
|
|
} |
|
|
|
|
]]> |
|
|
|
|
</style> |
|
|
|
|
|
|
|
|
|
<!-- Branch labels --> |
|
|
|
|
<g class="branch-labels"> |
|
|
|
|
<BOUCLE_active_branches(DATA){source json, #CHEMIN{data/releases.json}}>[(#EOL|>={#DATE}|ou{#EOL|intval|non}) |
|
|
|
|
<BOUCLE_active_branches(DATA){source table, #NULL|branches_to_show}> |
|
|
|
|
<g[ class="(#VALEUR|state)"]> |
|
|
|
|
<rect x="0" y="[(#BRANCH|top)]" width="[(#SVG{margin_left}|mult{0.5})]" height="#SVG{branch_height}" /> |
|
|
|
|
<text x="[(#SVG{margin_left}|mult{0.25})]" y="[(#BRANCH|top|top_for_text)]"> |
|
|
|
|
#BRANCH |
|
|
|
|
</text> |
|
|
|
|
</g>] |
|
|
|
|
</g> |
|
|
|
|
</BOUCLE_active_branches> |
|
|
|
|
</g> |
|
|
|
|
|
|
|
|
|
<!-- Branch blocks --> |
|
|
|
|
<g class="branches"> |
|
|
|
|
<BOUCLE_active_branches_2(DATA){source json, #CHEMIN{data/releases.json}}>[(#EOL|>={#DATE}|ou{#EOL|intval|non}) |
|
|
|
|
<rect class="stable" x="[(#INITIAL_RELEASE|horiz_coord)]" y="[(#BRANCH|top)]" width="[(#ACTIVE_SUPPORT|horiz_coord|strmoins{#INITIAL_RELEASE|horiz_coord})]" height="#SVG{branch_height}" /> |
|
|
|
|
<rect class="security" x="[(#ACTIVE_SUPPORT|horiz_coord)]" y="[(#BRANCH|top)]" width="[(#EOL|horiz_coord|strmoins{#ACTIVE_SUPPORT|horiz_coord})]" height="#SVG{branch_height}" />] |
|
|
|
|
</BOUCLE_active_branches_2> |
|
|
|
|
</g> |
|
|
|
|
<!-- Branch blocks --> |
|
|
|
|
<g class="branches"> |
|
|
|
|
<BOUCLE_active_branches_2(DATA){source table, #NULL|branches_to_show}> |
|
|
|
|
<rect |
|
|
|
|
class="stable" |
|
|
|
|
x="[(#INITIAL_RELEASE|horiz_coord)]" |
|
|
|
|
y="[(#BRANCH|top)]" |
|
|
|
|
width="[(#ACTIVE_SUPPORT|horiz_coord|strmoins{#INITIAL_RELEASE|horiz_coord})]" |
|
|
|
|
height="#SVG{branch_height}" |
|
|
|
|
/> |
|
|
|
|
<rect |
|
|
|
|
class="security" |
|
|
|
|
x="[(#ACTIVE_SUPPORT|horiz_coord)]" |
|
|
|
|
y="[(#BRANCH|top)]" |
|
|
|
|
width="[(#EOL|horiz_coord|strmoins{#ACTIVE_SUPPORT|horiz_coord})]" |
|
|
|
|
height="#SVG{branch_height}" |
|
|
|
|
/> |
|
|
|
|
</BOUCLE_active_branches_2> |
|
|
|
|
</g> |
|
|
|
|
|
|
|
|
|
<!-- Year lines --> |
|
|
|
|
<g class="years"> |
|
|
|
|
<BOUCLE_years(DATA){source table, #NULL|years}> |
|
|
|
|
<line x1="[(#VALEUR|horiz_coord)]" y1="#SVG{header_height}" x2="[(#VALEUR|horiz_coord)]" y2="[(#SVG{header_height}|height)]" /> |
|
|
|
|
<text x="[(#VALEUR|horiz_coord)]" y="[(#SVG{header_height}|mult{0.8})]"> |
|
|
|
|
[(#VALEUR|affdate{M Y})] |
|
|
|
|
</text> |
|
|
|
|
</BOUCLE_years> |
|
|
|
|
</g> |
|
|
|
|
<!-- Year lines --> |
|
|
|
|
<g class="years"> |
|
|
|
|
<BOUCLE_years(DATA){source table, #NULL|years}> |
|
|
|
|
<line |
|
|
|
|
x1="[(#VALEUR|horiz_coord)]" |
|
|
|
|
y1="#SVG{header_height}" |
|
|
|
|
x2="[(#VALEUR|horiz_coord)]" |
|
|
|
|
y2="[(#SVG{header_height}|height|strmoins{#SVG{footer_height}})]" |
|
|
|
|
/> |
|
|
|
|
<text x="[(#VALEUR|horiz_coord)]" y="[(#SVG{header_height}|mult{0.8})]">[ |
|
|
|
|
(#VALEUR|affdate{M Y}) |
|
|
|
|
]</text> |
|
|
|
|
</BOUCLE_years> |
|
|
|
|
</g> |
|
|
|
|
|
|
|
|
|
<!-- Today --> |
|
|
|
|
<g class="today"> |
|
|
|
|
<line x1="[(#DATE|affdate{Y-m-d}|horiz_coord)]" y1="#SVG{header}" x2="[(#DATE|affdate{Y-m-d}|horiz_coord)]" y2="[(#SVG{header_height}|height)]" /> |
|
|
|
|
<text x="[(#DATE|affdate{Y-m-d}|horiz_coord)]" y="[(#SVG{header_height}|height|strplus{#SVG{footer_height}|mult{0.8}})]"> |
|
|
|
|
[<:info_aujourdhui:> (#DATE|affdate)] |
|
|
|
|
</text> |
|
|
|
|
<line |
|
|
|
|
x1="[(#DATE|affdate{Y-m-d}|horiz_coord)]" |
|
|
|
|
y1="#SVG{header_height}" |
|
|
|
|
x2="[(#DATE|affdate{Y-m-d}|horiz_coord)]" |
|
|
|
|
y2="[(#SVG{header_height}|height|strmoins{#SVG{footer_height}})]" |
|
|
|
|
/> |
|
|
|
|
<text |
|
|
|
|
x="[(#DATE|affdate{Y-m-d}|horiz_coord)]" |
|
|
|
|
y="[(#SVG{header_height}|height)]">[ |
|
|
|
|
<:info_aujourdhui:> (#DATE|affdate) |
|
|
|
|
]</text> |
|
|
|
|
</g> |
|
|
|
|
</svg> |
|
|
|
|