Carsten Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 1 | <script type="text/javascript" src="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}'; |
| 7 | var 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 Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 13 | abort : '${abort}', |
Felix Meschberger | b812b2e | 2010-02-18 15:36:53 +0000 | [diff] [blame] | 14 | 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: "; |
Valentin Valchev | de16088 | 2010-03-22 09:30:38 +0000 | [diff] [blame] | 26 | unbind_ask : '${config.unbind.ask}', // "Are you sure to unbind this configuration ?" |
| 27 | 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 | b812b2e | 2010-02-18 15:36:53 +0000 | [diff] [blame] | 28 | } |
| 29 | // ]]> |
| 30 | </script> |
| 31 | |
| 32 | <!-- status line --> |
| 33 | <p class="statline"> </p> |
| 34 | |
Carsten Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 35 | |
| 36 | <div id="configContent" > |
| 37 | <div id="fPidsSelect" class="ui-widget-header ui-corner-top buttonGroup"> |
| 38 | ${config.configurations.title} |
| 39 | </div> |
Felix Meschberger | 67726fe | 2010-03-17 06:55:00 +0000 | [diff] [blame] | 40 | <table id="configTable" class="tablesorter nicetable noauto"> |
Carsten Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 41 | <thead> |
| 42 | <tr> |
Felix Meschberger | 67726fe | 2010-03-17 06:55:00 +0000 | [diff] [blame] | 43 | <th class="col_Name">${config.title.name}</th> |
| 44 | <th class="col_Binding">${config.title.bundle}</th> |
| 45 | <th class="col_Actions">${config.title.actions}</th> |
Carsten Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 46 | </tr> |
| 47 | </thead> |
| 48 | <tbody> |
| 49 | <tr> |
Felix Meschberger | 67726fe | 2010-03-17 06:55:00 +0000 | [diff] [blame] | 50 | <td class="pointer"><span class="ui-icon ui-icon-triangle-1-e subpid"> </span></td> |
Felix Meschberger | 1e671e1 | 2010-03-13 15:09:51 +0000 | [diff] [blame] | 51 | <td> </td> |
Carsten Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 52 | <td> |
| 53 | <ul class="icons"> |
| 54 | <li class="dynhover" title="${config.edit.tip}"><span class="ui-icon ui-icon-pencil"> </span></li> |
| 55 | <li class="ui-state-disabled dynhover" title="${config.unbind.tip}"><span class="ui-icon ui-icon-transferthick-e-w"> </span></li> |
| 56 | <li class="dynhover" title="${delete}"><span class="ui-icon ui-icon-trash"> </span></li> |
| 57 | </ul> |
| 58 | </td> |
| 59 | </tr> |
Felix Meschberger | 67726fe | 2010-03-17 06:55:00 +0000 | [diff] [blame] | 60 | <tr class="fpid"> |
Carsten Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 61 | <td class="pointer"> </td> |
Felix Meschberger | 67726fe | 2010-03-17 06:55:00 +0000 | [diff] [blame] | 62 | <td>-</td> |
Carsten Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 63 | <td> |
| 64 | <ul class="icons"> |
| 65 | <li class="dynhover" title="${config.create.tip}"><span class="ui-icon ui-icon-plusthick"> </span></li> |
| 66 | </ul> |
| 67 | </td> |
| 68 | </tr> |
| 69 | </tbody> |
| 70 | </table> |
| 71 | |
| 72 | </div> |
| 73 | |
| 74 | <!-- placeholder for property editor --> |
| 75 | <div id="editor" class="ui-helper-hidden"> |
Valentin Valchev | de16088 | 2010-03-22 09:30:38 +0000 | [diff] [blame] | 76 | <p class="ui-state-error ui-helper-hidden"> </p> |
Carsten Ziegeler | 149faaa | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 77 | <table id="editorTable" class="nicetable"> |
| 78 | <tr><td> </td></tr> |
Felix Meschberger | b812b2e | 2010-02-18 15:36:53 +0000 | [diff] [blame] | 79 | </table> |
| 80 | </div> |