blob: 4a3d7f166f236424c7fe7d6ffc55815fed67d5cb [file] [log] [blame]
Carsten Ziegeler4e070fe2010-03-10 16:41:53 +00001<script type="text/javascript" src="res/ui/config.js"></script>
Felix Meschberger62e1a4f2010-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 Ziegeler4e070fe2010-03-10 16:41:53 +000013 abort : '${abort}',
Felix Meschberger62e1a4f2010-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: ";
Carsten Ziegeler4e070fe2010-03-10 16:41:53 +000026 unbind_ask : '${config.unbind.ask}' // "Are you sure to unbind this configuration ?"
Felix Meschberger62e1a4f2010-02-18 15:36:53 +000027}
28// ]]>
29</script>
30
31<!-- status line -->
32<p class="statline">&nbsp;</p>
33
Carsten Ziegeler4e070fe2010-03-10 16:41:53 +000034
35<div id="configContent" >
36 <div id="fPidsSelect" class="ui-widget-header ui-corner-top buttonGroup">
37 ${config.configurations.title}
38 </div>
39 <table class="tablesorter nicetable noauto">
40 <thead>
41 <tr>
Carsten Ziegeler4e070fe2010-03-10 16:41:53 +000042 <th class="col_Name">Name</th>
Felix Meschberger1206e2c2010-03-13 15:09:51 +000043 <th class="col_FPID">Factory PID</th>
Carsten Ziegeler4e070fe2010-03-10 16:41:53 +000044 <th class="col_Binding">Bundle</th>
45 <th class="col_Actions" style="width: 7em">Actions</th>
46 </tr>
47 </thead>
48 <tbody>
49 <tr>
Carsten Ziegeler4e070fe2010-03-10 16:41:53 +000050 <td class="pointer">&nbsp;</td>
51 <td>&nbsp;</td>
Felix Meschberger1206e2c2010-03-13 15:09:51 +000052 <td>&nbsp;</td>
Carsten Ziegeler4e070fe2010-03-10 16:41:53 +000053 <td>
54 <ul class="icons">
55 <li class="dynhover" title="${config.edit.tip}"><span class="ui-icon ui-icon-pencil">&nbsp;</span></li>
56 <li class="ui-state-disabled dynhover" title="${config.unbind.tip}"><span class="ui-icon ui-icon-transferthick-e-w">&nbsp;</span></li>
57 <li class="dynhover" title="${delete}"><span class="ui-icon ui-icon-trash">&nbsp;</span></li>
58 </ul>
59 </td>
60 </tr>
61 </tbody>
62 </table>
63
64 <div id="factoryTableCaption" class="ui-widget-header ui-corner-top buttonGroup">
65 ${config.factories.title}
66 </div>
67 <table class="tablesorter nicetable noauto">
68 <thead>
69 <tr>
Carsten Ziegeler4e070fe2010-03-10 16:41:53 +000070 <th class="col_Name">Name</th>
Felix Meschberger1206e2c2010-03-13 15:09:51 +000071 <th class="col_FPID">Factory PID</th>
Carsten Ziegeler4e070fe2010-03-10 16:41:53 +000072 <th class="col_Actions" style="width: 7em">Actions</th>
73 </tr>
74 </thead>
75 <tbody>
76 <tr>
Carsten Ziegeler4e070fe2010-03-10 16:41:53 +000077 <td class="pointer">&nbsp;</td>
Felix Meschberger1206e2c2010-03-13 15:09:51 +000078 <td>&nbsp;</td>
Carsten Ziegeler4e070fe2010-03-10 16:41:53 +000079 <td>
80 <ul class="icons">
81 <li class="dynhover" title="${config.create.tip}"><span class="ui-icon ui-icon-plusthick">&nbsp;</span></li>
82 </ul>
83 </td>
84 </tr>
85 </tbody>
86 </table>
87
88</div>
89
90<!-- placeholder for property editor -->
91<div id="editor" class="ui-helper-hidden">
92 <table id="editorTable" class="nicetable">
93 <tr><td>&nbsp;</td></tr>
Felix Meschberger62e1a4f2010-02-18 15:36:53 +000094 </table>
95</div>