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