blob: 6c4b3d2813526719fac2dee5256395e4c384389e [file] [log] [blame]
Felix Meschberger62e1a4f2010-02-18 15:36:53 +00001<script type="text/javascript" src="res/ui/config.js"></script>
2<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}',
13 props_title : '${config.properties}',
14 props_enter : '${config.properties.enter}', // "Enter Name-Value pairs of configuration properties"
15 cfg_title : '${config.info.title}', // "Configuration Information"
16 pid : '${config.info.pid}', // "Persistent Identity (PID)";
17 fpid : '${config.info.fpid}', // "Factory Peristent Identifier (Factory PID)";
18 binding : '${config.info.binding}', // "Configuration Binding";
19 unbound : '${config.info.unbound}', // "Unbound or new configuration";
20 unbind_btn : '${config.unbind.btn}', // "Unbind;
21 unbind_tip : '${config.unbind.tip}', // "Unbind Configuration from Bundle"
22 del_ask : '${config.del.ask}', // "Are you sure to delete this configuration ?";
23 del_config : '${config.del.config}', // "Configuration: ";
24 del_bundle : '${config.del.bundle}', // "Bundle: ";
25 unbind_ask : '${config.unbind.ask}', // "Are you sure to unbind this configuration ?"
26 'xx' : '${config.form.properties}',
27 'xx' : '${config.form.properties}',
28
29}
30// ]]>
31</script>
32
33<!-- status line -->
34<p class="statline">&nbsp;</p>
35
36<div id="config_content" >
37 <table class="nicetable">
38 <tr id="configField">
39 <td>Configurations</td>
40 <td>
41 <select name="pid" id="configSelection_pid" onchange="configure();">
42 <option>&nbsp;</option>
43 </select>
44 &nbsp;
45 <button onclick="configure();">Configure</button>
46 </td>
47 </tr>
48 <tr id="factoryField">
49 <td>Factory Configurations</td>
50 <td>
51 <select name="pid" id="configSelection_factory" onchange="create();">
52 <option>&nbsp;</option>
53 </select>
54 &nbsp;
55 <button onclick="create();">Create</button>
56 </td>
57 </tr>
58 </table>
59</div>