|
1 | 1 | <% if OpenStackAvailableComponents %> |
2 | 2 | <hr> |
3 | | - <form id="components_form" name="components_form"> |
4 | | - <div style="display: block;overflow-x:auto; width: 99%"> |
| 3 | + <form id="components_form" name="components_form" style="margin-bottom: 30px"> |
| 4 | + <div style="display: block;overflow-y:auto; height: 500px"> |
5 | 5 | <table style="border: 1px solid #ccc; border-collapse:collapse;clear:both;max-width:99%" width="100%" > |
6 | 6 | <tbody style="width: auto"> |
7 | 7 | <tr> |
8 | | - <th style="border: 1px solid #ccc;min-width: 150px;">OpenStack-powered Capabilities Offered</th> |
9 | | - <% loop OpenStackAvailableComponents %> |
10 | | - <th style="border: 1px solid #ccc;background:#eaeaea;min-width: 150px" width="10%"> |
11 | | - $Name ($CodeName) |
12 | | - </th> |
13 | | - <% end_loop %> |
| 8 | + <th style="border: 1px solid #ccc;text-align: center;">OpenStack-powered Capabilities Offered</th> |
| 9 | + <th style="border: 1px solid #ccc;text-align: center;">Mark all that apply with an X</th> |
| 10 | + <th style="border: 1px solid #ccc;width:9%;text-align: center;">Version of OpenStack used (e..g Grizzly, Havana)</th> |
| 11 | + <th style="border: 1px solid #ccc;text-align: center;">API Version Supported</th> |
| 12 | + <th style="border: 1px solid #ccc;text-align: center;">API supported</th> |
14 | 13 | </tr> |
15 | | - <tr> |
16 | | - <th style="border: 1px solid #ccc;">Mark all that apply with an X</th> |
17 | | - <% loop OpenStackAvailableComponents %> |
18 | | - <th style="border: 1px solid #ccc;background:#fff;text-align:center;"> |
19 | | - <input type="checkbox" class="checkbox available-component" id="component_{$ID}" value="{$ID}" data-supports-versioning="{$SupportsVersioning}" name="component_{$ID}"> |
20 | | - </th> |
21 | | - <% end_loop %> |
22 | | - </tr> |
23 | | - <tr> |
24 | | - <th style="border: 1px solid #ccc;width:9%;">Version of OpenStack used (e..g Grizzly, Havana)</th> |
25 | | - <% loop OpenStackAvailableComponents %> |
26 | | - <th style="border: 1px solid #ccc;background:#fff;width:9%;"> |
27 | | - <div style="display:inline-block;max-width:90%;"> |
28 | | - <select style="width:100%" id="releases_component_{$ID}" name="releases_component_{$ID}" class="component-releases" data-component-id="{$ID}" data-component-supports-versioning="{$SupportsVersioning}" data-component-codename="{$CodeName}"> |
29 | | - </select> |
30 | | - </div> |
31 | | - </th> |
32 | | - <% end_loop %> |
33 | | - </tr> |
34 | | - <tr> |
35 | | - <th style="border: 1px solid #ccc;">API Version Supported</th> |
36 | | - <% loop OpenStackAvailableComponents %> |
37 | | - <th style="border: 1px solid #ccc;background:#fff;"> |
38 | | - <div style="display:inline-block;max-width:90%;"> |
| 14 | + <% loop OpenStackAvailableComponents %> |
| 15 | + <tr style="border: 1px solid #ccc;background:#eaeaea;" width="10%"> |
| 16 | + <td style="padding-left: 10px">$Name ($CodeName)</td> |
| 17 | + <td style="border: 1px solid #ccc;background:#fff;text-align:center;"> |
| 18 | + <input type="checkbox" class="checkbox available-component" id="component_{$ID}" value="{$ID}" data-supports-versioning="{$SupportsVersioning}" name="component_{$ID}"> |
| 19 | + </td> |
| 20 | + <td style="border: 1px solid #ccc;background:#fff;width:9%;text-align: center"> |
| 21 | + <div style="display:inline-block;max-width:90%;"> |
| 22 | + <select style="width:100%" id="releases_component_{$ID}" name="releases_component_{$ID}" class="component-releases" data-component-id="{$ID}" data-component-supports-versioning="{$SupportsVersioning}" data-component-codename="{$CodeName}"> |
| 23 | + </select> |
| 24 | + </div> |
| 25 | + </td> |
| 26 | + <td style="border: 1px solid #ccc;background:#fff;text-align: center"> |
| 27 | + <div style="display:inline-block;max-width:90%;"> |
39 | 28 | <% if SupportsVersioning %> |
40 | 29 | <select style="width:100%" id="release_api_version_component_{$ID}" name="release_api_version_component_{$ID}" class="release-api-versions" data-component-id="{$ID}"> |
41 | 30 | <option value="">-- select --</option> |
42 | 31 | </select> |
43 | 32 | <% else %> |
44 | 33 | <input type="text" name="api_coverage_amount_{$ID}" id="api_coverage_amount_{$ID}" value="N/A" style="border:0; color:#f6931f; font-weight:bold;width: 100%; max-width: 90%;text-align:center;"> |
45 | 34 | <% end_if %> |
46 | | - </div> |
47 | | - </th> |
48 | | - <% end_loop %> |
49 | | - </tr> |
50 | | - <tr> |
51 | | - <th style="border: 1px solid #ccc;">API supported</th> |
52 | | - <% loop OpenStackAvailableComponents %> |
53 | | - <th style="border: 1px solid #ccc;background:#fff;"> |
54 | | - <% if SupportsVersioning %> |
55 | | - <select style="width:100%" id="api_coverage_amount_{$ID}" name="api_coverage_amount_{$ID}" class="api-coverage"> |
56 | | - <option value="">-- select --</option> |
57 | | - <option value="0">None</option> |
58 | | - <option value="50">Partial</option> |
59 | | - <option value="100">Full</option> |
60 | | - </select> |
61 | | - <% else %> |
62 | | - <input type="text" name="api_coverage_amount_{$ID}" id="api_coverage_amount_{$ID}" value="N/A" style="border:0; color:#f6931f; font-weight:bold;width: 100%; max-width: 90%;text-align:center;"> |
63 | | - <% end_if %> |
64 | | - </th> |
65 | | - <% end_loop %> |
| 35 | + </div> |
| 36 | + </td> |
| 37 | + <td style="border: 1px solid #ccc;background:#fff;text-align: center"> |
| 38 | + <% if SupportsVersioning %> |
| 39 | + <select id="api_coverage_amount_{$ID}" name="api_coverage_amount_{$ID}" class="api-coverage"> |
| 40 | + <option value="">-- select --</option> |
| 41 | + <option value="0">None</option> |
| 42 | + <option value="50">Partial</option> |
| 43 | + <option value="100">Full</option> |
| 44 | + </select> |
| 45 | + <% else %> |
| 46 | + <input type="text" name="api_coverage_amount_{$ID}" id="api_coverage_amount_{$ID}" value="N/A" style="border:0; color:#f6931f; font-weight:bold;width: 100%; max-width: 90%;text-align:center;"> |
| 47 | + <% end_if %> |
| 48 | + </td> |
66 | 49 | </tr> |
| 50 | + <% end_loop %> |
67 | 51 | </table> |
68 | 52 | </div> |
69 | 53 | </form> |
|
0 commit comments