Carsten Ziegeler | 322d874 | 2013-01-30 15:56:09 +0000 | [diff] [blame] | 1 | <script type="text/javascript" src="${appRoot}/res/lib/jquery.multifile-1.4.6.js"></script> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 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 | // |
Carsten Ziegeler | 322d874 | 2013-01-30 15:56:09 +0000 | [diff] [blame] | 34 | statlinePrefix : '${bundles.statline.prefix}', |
| 35 | statlineAll : '${bundles.statline.all}', |
Carsten Ziegeler | 7453421 | 2013-01-30 18:15:30 +0000 | [diff] [blame] | 36 | statlineTotal : '${bundles.statline.total}', |
| 37 | statlineActive : '${bundles.statline.active}', |
| 38 | statlineFragments : '${bundles.statline.fragments}', |
| 39 | statlineResolved : '${bundles.statline.resolved}', |
| 40 | statlineInstalled : '${bundles.statline.installed}', |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 41 | install_update : '${bundles.install_or_update}', |
| 42 | state : { |
| 43 | 1 : '${bundles.state.1}', // uninstalled |
| 44 | 2 : '${bundles.state.2}', // installed |
| 45 | 4 : '${bundles.state.4}', // resolved |
| 46 | 8 : '${bundles.state.8}', // starting |
| 47 | 16 : '${bundles.state.16}', // stopping |
| 48 | 32 : '${bundles.state.32}', // active |
| 49 | 'unknown' : '${bundles.state.unknown}', // Unknown State: {0} |
| 50 | 'fragment' : '${bundles.state.fragment}' // Fragment |
| 51 | } |
Felix Meschberger | 63d692a | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 52 | } |
| 53 | // ]]> |
| 54 | </script> |
| 55 | |
| 56 | <!-- status line --> |
| 57 | <p class="statline"> </p> |
| 58 | |
| 59 | <!-- top header --> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 60 | <form method="post" enctype="multipart/form-data" action="" class="filterForm"> |
Felix Meschberger | 63d692a | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 61 | <div class="ui-widget-header ui-corner-top buttonGroup"> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 62 | <div class="filterBox"> |
Valentin Valchev | 8d9f103 | 2010-03-19 07:54:14 +0000 | [diff] [blame] | 63 | <input class="filter" value="" title="${bundles.filter.help}" /> |
| 64 | <span class="filterClear ui-icon ui-icon-close" title="${bundles.filter.clear}"> </span> |
| 65 | <button class="filterApply" title="${bundles.filter.help}">${bundles.filter.apply}</button> |
| 66 | <button class="filterLDAP" title="${bundles.filter.ldap.tip}">${bundles.filter.ldap}</button> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 67 | </div> |
Valentin Valchev | 8d9f103 | 2010-03-19 07:54:14 +0000 | [diff] [blame] | 68 | <button class="reloadButton" type="button">${reload}</button> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 69 | <button class="installButton" type="button">${bundles.install_update}</button> |
| 70 | <button class="refreshPackages" type="button">${bundles.refreshPkg}</button> |
Felix Meschberger | 63d692a | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 71 | </div> |
| 72 | </form> |
| 73 | |
| 74 | <table id="plugin_table" class="tablesorter nicetable noauto"> |
| 75 | <thead> |
| 76 | <tr> |
| 77 | <th class="col_Id">${id}</th> |
| 78 | <th class="col_Name">${bundles.name}</th> |
| 79 | <th class="col_Version">${version}</th> |
Valentin Valchev | 8d9f103 | 2010-03-19 07:54:14 +0000 | [diff] [blame] | 80 | <th class="col_Symbolic_Name">${bundles.category}</th> |
Felix Meschberger | 63d692a | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 81 | <th class="col_Status">${bundles.status}</th> |
| 82 | <th class="col_Actions">${bundles.actions}</th> |
| 83 | </tr> |
| 84 | </thead> |
| 85 | <tbody> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 86 | <tr><!-- template --> |
| 87 | <td> </td><!-- ID --> |
| 88 | <td> |
Valentin Valchev | 16bef4a | 2010-04-15 08:45:47 +0000 | [diff] [blame] | 89 | <div class="bIcon ui-icon ui-icon-triangle-1-e" title="Show Details"> </div> |
| 90 | <div class="bName"> </div> <!-- here goest bundle name/link --> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 91 | </td> |
| 92 | <td> </td><!-- version --> |
| 93 | <td> </td><!-- symbolic name --> |
| 94 | <td> </td><!-- status --> |
| 95 | <td><!-- actions --> |
| 96 | <ul class="icons ui-widget"> |
| 97 | <li class="dynhover" title="${start}"><span class="ui-icon ui-icon-play"> </span></li> |
| 98 | <li class="dynhover" title="${stop}"><span class="ui-icon ui-icon-stop"> </span></li> |
| 99 | <li class="dynhover" title="${bundles.refreshImports}"><span class="ui-icon ui-icon-refresh"> </span></li> |
| 100 | <li class="dynhover" title="${bundles.update}"><span class="ui-icon ui-icon-transferthick-e-w"> </span></li> |
| 101 | <li class="dynhover" title="${bundles.uninstall}"><span class="ui-icon ui-icon-trash"> </span></li> |
| 102 | </ul> |
| 103 | </td> |
| 104 | </tr> |
Felix Meschberger | 63d692a | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 105 | </tbody> |
| 106 | </table> |
| 107 | |
| 108 | <!-- bottom header --> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 109 | <form method="post" enctype="multipart/form-data" action="" class="filterForm"> |
Felix Meschberger | 63d692a | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 110 | <div class="ui-widget-header ui-corner-bottom buttonGroup"> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 111 | <div class="filterBox"> |
Valentin Valchev | 8d9f103 | 2010-03-19 07:54:14 +0000 | [diff] [blame] | 112 | <input class="filter" value="" title="${bundles.filter.help}" /> |
| 113 | <span class="filterClear ui-icon ui-icon-close" title="${bundles.filter.clear}"> </span> |
| 114 | <button class="filterApply" title="${bundles.filter.help}">${bundles.filter.apply}</button> |
| 115 | <button class="filterLDAP" title="${bundles.filter.ldap.tip}">${bundles.filter.ldap}</button> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 116 | </div> |
Valentin Valchev | 8d9f103 | 2010-03-19 07:54:14 +0000 | [diff] [blame] | 117 | <button class="reloadButton" type="button">${reload}</button> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 118 | <button class="installButton" type="button">${bundles.install_update}</button> |
| 119 | <button class="refreshPackages" type="button">${bundles.refreshPkg}</button> |
Felix Meschberger | 63d692a | 2010-02-18 15:29:39 +0000 | [diff] [blame] | 120 | </div> |
| 121 | </form> |
| 122 | |
| 123 | <!-- status line --> |
| 124 | <p class="statline"> </p> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 125 | |
| 126 | <div id="uploadDialog" class="ui-helper-hidden" title="${bundles.upload.caption}"> |
| 127 | <form method="post" enctype="multipart/form-data" action="${pluginRoot}"> |
| 128 | <table class="nicetable"> |
| 129 | <tr> |
| 130 | <td style="text-align:right">${bundles.upload.start}</td> |
| 131 | <td> |
| 132 | <input type="hidden" name="action" value="install"/> |
| 133 | <input type="checkbox" name="bundlestart" value="start"/> |
| 134 | </td> |
| 135 | </tr> |
Carsten Ziegeler | b983182 | 2013-01-30 19:12:30 +0000 | [diff] [blame] | 136 | <tr> |
| 137 | <td style="text-align:right">${bundles.refreshPkg}</td> |
| 138 | <td> |
| 139 | <input type="checkbox" name="refreshPackages" value="refresh"/> |
| 140 | </td> |
| 141 | </tr> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 142 | <tr> |
| 143 | <td style="text-align:right">${bundles.upload.level}</td> |
| 144 | <td><input type="text" name="bundlestartlevel" id="bundlestartlevel" value="${startLevel}" size="4"/></td> |
| 145 | </tr> |
| 146 | <tr> |
| 147 | <td> </td> |
| 148 | <td> |
Felix Meschberger | 6779d90 | 2010-09-24 19:03:19 +0000 | [diff] [blame] | 149 | <input class="multi" accept="jar|war" type="file" name="bundlefile" /> |
Valentin Valchev | ce0a432 | 2010-03-17 08:13:39 +0000 | [diff] [blame] | 150 | </td> |
| 151 | </tr> |
| 152 | </table> |
| 153 | </form> |
| 154 | </div> |
Valentin Valchev | 984d466 | 2010-04-13 11:01:11 +0000 | [diff] [blame] | 155 | |
| 156 | <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] | 157 | <div id="bundleOpSuccess" class="ui-helper-hidden" title="${bundles.success.title}">${bundles.success.text}</div> |