blob: 1934d43e3d1f55385e075c7d232f59bb57f8c079 [file] [log] [blame]
Felix Meschberger7beed112010-06-25 08:10:24 +00001<script type="text/javascript" src="${appRoot}/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: ";
Valentin Valchevde160882010-03-22 09:30:38 +000026 unbind_ask : '${config.unbind.ask}', // "Are you sure to unbind this configuration ?"
27 err_bind : '${config.bind.error}' // Error: the PID'{0}' is bound to '{1}' but the actual managed service is registered from '{2}' bundle
Felix Meschberger27870e82012-12-28 15:19:38 +000028};
29var param = { // param
30 apply : '${param.apply}',
31 create : '${param.create}',
32 unbind : '${param.unbind}',
33 dele : '${param.delete}',
34 propertylist : '${param.propertylist}',
35 pidFilter : '${param.pidFilter}'
36};
Felix Meschbergerb812b2e2010-02-18 15:36:53 +000037// ]]>
38</script>
39
40<!-- status line -->
41<p class="statline">&nbsp;</p>
42
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000043
44<div id="configContent" >
45 <div id="fPidsSelect" class="ui-widget-header ui-corner-top buttonGroup">
46 ${config.configurations.title}
47 </div>
Felix Meschberger67726fe2010-03-17 06:55:00 +000048 <table id="configTable" class="tablesorter nicetable noauto">
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000049 <thead>
50 <tr>
Felix Meschberger67726fe2010-03-17 06:55:00 +000051 <th class="col_Name">${config.title.name}</th>
52 <th class="col_Binding">${config.title.bundle}</th>
53 <th class="col_Actions">${config.title.actions}</th>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000054 </tr>
55 </thead>
56 <tbody>
57 <tr>
Valentin Valchev0fc8b7b2010-04-15 12:33:58 +000058 <td class="pointer"><div class="ui-icon ui-icon-triangle-1-e subpid">&nbsp;</div></td>
Felix Meschberger1e671e12010-03-13 15:09:51 +000059 <td>&nbsp;</td>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000060 <td>
61 <ul class="icons">
62 <li class="dynhover" title="${config.edit.tip}"><span class="ui-icon ui-icon-pencil">&nbsp;</span></li>
63 <li class="ui-state-disabled dynhover" title="${config.unbind.tip}"><span class="ui-icon ui-icon-transferthick-e-w">&nbsp;</span></li>
64 <li class="dynhover" title="${delete}"><span class="ui-icon ui-icon-trash">&nbsp;</span></li>
65 </ul>
66 </td>
67 </tr>
Felix Meschberger67726fe2010-03-17 06:55:00 +000068 <tr class="fpid">
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000069 <td class="pointer">&nbsp;</td>
Felix Meschberger67726fe2010-03-17 06:55:00 +000070 <td>-</td>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000071 <td>
72 <ul class="icons">
73 <li class="dynhover" title="${config.create.tip}"><span class="ui-icon ui-icon-plusthick">&nbsp;</span></li>
74 </ul>
75 </td>
76 </tr>
77 </tbody>
78 </table>
79
80</div>
81
82<!-- placeholder for property editor -->
83<div id="editor" class="ui-helper-hidden">
Valentin Valchevde160882010-03-22 09:30:38 +000084 <p class="ui-state-error ui-helper-hidden">&nbsp;</p>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000085 <table id="editorTable" class="nicetable">
86 <tr><td>&nbsp;</td></tr>
Felix Meschbergerb812b2e2010-02-18 15:36:53 +000087 </table>
88</div>