blob: 0a2a571dcc9cbcf4bcef8d5903a92db7e78a6c09 [file] [log] [blame]
Carsten Ziegeler322d8742013-01-30 15:56:09 +00001<script type="text/javascript" src="${appRoot}/res/lib/jquery.multifile-1.4.6.js"></script>
Valentin Valchevce0a4322010-03-17 08:13:39 +00002<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 //
Carsten Ziegeler322d8742013-01-30 15:56:09 +000034 statlinePrefix : '${bundles.statline.prefix}',
35 statlineAll : '${bundles.statline.all}',
Carsten Ziegeler74534212013-01-30 18:15:30 +000036 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 Valchevce0a4322010-03-17 08:13:39 +000041 install_update : '${bundles.install_or_update}',
Valentin Valchev7032d352015-03-10 08:35:19 +000042 filterNoMatch : '${bundles.filter.no_match}',
Valentin Valchevce0a4322010-03-17 08:13:39 +000043 state : {
44 1 : '${bundles.state.1}', // uninstalled
45 2 : '${bundles.state.2}', // installed
46 4 : '${bundles.state.4}', // resolved
47 8 : '${bundles.state.8}', // starting
48 16 : '${bundles.state.16}', // stopping
49 32 : '${bundles.state.32}', // active
50 'unknown' : '${bundles.state.unknown}', // Unknown State: {0}
51 'fragment' : '${bundles.state.fragment}' // Fragment
52 }
Felix Meschberger63d692a2010-02-18 15:29:39 +000053}
54// ]]>
55</script>
56
57<!-- status line -->
58<p class="statline">&nbsp;</p>
59
60<!-- top header -->
Valentin Valchevce0a4322010-03-17 08:13:39 +000061<form method="post" enctype="multipart/form-data" action="" class="filterForm">
Felix Meschberger63d692a2010-02-18 15:29:39 +000062 <div class="ui-widget-header ui-corner-top buttonGroup">
Valentin Valchevce0a4322010-03-17 08:13:39 +000063 <div class="filterBox">
Valentin Valchev8d9f1032010-03-19 07:54:14 +000064 <input class="filter" value="" title="${bundles.filter.help}" />
65 <span class="filterClear ui-icon ui-icon-close" title="${bundles.filter.clear}">&nbsp;</span>
66 <button class="filterApply" title="${bundles.filter.help}">${bundles.filter.apply}</button>
67 <button class="filterLDAP" title="${bundles.filter.ldap.tip}">${bundles.filter.ldap}</button>
Valentin Valchevce0a4322010-03-17 08:13:39 +000068 </div>
Valentin Valchev8d9f1032010-03-19 07:54:14 +000069 <button class="reloadButton" type="button">${reload}</button>
Valentin Valchevce0a4322010-03-17 08:13:39 +000070 <button class="installButton" type="button">${bundles.install_update}</button>
71 <button class="refreshPackages" type="button">${bundles.refreshPkg}</button>
Felix Meschberger63d692a2010-02-18 15:29:39 +000072 </div>
73</form>
74
75<table id="plugin_table" class="tablesorter nicetable noauto">
76 <thead>
77 <tr>
78 <th class="col_Id">${id}</th>
79 <th class="col_Name">${bundles.name}</th>
80 <th class="col_Version">${version}</th>
Valentin Valchev8d9f1032010-03-19 07:54:14 +000081 <th class="col_Symbolic_Name">${bundles.category}</th>
Felix Meschberger63d692a2010-02-18 15:29:39 +000082 <th class="col_Status">${bundles.status}</th>
83 <th class="col_Actions">${bundles.actions}</th>
84 </tr>
85 </thead>
86 <tbody>
Valentin Valchevce0a4322010-03-17 08:13:39 +000087 <tr><!-- template -->
88 <td>&nbsp;</td><!-- ID -->
89 <td>
Valentin Valchev16bef4a2010-04-15 08:45:47 +000090 <div class="bIcon ui-icon ui-icon-triangle-1-e" title="Show Details">&nbsp;</div>
91 <div class="bName">&nbsp;</div> <!-- here goest bundle name/link -->
Valentin Valchevce0a4322010-03-17 08:13:39 +000092 </td>
93 <td>&nbsp;</td><!-- version -->
94 <td>&nbsp;</td><!-- symbolic name -->
95 <td>&nbsp;</td><!-- status -->
96 <td><!-- actions -->
97 <ul class="icons ui-widget">
98 <li class="dynhover" title="${start}"><span class="ui-icon ui-icon-play">&nbsp;</span></li>
99 <li class="dynhover" title="${stop}"><span class="ui-icon ui-icon-stop">&nbsp;</span></li>
100 <li class="dynhover" title="${bundles.refreshImports}"><span class="ui-icon ui-icon-refresh">&nbsp;</span></li>
101 <li class="dynhover" title="${bundles.update}"><span class="ui-icon ui-icon-transferthick-e-w">&nbsp;</span></li>
102 <li class="dynhover" title="${bundles.uninstall}"><span class="ui-icon ui-icon-trash">&nbsp;</span></li>
103 </ul>
104 </td>
105 </tr>
Felix Meschberger63d692a2010-02-18 15:29:39 +0000106 </tbody>
107</table>
108
109<!-- bottom header -->
Valentin Valchevce0a4322010-03-17 08:13:39 +0000110<form method="post" enctype="multipart/form-data" action="" class="filterForm">
Felix Meschberger63d692a2010-02-18 15:29:39 +0000111 <div class="ui-widget-header ui-corner-bottom buttonGroup">
Valentin Valchevce0a4322010-03-17 08:13:39 +0000112 <div class="filterBox">
Valentin Valchev8d9f1032010-03-19 07:54:14 +0000113 <input class="filter" value="" title="${bundles.filter.help}" />
114 <span class="filterClear ui-icon ui-icon-close" title="${bundles.filter.clear}">&nbsp;</span>
115 <button class="filterApply" title="${bundles.filter.help}">${bundles.filter.apply}</button>
116 <button class="filterLDAP" title="${bundles.filter.ldap.tip}">${bundles.filter.ldap}</button>
Valentin Valchevce0a4322010-03-17 08:13:39 +0000117 </div>
Valentin Valchev8d9f1032010-03-19 07:54:14 +0000118 <button class="reloadButton" type="button">${reload}</button>
Valentin Valchevce0a4322010-03-17 08:13:39 +0000119 <button class="installButton" type="button">${bundles.install_update}</button>
120 <button class="refreshPackages" type="button">${bundles.refreshPkg}</button>
Felix Meschberger63d692a2010-02-18 15:29:39 +0000121 </div>
122</form>
123
124<!-- status line -->
125<p class="statline">&nbsp;</p>
Valentin Valchevce0a4322010-03-17 08:13:39 +0000126
127<div id="uploadDialog" class="ui-helper-hidden" title="${bundles.upload.caption}">
128 <form method="post" enctype="multipart/form-data" action="${pluginRoot}">
129 <table class="nicetable">
130 <tr>
131 <td style="text-align:right">${bundles.upload.start}</td>
132 <td>
133 <input type="hidden" name="action" value="install"/>
134 <input type="checkbox" name="bundlestart" value="start"/>
135 </td>
136 </tr>
Carsten Ziegelerb9831822013-01-30 19:12:30 +0000137 <tr>
138 <td style="text-align:right">${bundles.refreshPkg}</td>
139 <td>
140 <input type="checkbox" name="refreshPackages" value="refresh"/>
141 </td>
142 </tr>
Valentin Valchevce0a4322010-03-17 08:13:39 +0000143 <tr>
144 <td style="text-align:right">${bundles.upload.level}</td>
145 <td><input type="text" name="bundlestartlevel" id="bundlestartlevel" value="${startLevel}" size="4"/></td>
146 </tr>
147 <tr>
148 <td>&nbsp;</td>
149 <td>
Felix Meschberger6779d902010-09-24 19:03:19 +0000150 <input class="multi" accept="jar|war" type="file" name="bundlefile" />
Valentin Valchevce0a4322010-03-17 08:13:39 +0000151 </td>
152 </tr>
153 </table>
154 </form>
155</div>
Valentin Valchev984d4662010-04-13 11:01:11 +0000156
157<div id="bundleOpError" class="ui-helper-hidden" title="${bundles.error.title}"><pre>&nbsp;</pre></div>
Valentin Valchev46e3c9c2012-04-26 12:15:55 +0000158<div id="bundleOpSuccess" class="ui-helper-hidden" title="${bundles.success.title}">${bundles.success.text}</div>