Carsten Ziegeler | 4e070fe | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 1 | <script type="text/javascript" src="res/ui/config.js"></script> |
Felix Meschberger | 62e1a4f | 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 | 4e070fe | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 13 | abort : '${abort}', |
Felix Meschberger | 62e1a4f | 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: "; |
Carsten Ziegeler | 4e070fe | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 26 | unbind_ask : '${config.unbind.ask}' // "Are you sure to unbind this configuration ?" |
Felix Meschberger | 62e1a4f | 2010-02-18 15:36:53 +0000 | [diff] [blame] | 27 | } |
| 28 | // ]]> |
| 29 | </script> |
| 30 | |
| 31 | <!-- status line --> |
| 32 | <p class="statline"> </p> |
| 33 | |
Carsten Ziegeler | 4e070fe | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 34 | |
| 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 Ziegeler | 4e070fe | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 42 | <th class="col_Name">Name</th> |
Felix Meschberger | 1206e2c | 2010-03-13 15:09:51 +0000 | [diff] [blame^] | 43 | <th class="col_FPID">Factory PID</th> |
Carsten Ziegeler | 4e070fe | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 44 | <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 Ziegeler | 4e070fe | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 50 | <td class="pointer"> </td> |
| 51 | <td> </td> |
Felix Meschberger | 1206e2c | 2010-03-13 15:09:51 +0000 | [diff] [blame^] | 52 | <td> </td> |
Carsten Ziegeler | 4e070fe | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 53 | <td> |
| 54 | <ul class="icons"> |
| 55 | <li class="dynhover" title="${config.edit.tip}"><span class="ui-icon ui-icon-pencil"> </span></li> |
| 56 | <li class="ui-state-disabled dynhover" title="${config.unbind.tip}"><span class="ui-icon ui-icon-transferthick-e-w"> </span></li> |
| 57 | <li class="dynhover" title="${delete}"><span class="ui-icon ui-icon-trash"> </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 Ziegeler | 4e070fe | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 70 | <th class="col_Name">Name</th> |
Felix Meschberger | 1206e2c | 2010-03-13 15:09:51 +0000 | [diff] [blame^] | 71 | <th class="col_FPID">Factory PID</th> |
Carsten Ziegeler | 4e070fe | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 72 | <th class="col_Actions" style="width: 7em">Actions</th> |
| 73 | </tr> |
| 74 | </thead> |
| 75 | <tbody> |
| 76 | <tr> |
Carsten Ziegeler | 4e070fe | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 77 | <td class="pointer"> </td> |
Felix Meschberger | 1206e2c | 2010-03-13 15:09:51 +0000 | [diff] [blame^] | 78 | <td> </td> |
Carsten Ziegeler | 4e070fe | 2010-03-10 16:41:53 +0000 | [diff] [blame] | 79 | <td> |
| 80 | <ul class="icons"> |
| 81 | <li class="dynhover" title="${config.create.tip}"><span class="ui-icon ui-icon-plusthick"> </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> </td></tr> |
Felix Meschberger | 62e1a4f | 2010-02-18 15:36:53 +0000 | [diff] [blame] | 94 | </table> |
| 95 | </div> |