Mercurial > hg > nginx-site
annotate xsls/download.xsls @ 3072:7f493ec56c12
Renamed news page.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 09 Apr 2024 18:14:16 +0300 |
parents | 68e8c8dc9489 |
children |
rev | line source |
---|---|
580
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
543
diff
changeset
|
1 <!-- |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
543
diff
changeset
|
2 Copyright (C) Igor Sysoev |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
543
diff
changeset
|
3 Copyright (C) Nginx, Inc. |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
543
diff
changeset
|
4 --> |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
543
diff
changeset
|
5 |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
6 X:stylesheet { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
7 |
727
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
8 X:template = "download" { |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
9 X:var last="@last" |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
10 X:for-each "document(concat($XML, '/versions.xml')) |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
11 /versions/download[@tag = current()/@tag]" { |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
12 <table width="100%"> |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
13 |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
14 !! "item[position() <= $last]"; |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
15 |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
16 </table> |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
17 } |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
18 } |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
19 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
20 |
727
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
21 X:template = "download/item" { |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
22 <tr> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
23 <td width="20%"> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
24 X:if "position() = 1" { |
132 | 25 <a> |
727
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
26 X:attribute "href" { |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
27 X:text{/} !{$LANG} X:text{/CHANGES} |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
28 X:if "$LANG != 'en'" { X:text{.} !{$LANG} } |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
29 X:if "../@changes != ''" { X:text{-} !{../@changes} } |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
30 } |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
31 X:text{CHANGES} |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
32 X:if "$LANG != 'en'" { X:text{.} !{$LANG} } |
b2b10d564893
Simplified nginx versions maintenance by providing only
Ruslan Ermilov <ru@nginx.com>
parents:
721
diff
changeset
|
33 X:if "../@changes != ''" { X:text{-} !{../@changes} } |
132 | 34 </a> |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
35 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
36 </td> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
37 |
3063 | 38 <td width="30%"> |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
39 <a> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
40 X:attribute "href" { |
3063 | 41 X:text {/download/} !{@name} X:text{-} !{@ver} |
42 X:text {.tar.gz} | |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
43 } |
3063 | 44 !{@name} X:text{-} !{@ver} |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
45 </a> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
46 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
47 X:if "@pgp = 'yes'" { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
48 X:text {  } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
49 <a> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
50 X:attribute "href" { |
3063 | 51 X:text {/download/} !{@name} X:text{-} !{@ver} |
52 X:text {.tar.gz.asc} | |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
53 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
54 X:text {pgp} |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
55 </a> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
56 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
57 </td> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
58 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
59 <td> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
60 X:if "@win= 'yes'" { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
61 <a> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
62 X:attribute "href" { |
3063 | 63 X:text {/download/} !{@name} X:text{-} !{@ver} |
64 X:text {.zip} | |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
65 } |
3063 | 66 !{@name} X:text {/Windows-} !{@ver} |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
67 </a> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
68 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
69 X:if "@pgp = 'yes'" { |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
70 X:text {  } |
132 | 71 <a> |
72 X:attribute "href" { | |
3063 | 73 X:text {/download/} !{@name} X:text{-} !{@ver} |
74 X:text {.zip.asc} | |
132 | 75 } |
76 X:text {pgp} | |
77 </a> | |
0
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
78 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
79 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
80 </td> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
81 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
82 </tr> |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
83 } |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
84 |
61e04fc01027
Initial import of the nginx.org website.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
85 } |