blob: a013e334398923a952a8a75e1433382fc20e9ac8 [file] [log] [blame]
Carsten Ziegeler149faaa2010-03-10 16:41:53 +00001<script type="text/javascript" src="res/ui/config.js"></script>
Felix Meschbergerb812b2e2010-02-18 15:36:53 +00002<script type="text/javascript">
3// <![CDATA[
4// data
5var configData = ${__data__};
6var selectedPid = '${selectedPid}';
7var i18n = { // i18n
8 stat_ok : '${config.status.ok}', // "Configuration Admin Service is running.";
9 stat_missing : '${config.status.missing}', //"Configuration Admin Service is not installed/running."
10 save : '${save}',
11 reset : '${reset}',
12 del : '${delete}',
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000013 abort : '${abort}',
Felix Meschbergerb812b2e2010-02-18 15:36:53 +000014 props_title : '${config.properties}',
15 props_enter : '${config.properties.enter}', // "Enter Name-Value pairs of configuration properties"
16 cfg_title : '${config.info.title}', // "Configuration Information"
17 pid : '${config.info.pid}', // "Persistent Identity (PID)";
18 fpid : '${config.info.fpid}', // "Factory Peristent Identifier (Factory PID)";
19 binding : '${config.info.binding}', // "Configuration Binding";
20 unbound : '${config.info.unbound}', // "Unbound or new configuration";
21 unbind_btn : '${config.unbind.btn}', // "Unbind;
22 unbind_tip : '${config.unbind.tip}', // "Unbind Configuration from Bundle"
23 del_ask : '${config.del.ask}', // "Are you sure to delete this configuration ?";
24 del_config : '${config.del.config}', // "Configuration: ";
25 del_bundle : '${config.del.bundle}', // "Bundle: ";
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000026 unbind_ask : '${config.unbind.ask}' // "Are you sure to unbind this configuration ?"
Felix Meschbergerb812b2e2010-02-18 15:36:53 +000027}
28// ]]>
29</script>
30
31<!-- status line -->
32<p class="statline">&nbsp;</p>
33
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000034
35<div id="configContent" >
36 <div id="fPidsSelect" class="ui-widget-header ui-corner-top buttonGroup">
37 ${config.configurations.title}
38 </div>
Felix Meschberger67726fe2010-03-17 06:55:00 +000039 <table id="configTable" class="tablesorter nicetable noauto">
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000040 <thead>
41 <tr>
Felix Meschberger67726fe2010-03-17 06:55:00 +000042 <th class="col_Name">${config.title.name}</th>
43 <th class="col_Binding">${config.title.bundle}</th>
44 <th class="col_Actions">${config.title.actions}</th>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000045 </tr>
46 </thead>
47 <tbody>
48 <tr>
Felix Meschberger67726fe2010-03-17 06:55:00 +000049 <td class="pointer"><span class="ui-icon ui-icon-triangle-1-e subpid">&nbsp;</span></td>
Felix Meschberger1e671e12010-03-13 15:09:51 +000050 <td>&nbsp;</td>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000051 <td>
52 <ul class="icons">
53 <li class="dynhover" title="${config.edit.tip}"><span class="ui-icon ui-icon-pencil">&nbsp;</span></li>
54 <li class="ui-state-disabled dynhover" title="${config.unbind.tip}"><span class="ui-icon ui-icon-transferthick-e-w">&nbsp;</span></li>
55 <li class="dynhover" title="${delete}"><span class="ui-icon ui-icon-trash">&nbsp;</span></li>
56 </ul>
57 </td>
58 </tr>
Felix Meschberger67726fe2010-03-17 06:55:00 +000059 <tr class="fpid">
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000060 <td class="pointer">&nbsp;</td>
Felix Meschberger67726fe2010-03-17 06:55:00 +000061 <td>-</td>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000062 <td>
63 <ul class="icons">
64 <li class="dynhover" title="${config.create.tip}"><span class="ui-icon ui-icon-plusthick">&nbsp;</span></li>
65 </ul>
66 </td>
67 </tr>
68 </tbody>
69 </table>
70
71</div>
72
73<!-- placeholder for property editor -->
74<div id="editor" class="ui-helper-hidden">
75 <table id="editorTable" class="nicetable">
76 <tr><td>&nbsp;</td></tr>
Felix Meschbergerb812b2e2010-02-18 15:36:53 +000077 </table>
78</div>