Felix Meschberger | 5fe610d | 2010-02-18 13:06:32 +0000 | [diff] [blame^] | 1 | <script type="text/javascript" src="res/ui/deployment.js"></script> |
| 2 | <script type="text/javascript"> |
| 3 | // <![CDATA[ |
| 4 | var i18n = { |
| 5 | status_no_data : "${deployment.status.no_data}", |
| 6 | status_no_serv : "${deployment.status.no_service}", |
| 7 | status_ok : "${deployment.status.ok}", |
| 8 | package_name : "${deployment.package.name}", |
| 9 | version : "${version}", |
| 10 | bundles : "${deployment.bundles}", |
| 11 | uninstall : "${deployment.uninstall}" |
| 12 | } |
| 13 | var packageListData = ${__data__}; |
| 14 | // ]]> |
| 15 | </script> |
| 16 | |
| 17 | <p class="statline"> </p> |
| 18 | |
| 19 | <div id="dps1"> <!-- will be hidden if no DP service available --> |
| 20 | <!-- top header --> |
| 21 | <form method="post" enctype="multipart/form-data" > |
| 22 | <div class="ui-widget-header ui-corner-top buttonGroup" style="text-align: right"> |
| 23 | <input name="action" type="hidden" value="deploydp" /> |
| 24 | <input name="pckfile" type="file" size="50" /> |
| 25 | <input type="submit" value="${deployment.install_update}" /> |
| 26 | </div> |
| 27 | </form> |
| 28 | |
| 29 | <div id="dps2"> <!-- will be hidden if no data available --> |
| 30 | <table id="plugin_table" class="nicetable"> |
| 31 | <thead> |
| 32 | <tr> |
| 33 | <th>${id}</th> |
| 34 | <th width="100%">${deployment.details}</th> |
| 35 | <th>${version}</th> |
| 36 | <th colspan="1">${deployment.actions}</th> |
| 37 | </tr> |
| 38 | </thead> |
| 39 | <tbody> |
| 40 | </tbody> |
| 41 | </table> |
| 42 | |
| 43 | <!-- bottom header --> |
| 44 | <form method="post" enctype="multipart/form-data" > |
| 45 | <div class="ui-widget-header ui-corner-bottom buttonGroup" style="text-align: right"> |
| 46 | <input name="action" type="hidden" value="deploydp" /> |
| 47 | <input name="pckfile" type="file" size="50" /> |
| 48 | <input type="submit" value="${deployment.install_update}" /> |
| 49 | </div> |
| 50 | </form> |
| 51 | </div><!--dps2--> |
| 52 | </div><!--dps1--> |