Felix Meschberger | 775025e | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 1 | <script type="text/javascript" src="${appRoot}/res/ui/bundles.js"></script> |
| 2 | <script type="text/javascript"> |
| 3 | // <![CDATA[ |
| 4 | var startLevel = ${startLevel}; |
| 5 | var drawDetails = ${drawDetails}; |
| 6 | var currentBundle = ${currentBundle}; |
| 7 | var __bundles__ = ${__bundles__}; |
| 8 | var i18n = { |
| 9 | 'Symbolic Name' : '${bundles.name.symb}', |
| 10 | 'Version' : '${version}', |
| 11 | 'Bundle Location' : '${bundles.location}', |
| 12 | 'Last Modification' : '${bundles.lastMod}', |
| 13 | 'Bundle Documentation': '${bundles.doc}', |
| 14 | 'Vendor' : '${bundles.vendor}', |
| 15 | 'Copyright' : '${bundles.copyright}', |
| 16 | 'Description' : '${bundles.description}', |
| 17 | 'Start Level' : '${bundles.startlevel}', |
| 18 | 'Bundle Classpath' : '${bundles.classpath}', |
| 19 | 'Exported Packages' : '${bundles.pkg.exported}', |
| 20 | 'Imported Packages' : '${bundles.pkg.imported}', |
| 21 | 'Importing Bundles' : '${bundles.pkg.importingBundles}', |
| 22 | 'Manifest Headers' : '${bundles.manifest.headers}', |
| 23 | 'Host Bundles' : '${bundles.hosts}', |
| 24 | 'Fragments Attached' : '${bundles.framents}', |
| 25 | 'Vendor' : '${bundles.vendor}', |
| 26 | // actions |
| 27 | 'Start' : '${start}', |
| 28 | 'Stop' : '${stop}', |
| 29 | 'Update' : '${bundles.update}', |
| 30 | 'Uninstall' : '${bundles.uninstall}', |
| 31 | 'Refresh Package Imports' : '${bundles.refreshImports}', |
| 32 | // |
| 33 | statline : '${bundles.statline}' |
| 34 | } |
| 35 | // ]]> |
| 36 | </script> |
| 37 | |
| 38 | <!-- status line --> |
| 39 | <p class="statline"> </p> |
| 40 | |
| 41 | <!-- top header --> |
| 42 | <form method="post" enctype="multipart/form-data" action=""> |
| 43 | <div class="ui-widget-header ui-corner-top buttonGroup"> |
| 44 | <input name="action" value="install" type="hidden" /> |
| 45 | <input name="bundlestart" value="start" type="hidden" /> |
| 46 | <input name="bundlestartlevel" value="5" type="hidden" /> |
| 47 | <input name="bundlefile" style="margin-left: 10px;" type="file" /> |
| 48 | <input value="${bundles.install_or_update}" style="margin-left: 10px;" type="submit" /> |
| 49 | <button class="reloadButton" type="button" name="reload" style="margin-left: 60px;">${reload}</button> |
| 50 | <button class="installButton" type="button" name="install">${bundles.install_update}</button> |
| 51 | <button class="refreshPackages" type="button" name="refresh">${bundles.refreshPkg}</button> |
| 52 | </div> |
| 53 | </form> |
| 54 | |
| 55 | <table id="plugin_table" class="tablesorter nicetable noauto"> |
| 56 | <thead> |
| 57 | <tr> |
| 58 | <th class="col_Id">${id}</th> |
| 59 | <th class="col_Name">${bundles.name}</th> |
| 60 | <th class="col_Version">${version}</th> |
| 61 | <th class="col_Symbolic_Name">${bundles.name.symb}</th> |
| 62 | <th class="col_Status">${bundles.status}</th> |
| 63 | <th class="col_Actions">${bundles.actions}</th> |
| 64 | </tr> |
| 65 | </thead> |
| 66 | <tbody> |
| 67 | <tr><td colspan="6"> </td></tr> |
| 68 | </tbody> |
| 69 | </table> |
| 70 | |
| 71 | <!-- bottom header --> |
| 72 | <form method="post" enctype="multipart/form-data" action=""> |
| 73 | <div class="ui-widget-header ui-corner-bottom buttonGroup"> |
| 74 | <input name="action" value="install" type="hidden" /> |
| 75 | <input name="bundlestart" value="start" type="hidden" /> |
| 76 | <input name="bundlestartlevel" value="5" type="hidden" /> |
| 77 | <input name="bundlefile" style="margin-left: 10px;" type="file" /> |
| 78 | <input value="${bundles.install_or_update}" style="margin-left: 10px;" type="submit" /> |
| 79 | <button class="reloadButton" type="button" name="reload" style="margin-left: 60px;">${reload}</button> |
| 80 | <button class="installButton" type="button" name="install">${bundles.install_update}</button> |
| 81 | <button class="refreshPackages" type="button" name="refresh">${bundles.refreshPkg}</button> |
| 82 | </div> |
| 83 | </form> |
| 84 | |
| 85 | <!-- status line --> |
| 86 | <p class="statline"> </p> |