Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 1 | <script type="text/javascript" src="${appRoot}/res/lib/jquery.multifile-1.4.6.js"></script> |
| 2 | <script type="text/javascript" src="${appRoot}/res/ui/bundles.js"></script> |
Felix Meschberger | 63d692a | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 3 | <script type="text/javascript"> |
| 4 | // <![CDATA[ |
| 5 | var startLevel = ${startLevel}; |
| 6 | var drawDetails = ${drawDetails}; |
| 7 | var currentBundle = ${currentBundle}; |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 8 | var lastBundleData = ${__bundles__}; |
Felix Meschberger | 63d692a | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 9 | var i18n = { |
| 10 | 'Symbolic Name' : '${bundles.name.symb}', |
| 11 | 'Version' : '${version}', |
| 12 | 'Bundle Location' : '${bundles.location}', |
| 13 | 'Last Modification' : '${bundles.lastMod}', |
| 14 | 'Bundle Documentation': '${bundles.doc}', |
| 15 | 'Vendor' : '${bundles.vendor}', |
| 16 | 'Copyright' : '${bundles.copyright}', |
| 17 | 'Description' : '${bundles.description}', |
| 18 | 'Start Level' : '${bundles.startlevel}', |
| 19 | 'Bundle Classpath' : '${bundles.classpath}', |
| 20 | 'Exported Packages' : '${bundles.pkg.exported}', |
| 21 | 'Imported Packages' : '${bundles.pkg.imported}', |
| 22 | 'Importing Bundles' : '${bundles.pkg.importingBundles}', |
| 23 | 'Manifest Headers' : '${bundles.manifest.headers}', |
| 24 | 'Host Bundles' : '${bundles.hosts}', |
| 25 | 'Fragments Attached' : '${bundles.framents}', |
| 26 | 'Vendor' : '${bundles.vendor}', |
| 27 | // actions |
| 28 | 'Start' : '${start}', |
| 29 | 'Stop' : '${stop}', |
| 30 | 'Update' : '${bundles.update}', |
| 31 | 'Uninstall' : '${bundles.uninstall}', |
| 32 | 'Refresh Package Imports' : '${bundles.refreshImports}', |
| 33 | // |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 34 | statline : '${bundles.statline}', |
| 35 | install_update : '${bundles.install_or_update}', |
| 36 | state : { |
| 37 | 1 : '${bundles.state.1}', // uninstalled |
| 38 | 2 : '${bundles.state.2}', // installed |
| 39 | 4 : '${bundles.state.4}', // resolved |
| 40 | 8 : '${bundles.state.8}', // starting |
| 41 | 16 : '${bundles.state.16}', // stopping |
| 42 | 32 : '${bundles.state.32}', // active |
| 43 | 'unknown' : '${bundles.state.unknown}', // Unknown State: {0} |
| 44 | 'fragment' : '${bundles.state.fragment}' // Fragment |
| 45 | } |
Felix Meschberger | 63d692a | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 46 | } |
| 47 | // ]]> |
| 48 | </script> |
| 49 | |
| 50 | <!-- status line --> |
| 51 | <p class="statline"> </p> |
| 52 | |
| 53 | <!-- top header --> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 54 | <form method="post" enctype="multipart/form-data" action="" class="filterForm"> |
Felix Meschberger | 63d692a | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 55 | <div class="ui-widget-header ui-corner-top buttonGroup"> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 56 | <div class="filterBox"> |
Valentin Valchev | 8d9f103 | 2010-03-19 07:54:14 +0000 | [diff] [blame] | 57 | <input class="filter" value="" title="${bundles.filter.help}" /> |
| 58 | <span class="filterClear ui-icon ui-icon-close" title="${bundles.filter.clear}"> </span> |
| 59 | <button class="filterApply" title="${bundles.filter.help}">${bundles.filter.apply}</button> |
| 60 | <button class="filterLDAP" title="${bundles.filter.ldap.tip}">${bundles.filter.ldap}</button> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 61 | </div> |
Valentin Valchev | 8d9f103 | 2010-03-19 07:54:14 +0000 | [diff] [blame] | 62 | <button class="reloadButton" type="button">${reload}</button> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 63 | <button class="installButton" type="button">${bundles.install_update}</button> |
| 64 | <button class="refreshPackages" type="button">${bundles.refreshPkg}</button> |
Felix Meschberger | 63d692a | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 65 | </div> |
| 66 | </form> |
| 67 | |
| 68 | <table id="plugin_table" class="tablesorter nicetable noauto"> |
| 69 | <thead> |
| 70 | <tr> |
| 71 | <th class="col_Id">${id}</th> |
| 72 | <th class="col_Name">${bundles.name}</th> |
| 73 | <th class="col_Version">${version}</th> |
Valentin Valchev | 8d9f103 | 2010-03-19 07:54:14 +0000 | [diff] [blame] | 74 | <th class="col_Symbolic_Name">${bundles.category}</th> |
Felix Meschberger | 63d692a | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 75 | <th class="col_Status">${bundles.status}</th> |
| 76 | <th class="col_Actions">${bundles.actions}</th> |
| 77 | </tr> |
| 78 | </thead> |
| 79 | <tbody> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 80 | <tr><!-- template --> |
| 81 | <td> </td><!-- ID --> |
| 82 | <td> |
Valentin Valchev | 16bef4a | 2010-04-15 08:45:47 +0000 | [diff] [blame] | 83 | <div class="bIcon ui-icon ui-icon-triangle-1-e" title="Show Details"> </div> |
| 84 | <div class="bName"> </div> <!-- here goest bundle name/link --> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 85 | </td> |
| 86 | <td> </td><!-- version --> |
| 87 | <td> </td><!-- symbolic name --> |
| 88 | <td> </td><!-- status --> |
| 89 | <td><!-- actions --> |
| 90 | <ul class="icons ui-widget"> |
| 91 | <li class="dynhover" title="${start}"><span class="ui-icon ui-icon-play"> </span></li> |
| 92 | <li class="dynhover" title="${stop}"><span class="ui-icon ui-icon-stop"> </span></li> |
| 93 | <li class="dynhover" title="${bundles.refreshImports}"><span class="ui-icon ui-icon-refresh"> </span></li> |
| 94 | <li class="dynhover" title="${bundles.update}"><span class="ui-icon ui-icon-transferthick-e-w"> </span></li> |
| 95 | <li class="dynhover" title="${bundles.uninstall}"><span class="ui-icon ui-icon-trash"> </span></li> |
| 96 | </ul> |
| 97 | </td> |
| 98 | </tr> |
Felix Meschberger | 63d692a | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 99 | </tbody> |
| 100 | </table> |
| 101 | |
| 102 | <!-- bottom header --> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 103 | <form method="post" enctype="multipart/form-data" action="" class="filterForm"> |
Felix Meschberger | 63d692a | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 104 | <div class="ui-widget-header ui-corner-bottom buttonGroup"> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 105 | <div class="filterBox"> |
Valentin Valchev | 8d9f103 | 2010-03-19 07:54:14 +0000 | [diff] [blame] | 106 | <input class="filter" value="" title="${bundles.filter.help}" /> |
| 107 | <span class="filterClear ui-icon ui-icon-close" title="${bundles.filter.clear}"> </span> |
| 108 | <button class="filterApply" title="${bundles.filter.help}">${bundles.filter.apply}</button> |
| 109 | <button class="filterLDAP" title="${bundles.filter.ldap.tip}">${bundles.filter.ldap}</button> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 110 | </div> |
Valentin Valchev | 8d9f103 | 2010-03-19 07:54:14 +0000 | [diff] [blame] | 111 | <button class="reloadButton" type="button">${reload}</button> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 112 | <button class="installButton" type="button">${bundles.install_update}</button> |
| 113 | <button class="refreshPackages" type="button">${bundles.refreshPkg}</button> |
Felix Meschberger | 63d692a | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 114 | </div> |
| 115 | </form> |
| 116 | |
| 117 | <!-- status line --> |
| 118 | <p class="statline"> </p> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 119 | |
| 120 | <div id="uploadDialog" class="ui-helper-hidden" title="${bundles.upload.caption}"> |
| 121 | <form method="post" enctype="multipart/form-data" action="${pluginRoot}"> |
| 122 | <table class="nicetable"> |
| 123 | <tr> |
| 124 | <td style="text-align:right">${bundles.upload.start}</td> |
| 125 | <td> |
| 126 | <input type="hidden" name="action" value="install"/> |
| 127 | <input type="checkbox" name="bundlestart" value="start"/> |
| 128 | </td> |
| 129 | </tr> |
| 130 | <tr> |
| 131 | <td style="text-align:right">${bundles.upload.level}</td> |
| 132 | <td><input type="text" name="bundlestartlevel" id="bundlestartlevel" value="${startLevel}" size="4"/></td> |
| 133 | </tr> |
| 134 | <tr> |
| 135 | <td> </td> |
| 136 | <td> |
Felix Meschberger | 6779d90 | 2010-09-24 19:03:19 +0000 | [diff] [blame] | 137 | <input class="multi" accept="jar|war" type="file" name="bundlefile" /> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 138 | </td> |
| 139 | </tr> |
| 140 | </table> |
| 141 | </form> |
| 142 | </div> |
Valentin Valchev | 984d466 | 2010-04-13 11:01:11 +0000 | [diff] [blame] | 143 | |
| 144 | <div id="bundleOpError" class="ui-helper-hidden" title="${bundles.error.title}"><pre> </pre></div> |
Valentin Valchev | 46e3c9c | 2012-04-26 12:15:55 +0000 | [diff] [blame^] | 145 | <div id="bundleOpSuccess" class="ui-helper-hidden" title="${bundles.success.title}">${bundles.success.text}</div> |