|
36 | 36 | </p> |
37 | 37 |
|
38 | 38 | {{#with ui.[0]}} |
39 | | -<h3>jQuery UI {{major}}</h3> |
40 | | - {{#with latestStable}} |
41 | | - <ul> |
42 | | - <li>{{release "jQuery UI" this}}</li> |
43 | | - <li>Themes: |
44 | | - {{#each themes}} |
45 | | - <a href="/ui/{{../version}}/themes/{{this}}/jquery-ui.css">{{this}}</a> |
46 | | - {{/each}} |
47 | | - </li> |
48 | | - </ul> |
49 | | - {{/with}} |
| 39 | + {{include "ui-latest"}} |
50 | 40 | {{/with}} |
51 | 41 |
|
52 | 42 | {{#with ui.[1]}} |
53 | | -<h3>jQuery UI {{major}}</h3> |
54 | | - {{#with latestStable}} |
55 | | - <ul> |
56 | | - <li>{{release "jQuery UI" this}}</li> |
57 | | - <li>Themes: |
58 | | - {{#each themes}} |
59 | | - <a href="/ui/{{../version}}/themes/{{this}}/jquery-ui.css">{{this}}</a> |
60 | | - {{/each}} |
61 | | - </li> |
62 | | - </ul> |
63 | | - {{/with}} |
| 43 | + {{include "ui-latest"}} |
64 | 44 | {{/with}} |
65 | 45 |
|
66 | 46 | {{#with color.latestStable}} |
|
69 | 49 | Showing the latest stable release for jQuery Color. |
70 | 50 | <a href="/color/">See all versions of jQuery Color</a>. |
71 | 51 | </p> |
72 | | -<ul> |
73 | | - <li>{{release "jQuery Color" this}}</li> |
74 | | - {{#if svgNames}} |
75 | | - <li>{{release "jQuery Color SVG Color Names" svgNames}}</li> |
76 | | - {{/if}} |
77 | | - {{#if plusNames}} |
78 | | - <li>{{release "jQuery Color With Names (last two together)" plusNames}}</li> |
79 | | - {{/if}} |
80 | | -</ul> |
| 52 | +{{include "color-release"}} |
81 | 53 | {{/with}} |
82 | 54 |
|
83 | 55 | {{#with mobile.latestStable}} |
|
87 | 59 | <a href="/mobile/">See all versions of jQuery Mobile</a>. |
88 | 60 | </p> |
89 | 61 | <ul> |
90 | | - <li> |
91 | | - jQuery Mobile {{version}} - |
92 | | - <a href="/mobile/{{version}}/{{filename}}">uncompressed</a>, |
93 | | - <a href="/mobile/{{version}}/{{minified}}">minfied</a>, |
94 | | - <a href="/mobile/{{version}}/{{minifiedCss}}">theme</a> |
95 | | - {{#if minifiedStructure}} |
96 | | - (<a href="/mobile/{{version}}/{{minifiedStructure}}">structure only</a>) |
97 | | - {{/if}} |
98 | | - </li> |
| 62 | + {{include "mobile-release"}} |
99 | 63 | </ul> |
100 | 64 | {{/with}} |
101 | 65 |
|
|
107 | 71 |
|
108 | 72 | {{#with qunit.latestStable}} |
109 | 73 | <ul> |
110 | | - <li> |
111 | | - QUnit {{version}} - |
112 | | - <a href="/{{filename}}">uncompressed</a>, |
113 | | - <a href="/{{theme}}">theme</a> |
114 | | - </li> |
| 74 | + {{include "qunit-release"}} |
115 | 75 | </ul> |
116 | 76 | {{/with}} |
0 commit comments