blob: a62da401a6deb5bd4971ed49681935fbef8c485a [file] [log] [blame]
Valentin Valchevce0a4322010-03-17 08:13:39 +00001<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 Meschberger63d692a2010-02-18 15:29:39 +00003<script type="text/javascript">
4// <![CDATA[
5var startLevel = ${startLevel};
6var drawDetails = ${drawDetails};
7var currentBundle = ${currentBundle};
Valentin Valchevce0a4322010-03-17 08:13:39 +00008var lastBundleData = ${__bundles__};
Felix Meschberger63d692a2010-02-18 15:29:39 +00009var 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 Valchevce0a4322010-03-17 08:13:39 +000034 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 Meschberger63d692a2010-02-18 15:29:39 +000046}
47// ]]>
48</script>
49
50<!-- status line -->
51<p class="statline">&nbsp;</p>
52
53<!-- top header -->
Valentin Valchevce0a4322010-03-17 08:13:39 +000054<form method="post" enctype="multipart/form-data" action="" class="filterForm">
Felix Meschberger63d692a2010-02-18 15:29:39 +000055 <div class="ui-widget-header ui-corner-top buttonGroup">
Valentin Valchevce0a4322010-03-17 08:13:39 +000056 <div class="filterBox">
57 <input class="filter" value="^Apache" title="${bundles.filter.help}" />
58 <button class="filterApply" type="button">${bundles.filter.apply}</button>
59 <button class="filterClear" type="button">${bundles.filter.clear}</button>
60 </div>
61 <button class="reloadButton" type="button" style="margin-left: 60px;">${reload}</button>
62 <button class="installButton" type="button">${bundles.install_update}</button>
63 <button class="refreshPackages" type="button">${bundles.refreshPkg}</button>
Felix Meschberger63d692a2010-02-18 15:29:39 +000064 </div>
65</form>
66
67<table id="plugin_table" class="tablesorter nicetable noauto">
68 <thead>
69 <tr>
70 <th class="col_Id">${id}</th>
71 <th class="col_Name">${bundles.name}</th>
72 <th class="col_Version">${version}</th>
73 <th class="col_Symbolic_Name">${bundles.name.symb}</th>
74 <th class="col_Status">${bundles.status}</th>
75 <th class="col_Actions">${bundles.actions}</th>
76 </tr>
77 </thead>
78 <tbody>
Valentin Valchevce0a4322010-03-17 08:13:39 +000079 <tr><!-- template -->
80 <td>&nbsp;</td><!-- ID -->
81 <td>
82 <span class="ui-icon ui-icon-triangle-1-e" style="display: inline-block" title="Show Details">&nbsp;</span>
83 <span>&nbsp;</span> <!-- here goest bundle name/link -->
84 </td>
85 <td>&nbsp;</td><!-- version -->
86 <td>&nbsp;</td><!-- symbolic name -->
87 <td>&nbsp;</td><!-- status -->
88 <td><!-- actions -->
89 <ul class="icons ui-widget">
90 <li class="dynhover" title="${start}"><span class="ui-icon ui-icon-play">&nbsp;</span></li>
91 <li class="dynhover" title="${stop}"><span class="ui-icon ui-icon-stop">&nbsp;</span></li>
92 <li class="dynhover" title="${bundles.refreshImports}"><span class="ui-icon ui-icon-refresh">&nbsp;</span></li>
93 <li class="dynhover" title="${bundles.update}"><span class="ui-icon ui-icon-transferthick-e-w">&nbsp;</span></li>
94 <li class="dynhover" title="${bundles.uninstall}"><span class="ui-icon ui-icon-trash">&nbsp;</span></li>
95 </ul>
96 </td>
97 </tr>
Felix Meschberger63d692a2010-02-18 15:29:39 +000098 </tbody>
99</table>
100
101<!-- bottom header -->
Valentin Valchevce0a4322010-03-17 08:13:39 +0000102<form method="post" enctype="multipart/form-data" action="" class="filterForm">
Felix Meschberger63d692a2010-02-18 15:29:39 +0000103 <div class="ui-widget-header ui-corner-bottom buttonGroup">
Valentin Valchevce0a4322010-03-17 08:13:39 +0000104 <div class="filterBox">
105 <input class="filter" value="^Apache" title="${bundles.filter.help}" />
106 <button class="filterApply" type="button">${bundles.filter.apply}</button>
107 <button class="filterClear" type="button">${bundles.filter.clear}</button>
108 </div>
109 <button class="reloadButton" type="button" style="margin-left: 60px;">${reload}</button>
110 <button class="installButton" type="button">${bundles.install_update}</button>
111 <button class="refreshPackages" type="button">${bundles.refreshPkg}</button>
Felix Meschberger63d692a2010-02-18 15:29:39 +0000112 </div>
113</form>
114
115<!-- status line -->
116<p class="statline">&nbsp;</p>
Valentin Valchevce0a4322010-03-17 08:13:39 +0000117
118<div id="uploadDialog" class="ui-helper-hidden" title="${bundles.upload.caption}">
119 <form method="post" enctype="multipart/form-data" action="${pluginRoot}">
120 <table class="nicetable">
121 <tr>
122 <td style="text-align:right">${bundles.upload.start}</td>
123 <td>
124 <input type="hidden" name="action" value="install"/>
125 <input type="checkbox" name="bundlestart" value="start"/>
126 </td>
127 </tr>
128 <tr>
129 <td style="text-align:right">${bundles.upload.level}</td>
130 <td><input type="text" name="bundlestartlevel" id="bundlestartlevel" value="${startLevel}" size="4"/></td>
131 </tr>
132 <tr>
133 <td>&nbsp;</td>
134 <td>
135 <input class="multi" accept="jar" type="file" name="bundlefile" />
136 </td>
137 </tr>
138 </table>
139 </form>
140</div>