Felix Meschberger | 7beed11 | 2010-06-25 08:10:24 +0000 | [diff] [blame] | 1 | <script type="text/javascript" src="${appRoot}/res/ui/config.js"></script> |
Felix Meschberger | b812b2e | 2010-02-18 15:36:53 +0000 | [diff] [blame] | 2 | <script type="text/javascript"> |
| 3 | // <![CDATA[ |
| 4 | // data |
| 5 | var configData = ${__data__}; |
| 6 | var selectedPid = '${selectedPid}'; |
Valentin Valchev | 0d0723d | 2015-09-16 12:45:21 +0000 | [diff] [blame^] | 7 | var configurationReferer = '${configurationReferer}'; |
Valentin Valchev | 6cc663f | 2015-09-11 12:26:00 +0000 | [diff] [blame] | 8 | var factoryCreate = ${factoryCreate}; |
Felix Meschberger | b812b2e | 2010-02-18 15:36:53 +0000 | [diff] [blame] | 9 | var 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 Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 15 | abort : '${abort}', |
Felix Meschberger | b812b2e | 2010-02-18 15:36:53 +0000 | [diff] [blame] | 16 | 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 Valchev | de16088 | 2010-03-22 09:30:38 +0000 | [diff] [blame] | 28 | unbind_ask : '${config.unbind.ask}', // "Are you sure to unbind this configuration ?" |
Valentin Valchev | f7fe52e | 2014-11-17 13:07:24 +0000 | [diff] [blame] | 29 | 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 Valchev | de16088 | 2010-03-22 09:30:38 +0000 | [diff] [blame] | 31 | err_bind : '${config.bind.error}' // Error: the PID'{0}' is bound to '{1}' but the actual managed service is registered from '{2}' bundle |
Felix Meschberger | 27870e8 | 2012-12-28 15:19:38 +0000 | [diff] [blame] | 32 | }; |
| 33 | var 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 Meschberger | b812b2e | 2010-02-18 15:36:53 +0000 | [diff] [blame] | 41 | // ]]> |
| 42 | </script> |
| 43 | |
| 44 | <!-- status line --> |
| 45 | <p class="statline"> </p> |
| 46 | |
Carsten Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 47 | |
| 48 | <div id="configContent" > |
| 49 | <div id="fPidsSelect" class="ui-widget-header ui-corner-top buttonGroup"> |
| 50 | ${config.configurations.title} |
| 51 | </div> |
Felix Meschberger | 67726fe | 2010-03-17 06:55:00 +0000 | [diff] [blame] | 52 | <table id="configTable" class="tablesorter nicetable noauto"> |
Carsten Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 53 | <thead> |
| 54 | <tr> |
Valentin Valchev | 7c4a80f | 2014-12-03 12:51:09 +0000 | [diff] [blame] | 55 | <th class="col_Exists">${config.title.exists}</th> |
Felix Meschberger | 67726fe | 2010-03-17 06:55:00 +0000 | [diff] [blame] | 56 | <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 Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 59 | </tr> |
| 60 | </thead> |
| 61 | <tbody> |
| 62 | <tr> |
Valentin Valchev | 7c4a80f | 2014-12-03 12:51:09 +0000 | [diff] [blame] | 63 | <td class="col_Exists_body" title="${config.title.exists.tip}"><div class="ui-icon ui-icon-check"> </div></td> |
Valentin Valchev | 0fc8b7b | 2010-04-15 12:33:58 +0000 | [diff] [blame] | 64 | <td class="pointer"><div class="ui-icon ui-icon-triangle-1-e subpid"> </div></td> |
Felix Meschberger | 1e671e1 | 2010-03-13 15:09:51 +0000 | [diff] [blame] | 65 | <td> </td> |
Carsten Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 66 | <td> |
| 67 | <ul class="icons"> |
| 68 | <li class="dynhover" title="${config.edit.tip}"><span class="ui-icon ui-icon-pencil"> </span></li> |
| 69 | <li class="ui-state-disabled dynhover" title="${config.unbind.tip}"><span class="ui-icon ui-icon-transferthick-e-w"> </span></li> |
| 70 | <li class="dynhover" title="${delete}"><span class="ui-icon ui-icon-trash"> </span></li> |
| 71 | </ul> |
| 72 | </td> |
| 73 | </tr> |
Felix Meschberger | 67726fe | 2010-03-17 06:55:00 +0000 | [diff] [blame] | 74 | <tr class="fpid"> |
Valentin Valchev | 7c4a80f | 2014-12-03 12:51:09 +0000 | [diff] [blame] | 75 | <td> </td> |
Carsten Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 76 | <td class="pointer"> </td> |
Felix Meschberger | 67726fe | 2010-03-17 06:55:00 +0000 | [diff] [blame] | 77 | <td>-</td> |
Carsten Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 78 | <td> |
| 79 | <ul class="icons"> |
| 80 | <li class="dynhover" title="${config.create.tip}"><span class="ui-icon ui-icon-plusthick"> </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 Valchev | de16088 | 2010-03-22 09:30:38 +0000 | [diff] [blame] | 91 | <p class="ui-state-error ui-helper-hidden"> </p> |
Carsten Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 92 | <table id="editorTable" class="nicetable"> |
| 93 | <tr><td> </td></tr> |
Felix Meschberger | b812b2e | 2010-02-18 15:36:53 +0000 | [diff] [blame] | 94 | </table> |
| 95 | </div> |