blob: 4221f30491ce20ae3e3b7ad7f0d3d4819216e66c [file] [log] [blame]
Felix Meschberger63d692a2010-02-18 15:29:39 +00001<script type="text/javascript" src="${appRoot}/res/ui/bundles.js"></script>
2<script type="text/javascript">
3// <![CDATA[
4var startLevel = ${startLevel};
5var drawDetails = ${drawDetails};
6var currentBundle = ${currentBundle};
7var __bundles__ = ${__bundles__};
8var 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">&nbsp;</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">&nbsp;</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">&nbsp;</p>