blob: e357fe5a247802855f7a16be8bc7a0c205c4a4f6 [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 ?"
Valentin Valchevf7fe52e2014-11-17 13:07:24 +000027 dflt_value : '${config.property.default.value}', // "Note, that this property is not set. The above field contains is the *default value* specified in the Meta Type service"
28 opt_value : '${config.property.optional.value}', // "This attribute is optional. To save it in the current configuration you must check it. To remove it from the configuration uncheck the checkbox."
Valentin Valchevde160882010-03-22 09:30:38 +000029 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 +000030};
31var param = { // param
32 apply : '${param.apply}',
33 create : '${param.create}',
34 unbind : '${param.unbind}',
35 dele : '${param.delete}',
36 propertylist : '${param.propertylist}',
37 pidFilter : '${param.pidFilter}'
38};
Felix Meschbergerb812b2e2010-02-18 15:36:53 +000039// ]]>
40</script>
41
42<!-- status line -->
43<p class="statline">&nbsp;</p>
44
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000045
46<div id="configContent" >
47 <div id="fPidsSelect" class="ui-widget-header ui-corner-top buttonGroup">
48 ${config.configurations.title}
49 </div>
Felix Meschberger67726fe2010-03-17 06:55:00 +000050 <table id="configTable" class="tablesorter nicetable noauto">
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000051 <thead>
52 <tr>
Valentin Valchev7c4a80f2014-12-03 12:51:09 +000053 <th class="col_Exists">${config.title.exists}</th>
Felix Meschberger67726fe2010-03-17 06:55:00 +000054 <th class="col_Name">${config.title.name}</th>
55 <th class="col_Binding">${config.title.bundle}</th>
56 <th class="col_Actions">${config.title.actions}</th>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000057 </tr>
58 </thead>
59 <tbody>
60 <tr>
Valentin Valchev7c4a80f2014-12-03 12:51:09 +000061 <td class="col_Exists_body" title="${config.title.exists.tip}"><div class="ui-icon ui-icon-check">&nbsp;</div></td>
Valentin Valchev0fc8b7b2010-04-15 12:33:58 +000062 <td class="pointer"><div class="ui-icon ui-icon-triangle-1-e subpid">&nbsp;</div></td>
Felix Meschberger1e671e12010-03-13 15:09:51 +000063 <td>&nbsp;</td>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000064 <td>
65 <ul class="icons">
66 <li class="dynhover" title="${config.edit.tip}"><span class="ui-icon ui-icon-pencil">&nbsp;</span></li>
67 <li class="ui-state-disabled dynhover" title="${config.unbind.tip}"><span class="ui-icon ui-icon-transferthick-e-w">&nbsp;</span></li>
68 <li class="dynhover" title="${delete}"><span class="ui-icon ui-icon-trash">&nbsp;</span></li>
69 </ul>
70 </td>
71 </tr>
Felix Meschberger67726fe2010-03-17 06:55:00 +000072 <tr class="fpid">
Valentin Valchev7c4a80f2014-12-03 12:51:09 +000073 <td>&nbsp;</td>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000074 <td class="pointer">&nbsp;</td>
Felix Meschberger67726fe2010-03-17 06:55:00 +000075 <td>-</td>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000076 <td>
77 <ul class="icons">
78 <li class="dynhover" title="${config.create.tip}"><span class="ui-icon ui-icon-plusthick">&nbsp;</span></li>
79 </ul>
80 </td>
81 </tr>
82 </tbody>
83 </table>
84
85</div>
86
87<!-- placeholder for property editor -->
88<div id="editor" class="ui-helper-hidden">
Valentin Valchevde160882010-03-22 09:30:38 +000089 <p class="ui-state-error ui-helper-hidden">&nbsp;</p>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000090 <table id="editorTable" class="nicetable">
91 <tr><td>&nbsp;</td></tr>
Felix Meschbergerb812b2e2010-02-18 15:36:53 +000092 </table>
93</div>