blob: bba09c0cd2b263f149082365484d804c5b95047c [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}';
Valentin Valchev6cc663f2015-09-11 12:26:00 +00007var factoryCreate = ${factoryCreate};
Felix Meschbergerb812b2e2010-02-18 15:36:53 +00008var i18n = { // i18n
9 stat_ok : '${config.status.ok}', // "Configuration Admin Service is running.";
10 stat_missing : '${config.status.missing}', //"Configuration Admin Service is not installed/running."
11 save : '${save}',
12 reset : '${reset}',
13 del : '${delete}',
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000014 abort : '${abort}',
Felix Meschbergerb812b2e2010-02-18 15:36:53 +000015 props_title : '${config.properties}',
16 props_enter : '${config.properties.enter}', // "Enter Name-Value pairs of configuration properties"
17 cfg_title : '${config.info.title}', // "Configuration Information"
18 pid : '${config.info.pid}', // "Persistent Identity (PID)";
19 fpid : '${config.info.fpid}', // "Factory Peristent Identifier (Factory PID)";
20 binding : '${config.info.binding}', // "Configuration Binding";
21 unbound : '${config.info.unbound}', // "Unbound or new configuration";
22 unbind_btn : '${config.unbind.btn}', // "Unbind;
23 unbind_tip : '${config.unbind.tip}', // "Unbind Configuration from Bundle"
24 del_ask : '${config.del.ask}', // "Are you sure to delete this configuration ?";
25 del_config : '${config.del.config}', // "Configuration: ";
26 del_bundle : '${config.del.bundle}', // "Bundle: ";
Valentin Valchevde160882010-03-22 09:30:38 +000027 unbind_ask : '${config.unbind.ask}', // "Are you sure to unbind this configuration ?"
Valentin Valchevf7fe52e2014-11-17 13:07:24 +000028 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"
29 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 +000030 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 +000031};
32var param = { // param
33 apply : '${param.apply}',
34 create : '${param.create}',
35 unbind : '${param.unbind}',
36 dele : '${param.delete}',
37 propertylist : '${param.propertylist}',
38 pidFilter : '${param.pidFilter}'
39};
Felix Meschbergerb812b2e2010-02-18 15:36:53 +000040// ]]>
41</script>
42
43<!-- status line -->
44<p class="statline">&nbsp;</p>
45
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000046
47<div id="configContent" >
48 <div id="fPidsSelect" class="ui-widget-header ui-corner-top buttonGroup">
49 ${config.configurations.title}
50 </div>
Felix Meschberger67726fe2010-03-17 06:55:00 +000051 <table id="configTable" class="tablesorter nicetable noauto">
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000052 <thead>
53 <tr>
Valentin Valchev7c4a80f2014-12-03 12:51:09 +000054 <th class="col_Exists">${config.title.exists}</th>
Felix Meschberger67726fe2010-03-17 06:55:00 +000055 <th class="col_Name">${config.title.name}</th>
56 <th class="col_Binding">${config.title.bundle}</th>
57 <th class="col_Actions">${config.title.actions}</th>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000058 </tr>
59 </thead>
60 <tbody>
61 <tr>
Valentin Valchev7c4a80f2014-12-03 12:51:09 +000062 <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 +000063 <td class="pointer"><div class="ui-icon ui-icon-triangle-1-e subpid">&nbsp;</div></td>
Felix Meschberger1e671e12010-03-13 15:09:51 +000064 <td>&nbsp;</td>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000065 <td>
66 <ul class="icons">
67 <li class="dynhover" title="${config.edit.tip}"><span class="ui-icon ui-icon-pencil">&nbsp;</span></li>
68 <li class="ui-state-disabled dynhover" title="${config.unbind.tip}"><span class="ui-icon ui-icon-transferthick-e-w">&nbsp;</span></li>
69 <li class="dynhover" title="${delete}"><span class="ui-icon ui-icon-trash">&nbsp;</span></li>
70 </ul>
71 </td>
72 </tr>
Felix Meschberger67726fe2010-03-17 06:55:00 +000073 <tr class="fpid">
Valentin Valchev7c4a80f2014-12-03 12:51:09 +000074 <td>&nbsp;</td>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000075 <td class="pointer">&nbsp;</td>
Felix Meschberger67726fe2010-03-17 06:55:00 +000076 <td>-</td>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000077 <td>
78 <ul class="icons">
79 <li class="dynhover" title="${config.create.tip}"><span class="ui-icon ui-icon-plusthick">&nbsp;</span></li>
80 </ul>
81 </td>
82 </tr>
83 </tbody>
84 </table>
85
86</div>
87
88<!-- placeholder for property editor -->
89<div id="editor" class="ui-helper-hidden">
Valentin Valchevde160882010-03-22 09:30:38 +000090 <p class="ui-state-error ui-helper-hidden">&nbsp;</p>
Carsten Ziegeler149faaa2010-03-10 16:41:53 +000091 <table id="editorTable" class="nicetable">
92 <tr><td>&nbsp;</td></tr>
Felix Meschbergerb812b2e2010-02-18 15:36:53 +000093 </table>
94</div>