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