Valentin Valchev | d350cc7 | 2010-03-22 06:52:06 +0000 | [diff] [blame] | 1 | <script type="text/javascript" src="${pluginRoot}/res/jquery-treeview-1.4/jquery.treeview.pack.js"></script>
|
| 2 | <script type="text/javascript" src="${pluginRoot}/res/upnp.js"></script>
|
| 3 | <script type="text/javascript">
|
| 4 | // <![CDATA[
|
| 5 | // i18n
|
| 6 | var i18n = {
|
| 7 | dl_title_ok : '${dialog.title.ok}',
|
| 8 | args_name : '${args.name}',
|
| 9 | args_type : '${args.type}',
|
| 10 | args_value : '${args.value}',
|
| 11 | no_actions : '${no.actions}',
|
Valentin Valchev | 1c7be6f | 2012-04-04 11:52:14 +0000 | [diff] [blame] | 12 | no_params_out: '${no.params.out}',
|
| 13 | status_devs : '${status.devs}',
|
| 14 | status_none : '${status.none}'
|
Valentin Valchev | d350cc7 | 2010-03-22 06:52:06 +0000 | [diff] [blame] | 15 | }
|
| 16 | // ]]>
|
| 17 | </script>
|
| 18 |
|
| 19 | <p class="statline">${status.ok}</p>
|
| 20 |
|
| 21 | <form method="post" enctype="multipart/form-data" action="" onsubmit="return false">
|
| 22 | <div class="ui-widget-header ui-corner-top buttonGroup">
|
| 23 | <button id="reloadDevices">${btn.search}</button>
|
| 24 | <button id="reloadVars" class="ui-state-disabled">${btn.reloadVars}</button>
|
| 25 | </div>
|
| 26 | </form>
|
| 27 |
|
| 28 | <table id="plugin_table" style="width: 100%">
|
| 29 | <tr>
|
| 30 | <td id="treeCont" class="ui-widget-content ui-corner-bottom">
|
| 31 | <div id="searching"> <!-- search for devices -->
|
| 32 | ${tree.searching}
|
| 33 | <img src="${pluginRoot}/res/loading.gif" alt="${tree.loading.title}" />
|
| 34 | </div>
|
| 35 | <div id="treeBox"> <!-- here comes the tree -->
|
| 36 | <ul id="browser">
|
| 37 | <li>dummy</li>
|
| 38 | </ul>
|
| 39 | </div>
|
| 40 | </td>
|
| 41 | <td id="detailsBox">
|
| 42 | <!-- opened when device is selected -->
|
| 43 | <div id="deviceData" class="ui-helper-hidden">
|
| 44 | <h3>${device.title}</h3>
|
| 45 | <table id="deviceTable" class="nicetable">
|
| 46 | <thead>
|
| 47 | <tr>
|
| 48 | <th>${prop.name}</th>
|
| 49 | <th>${prop.value}</th>
|
| 50 | </tr>
|
| 51 | </thead>
|
| 52 | <tbody>
|
| 53 | <tr><td colspan="2"> </td></tr> <!-- dynamic contents -->
|
| 54 | </tbody>
|
| 55 | </table>
|
| 56 | </div>
|
| 57 | <div id="serviceData" class="ui-helper-hidden">
|
| 58 | <h3>${service.title}</h3>
|
| 59 | <table class="nicetable">
|
| 60 | <thead>
|
| 61 | <tr>
|
| 62 | <th>${prop.name}</th>
|
| 63 | <th>${prop.value}</th>
|
| 64 | </tr>
|
| 65 | </thead>
|
| 66 | <tbody>
|
| 67 | <tr>
|
| 68 | <td class="ui-priority-primary">${service.id}</td>
|
| 69 | <td id="serviceDataInfoID"> </td><!-- dynamic contents -->
|
| 70 | </tr>
|
| 71 | <tr>
|
| 72 | <td class="ui-priority-primary">${service.type}</td>
|
| 73 | <td id="serviceDataInfoType"> </td><!-- dynamic contents -->
|
| 74 | </tr>
|
| 75 | </tbody>
|
| 76 | </table>
|
| 77 |
|
| 78 | <h3>${vars.title}</h3>
|
| 79 | <table id="serviceDataVars" class="tablesorter nicetable">
|
| 80 | <thead>
|
| 81 | <tr>
|
| 82 | <th class="col_Name">${vars.name}</th>
|
| 83 | <th class="col_Value">${vars.value}</th>
|
| 84 | <th class="col_SendEvents">${vars.events}</th>
|
| 85 | </tr>
|
| 86 | </thead>
|
| 87 | <tbody><!-- dynamic contents -->
|
| 88 | <tr><td> </td><td> </td><td> </td></tr>
|
| 89 | </tbody>
|
| 90 | </table>
|
| 91 |
|
| 92 | <div id="actionsContainer">
|
| 93 | <h3>${actions.title}</h3>
|
| 94 | <div class="ui-widget-header ui-corner-top buttonGroup">
|
| 95 | ${actions.select}
|
| 96 | <select name="c">
|
| 97 | <option value="---">---</option>
|
| 98 | </select>
|
| 99 | <button title="${actions.invoke.title}"><span class="ui-icon ui-icon-play"> </span></button>
|
| 100 | </div>
|
| 101 | <table class="nicetable">
|
| 102 | <thead>
|
| 103 | <tr>
|
| 104 | <th>${args.name}</th>
|
| 105 | <th>${args.type}</th>
|
| 106 | <th>${args.value}</th>
|
| 107 | </tr>
|
| 108 | </thead>
|
| 109 | <tbody>
|
| 110 | <tr><!-- template -->
|
| 111 | <td> </td>
|
| 112 | <td> </td>
|
| 113 | <td><input value="" /></td>
|
| 114 | </tr>
|
| 115 | </tbody>
|
| 116 | </table>
|
| 117 | </div>
|
| 118 | </div> <!-- serviceData -->
|
| 119 |
|
| 120 | </td>
|
| 121 | </tr>
|
| 122 | </table>
|
| 123 |
|